How it works
Average requests per second, often written QPS for queries per second, is daily requests divided by 86,400 seconds. Ten million reads per day average about 116 reads per second. Rounding a day to 100,000 seconds gives a quick mental answer of about 100, close enough for a first pass. Keep reads and writes separate because they stress different parts of a system.
Real people are not evenly distributed across the day. The peak-to-average ratio says how much higher the busiest period runs. An assumed fivefold peak gives roughly 580 reads per second. You can cross-check with a different guess: if 20% of daily reads land in the busiest hour, that is 2,000,000 ÷ 3,600 ≈ 556 per second, which roughly agrees. Some products break this model. If a ticket sale draws one million requests in its first minute, the rate is about 16,700 per second, even when the daily average looks small.
A peak multiplier is an assumption until traffic measurements replace it. Size against the burst the product must actually survive, then leave room for a failed instance, growth, or imperfect load balancing. The cost is idle capacity: servers sized for an evening peak sit mostly unused at 4 a.m. Autoscaling groups, such as those on AWS, reduce that waste for peaks that build over many minutes, but new instances can take minutes to start, so they will not save you from a spike that arrives in seconds.
A school portal gets 6 million requests a day, and 60% of them arrive between 8 and 9 a.m. What rate should the first capacity discussion use?
The daily average is 6,000,000 ÷ 86,400 ≈ 69 requests per second, but that hour carries 3,600,000 ÷ 3,600 = 1,000 per second, about 14 times the average. Size for at least 1,000 plus headroom. A generic fivefold multiplier would land far too low here.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Daily total ÷ 86,400 = average requests per second.
- Peak demand and failure headroom matter more than the average alone.