How it works · 1 of 49 Core
How does a software architecture change as an online shop grows?
Shapes follow problems
One shop, redrawn as it grows: Architecture is the shape of a system's parts and the lines between them; a growing business moves through a few well-known shapes, and each move should be forced by a problem the old shape can no longer absorb, not by size or fashion.
Loading the animation…
Say it like this A system's shape should change only when a specific problem forces it: walls inside one app for colliding teams, separate services for isolated failures or uneven load. Traffic alone is rarely the reason.
Under the hood — for builders
- Worked example: how busy is busy?
- Stack Overflow's own numbers for one day, divided out here. Traffic in the hundreds of requests a second per server is ordinary work for one well-built application:
- Growth the same shape absorbed
- Craver's post compares the day with November 2013: 61 million more requests a day, still served by one main application.
- Five shapes, what each buys and costs
- The names you will meet in design reviews, in the order a growing system usually meets them. Each later module teaches one row:
- Pain → shape
- Teams colliding in one codebase: walls first (B3), not a network. One fault taking everything down: isolate it, as a service (C) or a cell (E5). One part needing far more capacity: run more copies, of that part or of the whole app (D&C A6). Data too big: split the data (D&C B6), not the code.
- So what: name the pain in the proposal
- A split proposal should state which pain it removes and how you will know: fewer cross-team reviews, fewer all-site incidents, lower cost for the hot path.
- Measure it
- Share of changes needing another team's review · deploys waiting on another team · incidents where one fault broke unrelated features · cost per request by part.
- Watch out
- Splitting for traffic alone: add copies first. Splitting before the boundaries are clear: services that must deploy together (C6), with network costs and none of the freedom.
- Sources
- Nick Craver, "Stack Overflow: The Architecture – 2016 Edition", nickcraver.com and the Stack Overflow blog (17 Feb 2016): 209,420,973 HTTP requests to the load balancer on 9 Feb 2016; 11 IIS web servers; 4 SQL Servers (read 18 Nov 2026).
What happens in the an architecture that grows with an online shop animation, step by step?
- Day one: one program and one database. A change is one edit and one deploy.
- Busy is not a reason to split. On 9 February 2016, Stack Overflow served 209 million requests from one main application on 11 web servers.
- Your turn: what hurts now? Pick the pain, and the building changes to answer it.
- Each pain has its own answer. Colliding teams get walls inside one building; failures and uneven load get separate shops.
- Now one bug lands on each. Walls stop teams colliding, not failures spreading: the whole building goes dark. In the street, one shop goes dark and the rest keep trading.
- Each shape bought something and paid for it. The street also put a network between every pair of shops. What exactly is traded? Next.
What everyday example explains an architecture that grows with an online shop?
A town's roads. A lane, then a high street with zones, then a bypass so through-traffic stops jamming the shops, then a metro. Each was right in its year: a metro for a village bankrupts it, a lane for a city jams it, and every new road is dug because a specific jam appeared, not because the town got older.
Why should a team care about an architecture that grows with an online shop?
You will be asked "should we move to microservices?". Answer with the pain first (team collisions, one failure taking everything down, one part needing different scale) and pick the cheapest shape that removes it. Traffic alone is rarely the reason.