Interview Q&A · questions with model answers
Performance & Scalability Interview Questions
Part of the study plan for: Site Reliability Engineer (SRE) · Backend Engineer · Frontend Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked Why are timeouts, retries and circuit breakers essential for performance and reliability?
Without timeouts, slow dependencies tie up threads and connections until the whole service stalls (cascading failure). Retries recover from transient errors but can amplify load; circuit breakers…
-
Why should application servers be stateless, and where does state go?
Stateless servers keep no user-specific data between requests, so any instance can serve any request, enabling horizontal scaling, rolling deploys and autoscaling. State moves to shared stores:…
-
Why does tail latency matter more as systems fan out?
When a request depends on many parallel calls, its latency is the slowest of them, so rare slow responses (p99) in any backend become common at the aggregate level. With 100 parallel calls, a 1%…