Requirement
Something the system must do, no matter what, like a feature or a number of users it has to handle.
Example
'Send messages' and 'handle 1 million users at once' are two requirements of a chat app.
Test yourself: Requirement
What system design is
A good design starts by understanding the business requirements.
Designing for 100 users or for 100 million gives very different systems. Without knowing which one it is, any design is a gamble.
Requirements and estimates
What does a system design interview evaluate?
There's no 1 right answer: what matters is how you reason in those 45 minutes.
0/2
â–¶ PlayLessons that use it
What system design is
Think before you build
Space complexity
How much memory it asks for
Counting sort
Sorting by counting
SQL or NoSQL
Picking the right database
ACID and BASE
Two promises about data
Event sourcing
Keep the story, not just the ending
GraphQL and gRPC
Other ways to talk to an API
Requirements and estimates
Ask before you draw
The design steps
From data to bottlenecks
Designing a URL shortener
A long link in 7 characters
Designing WhatsApp
2 billion messages a day
Designing Twitter
1 billion tweets a day
Designing Netflix
1 billion videos watched a day
Designing Uber
10 million rides a day
