Skip to content

Commit

Permalink
Alt text project waiting room (cloudflare#3976)
Browse files Browse the repository at this point in the history
* Waiting Room alt text review

* Waiting room alt text revision.
  • Loading branch information
angelampcosta authored Mar 31, 2022
1 parent 87fe521 commit 1f4e44e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/waiting-room/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Once you have [created and activated a waiting room](/waiting-room/get-started/)
- When a user exits the waiting room and reaches your application, they can leave and re-enter without waiting for the length of time specified by the [session duration](/waiting-room/reference/configuration-settings/#session-duration/).
- Because waiting rooms support dynamic inflow and [outflow](/waiting-room/reference/configuration-settings/#session-duration/), new spots appear more quickly and estimated wait times are lower and more accurate.

![Waiting room process flow](/waiting-room/static/waiting-room-process-flow.png)
![Waiting room process flow showing how a request is managed by Cloudflare and placed in a waiting room before reaching the origin website](/waiting-room/static/waiting-room-process-flow.png)

## Availability

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Once the script finishes running, it creates a CSV file with the following field

To visualize your results, open your CSV file within a spreadsheet application. For example, here is a basic chart that shows the amount of time a user waited verses the time they first tried to get to the web service:

![Visualize waiting room test data by using a graphing tool](/waiting-room/static/test-waiting-room.png)
![Visualizing waiting room test data by using a graphing tool](/waiting-room/static/test-waiting-room.png)

In this example, you can clearly see when the script entered the second phase — with a reduced rate of new users per second — leading to decreased wait times.

Expand Down
4 changes: 2 additions & 2 deletions content/waiting-room/reference/queueing-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Regardless of the queueing method, if `queueAll` is enabled or an event is prequ

Your waiting room orders visitors according to when they entered the waiting room.

![FIFO diagram](/waiting-room/static/fifo-queueing-method.png)
![First In First Out flow showing visitors entering the origin by order of arrival to the waiting room](/waiting-room/static/fifo-queueing-method.png)

Technically, each user receives a [cookie](/waiting-room/reference/waiting-room-cookie/) that contains a timestamp of when their request first hit an actively queueing waiting room. Cloudflare uses that timestamp to order visitors and provide the estimated wait time.

Expand All @@ -29,7 +29,7 @@ Use this method when you want to reward visitors who get in the queue first and

When your application has open spots, your waiting room chooses visitors at random to exit the waiting room and enter your application.

![Random queueing method diagram](/waiting-room/static/random-queueing-method.png)
![Random queueing flow showing visitors randomly exiting the waiting room and entering an origin](/waiting-room/static/random-queueing-method.png)

Use this method when you want to distribute products or services more equitably. Earlier users have a better chance of exiting the waiting room before the estimated wait time because they have more chances to be selected.

Expand Down

0 comments on commit 1f4e44e

Please sign in to comment.