Requests per second (req/s)
How many requests arrive each second. 1 million requests a day is only about 12 per second on average.
See it in action
These lessons put requests per second (req/s) to work. Read one, then play it and watch what happens without it.
- Say no to a flood: Tickets go on sale: 9,000 req/s hit your 2 app servers, and the budget can't buy a third. You can't answer everyone,…
- Five million people online: Your chat app has 5 million people online at the peak. They make 5,000 requests a second, and 1,500 of those are new…
- Do the maths first: 10 million people use your app each day and make 20 requests each. Work out the traffic before you build. A day has…
- When retries make it worse: 9,000 req/s on five servers. One server crashes, and the four left are a little short. That should cost you about one…
- Serve some, not none: A flood: 16,000 req/s arrive, and six servers can answer 12,000. There's no time to add machines. Right now every…
- How a request travels: You launch shop.example to 5,000 req/s. Nobody can find it by name yet, and half of every page is images and scripts…