System design
Defining a system's architecture, interfaces and data so it meets what the business needs.
Example
Before building a chat for 1 million people, deciding there'll be 20 servers, how messages are sent and which database stores them.
Test yourself: System design
What system design is
What is system design?
Before writing 10,000 lines of code you decide which pieces exist, how they talk and where each piece of data lives. That's the design.
What system design is
Why should you think about the design from the start?
Switching databases with 1,000 rows takes minutes; with 1 billion rows it can take months.
What system design is
If an app goes from 1,000 to 1 million users, its design will probably have to change.
With 1 million users, every piece gets 1,000 times more requests. A server that was comfortable with 1,000 gets overloaded, and the design has to add pieces.
0/3
â–¶ Play