How it works
Scaling advice often comes from people running very large systems, so work out your own number before borrowing their architecture. Monthly active users (MAU, the people who use the product at least once a month) can sound large, but a server experiences requests per second.
Take an example B2B app with 20,000 MAU. Assume 30% appear on a given workday: 6,000 people. Assume each causes 40 requests, counting page loads and API calls: 240,000 requests a day. Business traffic bunches into working hours, so divide by 8 hours (28,800 seconds), not by 86,400: about 8.3 requests per second. Multiply by an assumed 3 for the busiest minutes and you get 25 requests per second. If 10% are writes, that is 2.5 writes per second. Replace each assumption with numbers from your logs as soon as you have them.
Rate is not the whole load. Concurrency, the number of requests in progress at once, is roughly rate times duration. At 25 requests per second, 50 ms requests mean about 1.25 in progress; 2-second requests mean 50.
The estimate can also argue against simplicity, because user count misses load that people do not generate directly. In another example, 1,000 sensors each reporting once a second send 1,000 writes per second, 400 times the write rate above, from a product with few users. Partner integrations that poll, bulk imports, and scheduled jobs that all start at midnight behave the same way. Count the sources of load, not the customers.
Your project-tracking SaaS has 8,000 MAU. Logs show 35% use it on a workday, at about 60 requests each. A teammate wants a load balancer and a second region “because we are growing”. What do you compute, and what do you tell them?
Compute 8,000 × 35% = 2,800 people, × 60 = 168,000 requests a day, ÷ 28,800 seconds ≈ 5.8 per second, or about 18 at an assumed peak of 3 times. That gives no throughput case for either proposal. It does not settle availability, though: if a machine failure or deploy downtime is a real problem, a second app server behind a load balancer may be worth it for that reason. Check request durations and non-human traffic too.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Divide business traffic by working hours, not the full day.
- Concurrency is about rate times duration, so slow requests hurt at low rates.
- User count misses machine-driven load such as sensors, polling, and imports.