System design
Designing a system is like drawing the plan of a house before laying the first brick. The plan says how many rooms there are, where the pipes run and how the parts connect. In software, the design says which pieces exist (servers, databases), how they talk to each other and where each piece of data lives. A mistake on the plan is fixed by erasing a line; the same mistake in a finished house means breaking walls.
Design decisions are made early, when the system is small. It's like choosing where the foundations go: with an empty lot you move them in a day, with 4 floors on top it's almost impossible. Switching databases with 1,000 rows is copying a file; with 1 billion rows it can take months, and you can't shut the system down meanwhile. That's why it pays to think from a high level before starting.
A system isn't designed only once: it grows, and the design grows with it. It's like a city: with 5,000 people a main street is enough, with 1 million you need avenues and a subway. Having the design written down helps you reason about each change: 'if we go from 1 to 3 servers, where do we keep sessions?'. Without a clear design, every change breaks something nobody knew depended on something else.
