Skip to the guide

Evolving a design: from a thousand users to a hundred million

AdvancedPattern5 pages

A village has one road through its centre, and for years that's enough. When market days jam it, the town widens it, and when lorries crowd the square, a bypass takes them round. Once the roads can't widen any further, the city digs a metro. Planners build each step when the rush-hour count at a junction nears what the road carries, and nobody digs a metro for a village. The street plan and the house numbers are different, because every map and letter already uses them.

The travellers are requests, and the rush-hour count is a rate at peak against a component's limit. Widening is a bigger machine or more servers, the bypass is the CDN carrying bytes that never need your servers, and the metro is sharding. The street plan and house numbers are the choices every row and installed app depends on: IDs, data keys and the API. Staff rounds often ask what changes at ten times the traffic, and want steps tied to numbers (Mid-level, senior and staff answers). The move: draw what carries the next 10×, name the number that triggers each later step, and get the hard-to-change choices right now.