repowiserepowise

donnemartin / system-design-primer Architecture and code health

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

Python
View on GitHub★ 380k

github.com/donnemartin/system-design-primerIndexed

What is system-design-primer?

system-design-primer is a collection of resources for learning how to design large-scale systems and preparing for the system design interview. It gives short summaries of system design topics, with their pros and cons, and links to more in-depth material. The repository is written mainly in Python and also includes Anki flashcards. Its code health is 9.5 out of 10 (Excellent). The last commit to system-design-primer was on Apr 23, 2022.

As of commit ae9bbd7, indexed Jul 12, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentssystem-design-primer.md

Repo facts: type, license, health, rank, contributors
system-design-primer facts
Code health9.5 / 10 (Excellent)
Health rankNot ranked (leaderboards need 100+ files)
Last commitApr 23, 2022
Bus factor1
Size51 files, 10,094 lines

Get this map for your own codebase

Ask about this code in your agent. It connects Repowise to system-design-primer's code, with answers that cite its files. It does not install system-design-primer.

Ask about system-design-primer

Answers come from system-design-primer's README and source, with the files they cite. Two free answers a day without an account.

How healthy system-design-primer is

Full health report →
Code health
9.4/10
Excellent, Leaderboards need 100+ files
Hotspots
0
Files changed and fixed most
Dead code
36
Findings
Bus factor
1
One person holds most of the history

donnemartin/system-design-primer FAQ

What is system-design-primer?

system-design-primer is a collection of resources for learning how to design large-scale systems and preparing for the system design interview. It includes topic summaries with pros and cons, sample solutions and Anki flashcards.

How does system-design-primer work?

system-design-primer is organized as an index of system design topics in its README, with summaries and links to in-depth resources. Each interview question in its tables links to a sample solution with discussion, code and diagrams.

What language is system-design-primer written in?

system-design-primer is written mainly in Python, with 26 Python files and one shell file. Its sample solutions and other content are presented alongside Markdown documentation.

How is the system-design-primer code organized?

system-design-primer keeps its sample solutions in the solutions/ folder, which holds 42 files. Root-level files include the translated READMEs and CONTRIBUTING.md, and .github holds the pull request template.

Who is system-design-primer for?

system-design-primer is for engineers who want to learn how to design large-scale systems and prepare for the system design interview. It is organized to help readers practice common interview questions and compare their answers with sample solutions.

Key features of system-design-primer

  • Gives summaries of system design topics, including their pros and cons, with links to deeper resources.
  • Provides sample solutions to common system design interview questions, with discussions, code and diagrams.
  • Includes solutions to object-oriented design interview questions, such as designing a hash map or a parking lot.
  • Describes how to approach a system design interview question, step by step, from a high level design to scaling the design.
  • Includes Anki flashcards for review.

How donnemartin/system-design-primer works

The main content is the README, which holds an index of system design topics, each with a summary, its pros and cons, and links to deeper resources. Sample solutions to common interview questions are kept in the solutions/ folder, the largest module with 42 files. The README's interview question tables link to each solution, so a reader moves from a question to its discussion, code and diagrams. Translated copies such as README-ja.md, README-zh-Hans.md and README-zh-TW.md sit at the top level next to the other root files. Contributors follow CONTRIBUTING.md and submit changes with the template in .github/PULL_REQUEST_TEMPLATE.md.

The codebase has 51 files and 209 symbols in 2 modules, led by Python and Shell. Code health is 9.4 out of 10, rated excellent.

Repowise maps public repos from their source. Not affiliated with donnemartin. What is Repowise?