Scalability, reliability and maintainability: what each really means
These three words appear in almost every design discussion, and they're often used loosely, even though each one has a precise meaning and a way to measure it. If you can say what you'd measure, an interviewer hears that you've run real systems, not just read about them.
A bakery that's getting popular
A small bakery is doing so well that it sells out by 10 am. Orders come in at the counter, where the owner passes each one to whichever oven and baker are free. As the queue grows, she starts asking three different questions, one for each word:
- Can it bake more? With a second oven and another baker, it can make 400 loaves a morning instead of 200 without each loaf taking longer, and that's scalability.
- Does it keep going when something breaks? If an oven dies at 6 am, the other one still runs and the shop still opens: that's reliability.
- Can a new baker pick it up? Written-down recipes, a tidy kitchen and labelled shelves mean a new hire is useful in a day instead of a month, and that's maintainability.