6. Vertical vs Horizontal Scaling
Interview questions
Interview questions (with the counter-questions you'll get)
Q1. What's the difference between vertical and horizontal scaling?
They're testing: clear definitions and trade-offs.
Think about your answer first, then open it.
Q2. Why do stateless servers matter for scaling?
They're testing: the link between state and scaling out.
Think about your answer first, then open it.
Q3. How would you prepare for a traffic spike you know is coming, like a big sale?
They're testing: practical capacity planning.
Think about your answer first, then open it.
Q4. How does autoscaling work, and what can go wrong?
They're testing: depth beyond the buzzword.
Think about your answer first, then open it.
Q5. How do you scale a database?
They're testing: knowing the order of options.
Think about your answer first, then open it.
Q6. Why doesn't adding servers always make a system faster?
They're testing: bottleneck and Amdahl thinking.
Think about your answer first, then open it.
Q7. What's the difference between performance and scalability?
They're testing: vocabulary precision.
Think about your answer first, then open it.
Q8. How would you scale a service that has to be stateful, like WebSocket chat servers?
They're testing: handling real-world state.
Think about your answer first, then open it.
Q9. How would you keep scaling costs under control?
They're testing: business awareness.
Think about your answer first, then open it.
Q10. What's the first thing you'd scale if your site suddenly gets 10 times the traffic?
They're testing: structured thinking under pressure.
Think about your answer first, then open it.