An interactive study of queueing strategies
published on 2024/12/01
Queues are everywhere. We queue at bars, in restaurants, and at the bank. When you loaded this web page, the request to fetch it interacted with dozens of different queues on its way from your machine to the server this page is hosted on. Queues are fundamental.
In this post, we're going to explore queueing in the context of HTTP requests. We'll start simple and gradually introduce more complex queues. When you're finished with this post, you will know:
Why queues are useful.
- 3 different types of queue.
- How these 3 queues compare to each other.
- 1 extra queueing strategy you can apply to any type of queue to make sure you don't drop priority requests.