# donnemartin/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.

Source: https://github.com/donnemartin/system-design-primer
Indexed: commit ae9bbd7 on 2026-07-12 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: Python
- Stars: 379,729 at index time
- Code health: 9.5/10, Excellent
- Last commit: 2022-04-23

## How it 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.

- .github/PULL_REQUEST_TEMPLATE.md: central file
- CONTRIBUTING.md: central file
- README-ja.md: central file
- README-zh-Hans.md: central file
- README-zh-TW.md: central file
Modules: solutions, root, .github. 51 files, 10,094 lines, 209 symbols.

## Code health

- Score: 9.5/10 (Excellent)
- Rank: not ranked (leaderboards need 100+ files)
- Hotspots: none
- Lowest file: solutions/object_oriented_design/call_center/call_center.py
- Dead code: 36 findings

## Maintenance

- Last commit 2022-04-23
- bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/donnemartin/system-design-primer/security

## More

- Page: https://repowise.dev/repo/donnemartin/system-design-primer
- Ask this codebase: https://repowise.dev/repo/donnemartin/system-design-primer/chat
- Docs: https://repowise.dev/repo/donnemartin/system-design-primer/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/donnemartin/system-design-primer
