A reading copy of Donne Martin's guide
System Design Primer
How large systems are built, and how to talk about them in an interview. 40 pages in 7 parts, about 2 hours of reading. Read them in order, or jump to what you need.
Download PDFThe whole primer in English, 9 MB. It is the December 2022 edition, so it may differ a little from these pages.
Nothing read yet
119 sections across 40 pages
Contents
Start here
Building blocks
Trade-offs
System design questions
Object-oriented design
Appendix
The interview
How tracking works
Each page is split into sections. Tick the circle next to a section heading when you have read it, or press Mark this page as read at the bottom of a page. The circles in the side panel fill in as you go: empty for not started, half for started, a tick for done.
Under Aa you can also let the site tick a section for you once you have scrolled through it slowly enough to read it. It is off by default.
Ticks are shared between languages, so a section you read in one language counts in all of them. Your progress and your place on each page stay in this browser only. Nothing is sent anywhere. To move them to another browser or to the live site, export a file here and import it there.
/ search n next page p previous page m mark the section on screen