Interview Prep/Real-World Interview/Scaling and performance

Management asks: "How many users can our platform handle?" How do you answer properly?

AdvancedScenarioScaling and performance
Answer

Situation read → "Users" is not a capacity unit. Translate it into request rate and resource usage, then measure.

What I'd do →

  1. Convert users to load: concurrent users × requests per user per minute, from analytics and access logs.
  2. Find the per-request cost of each tier (CPU per request, DB queries per request) from production metrics.
  3. Load test to find the first bottleneck and its limit at the SLO.
  4. Report as: "at current architecture we can serve N RPS at p99 < 300ms; that's about X concurrent users at today's behaviour. The DB primary is the first limit; next step costs Y."
  5. Add a capacity dashboard tracking headroom per tier so this answer stays current.

Why → A number with assumptions and the first bottleneck is useful; a single number is not.

Interview tip → Always name the first bottleneck and what it costs to move it.

All Real-World Interview questions Roadmap: Interview readiness

More on Scaling and performance