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.

MediumTechnical
33 practiced
Given a product with 200k MAU growing 10% month-over-month, show how to project traffic over 12 months and calculate when capacity (in RPS) will double. Explain how seasonality (e.g., +50% peak in November) and a marketing campaign that doubles traffic for 2 weeks would alter your planning.
EasyTechnical
35 practiced
A client expects 1,000,000 monthly active users (MAU). Average session length is 5 minutes, with 10 page requests per session. 60% of traffic occurs in the peak hour. Average response payload is 200 KB. Assume a 30-day month and that each page view generates one request to your service.
Calculate:1) average requests per second (RPS)2) peak RPS during the busiest hour3) required outbound bandwidth (Mbps) during peak4) approximate daily log ingestion (GB) if each request logs 800 bytes (compressed 0.6x)
Show assumptions and steps.
HardSystem Design
60 practiced
Design a multi-region architecture for an application that must be available globally with 99.99% uptime and must keep personal data in the user's home region for compliance. Discuss active-active vs active-passive approaches, data replication patterns, routing, and consistency trade-offs. Include network and operational considerations.
MediumSystem Design
43 practiced
Design a scalable approach for a write-heavy leaderboard (millions of updates per minute) that must serve top-N queries with low latency. Discuss data model, caching, eventual vs strong consistency, sharding, and how to handle leaderboard recalculation and windowed leaderboards (daily/weekly).
EasyTechnical
34 practiced
Your single-node web service runs on a VM with 8 vCPUs and 32GB RAM. Monitoring shows CPU trending from 30%→60% over 6 months and disk usage 55% with weekly growth of 40GB. Latency p95 has increased from 80ms to 180ms. Describe the indicators you would use to decide whether to scale vertically (bigger VM) or horizontally (more instances). Include thresholds, risk factors, and non-technical constraints (licenses, operations).

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.