InterviewStack.io LogoInterviewStack.io

Scalability Fundamentals Questions

Core concepts and back of the envelope estimation techniques for junior to intermediate engineers. This includes converting business requirements into technical metrics such as requests per second, data volume, and bandwidth; understanding when a single machine is insufficient and when to move to distributed systems; basic vertical versus horizontal scaling trade offs; basic sharding, replication, and caching patterns; monitoring signals to track capacity such as CPU trends and disk usage growth; and considerations for backup and recovery times and maintenance windows. Emphasis is on foundational calculations and practical guidelines for when and how to scale.

MediumSystem Design
39 practiced
Design a maintenance and upgrade strategy for stateful services to achieve near-zero downtime. Include rolling upgrades, blue-green, canary releases, data migrations, backup windows, and how to coordinate schema changes that are backward-compatible across versions.
EasyTechnical
33 practiced
Your product manager expects 500,000 monthly active users (MAU). On average each user has 3 sessions/day and each session triggers 12 API calls. Average single-request latency is 200ms. Calculate: (a) average RPS, (b) peak RPS assuming 10% of daily requests occur in the busiest hour, and (c) approximate concurrent requests. Show assumptions and steps and mention any additional factors you might include in a production estimate.
MediumSystem Design
37 practiced
You need to design sharding for a user-owned-content service where some users (celebrities) are extremely hot and cause uneven load. Propose a sharding and mitigation strategy that minimizes cross-shard operations, handles hot keys, and supports rebalancing. Include approaches like sub-sharding, dedicated shards, consistent hashing, and caching.
HardSystem Design
38 practiced
Your microservices platform experiences cascading failures when a downstream service slows. Design resilience patterns (bulkheads, circuit breakers, timeouts, retries, fallback handlers) and describe how you'd instrument and test these protections to avoid whole-system outages. Give an example of how to partition services into bulkheads.
EasyTechnical
33 practiced
Explain vertical scaling (scale-up) versus horizontal scaling (scale-out). For each approach, list three advantages and three disadvantages. Then describe concrete signals or thresholds (CPU/memory/disk/latency) you would monitor to decide that vertical scaling is no longer sufficient and horizontal scaling is needed for a service.

Unlock Full Question Bank

Get access to hundreds of Scalability Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.