*[English](README.md) ∙ [日本語](README-ja.md) ∙ [简体中文](README-zh-Hans.md) ∙ [繁體中文](README-zh-TW.md) | [العَرَبِيَّة](https://github.com/donnemartin/system-design-primer/issues/170) ∙ [বাংলা](https://github.com/donnemartin/system-design-primer/issues/220) ∙ [Português do Brasil](https://github.com/donnemartin/system-design-primer/issues/40) ∙ [Deutsch](https://github.com/donnemartin/system-design-primer/issues/186) ∙ [ελληνικά](https://github.com/donnemartin/system-design-primer/issues/130) ∙ [עברית](https://github.com/donnemartin/system-design-primer/issues/272) ∙ [Italiano](https://github.com/donnemartin/system-design-primer/issues/104) ∙ [한국어](https://github.com/donnemartin/system-design-primer/issues/102) ∙ [فارسی](https://github.com/donnemartin/system-design-primer/issues/110) ∙ [Polski](https://github.com/donnemartin/system-design-primer/issues/68) ∙ [русский язык](https://github.com/donnemartin/system-design-primer/issues/87) ∙ [Español](https://github.com/donnemartin/system-design-primer/issues/136) ∙ [ภาษาไทย](https://github.com/donnemartin/system-design-primer/issues/187) ∙ [Türkçe](https://github.com/donnemartin/system-design-primer/issues/39) ∙ [tiếng Việt](https://github.com/donnemartin/system-design-primer/issues/127) ∙ [Français](https://github.com/donnemartin/system-design-primer/issues/250) | [Add Translation](https://github.com/donnemartin/system-design-primer/issues/28)*
**Help [translate](TRANSLATIONS.md) this guide!**
# The System Design Primer
<p align="center">
<img src="images/jj3A5N8.png">
<br/>
</p>
## Motivation
> Learn how to design large-scale systems.
>
> Prep for the system design interview.
### Learn how to design large-scale systems
Learning how to design scalable systems will help you become a better engineer.
System design is a broad topic. There is a **vast amount of resources scattered throughout the web** on system design principles.
This repo is an **organized collection** of resources to help you learn how to build systems at scale.
### Learn from the open source community
This is a continually updated, open source project.
[Contributions](#contributing) are welcome!
### Prep for the system design interview
In addition to coding interviews, system design is a **required component** of the **technical interview process** at many tech companies.
**Practice common system design interview questions** and **compare** your results with **sample solutions**: discussions, code, and diagrams.
Additional topics for interview prep:
* [Study guide](#study-guide)
* [How to approach a system design interview question](#how-to-approach-a-system-design-interview-question)
* [System design interview questions, **with solutions**](#system-design-interview-questions-with-solutions)
* [Object-oriented design interview questions, **with solutions**](#object-oriented-design-interview-questions-with-solutions)
* [Additional system design interview questions](#additional-system-design-interview-questions)
## Anki flashcards
<p align="center">
<img src="images/zdCAkB3.png">
<br/>
</p>
The provided [Anki flashcard decks](https://apps.ankiweb.net/) use spaced repetition to help you retain key system design concepts.
* [System design deck](https://github.com/donnemartin/system-design-primer/tree/master/resources/flash_cards/System%20Design.apkg)
* [System design exercises deck](https://github.com/donnemartin/system-design-primer/tree/master/resources/flash_cards/System%20Design%20Exercises.apkg)
* [Object oriented design exercises deck](https://github.com/donnemartin/system-design-primer/tree/master/resources/flash_cards/OO%20Design.apkg)
Great for use while on-the-go.
### Coding Resource: Interactive Coding Challenges
Looking for resources to help you prep for the [**Coding Interview**](https://github.com/donnemartin/interactive-coding-challenges)?
<p align="center">
<img src="images/b4YtAEN.png">
<br/>
</p>
Check out the sister repo [**Interactive Coding Challenges**](https://github.com/donnemartin/interactive-coding-challenges), which contains an additional Anki deck:
* [Coding deck](https://github.com/donnemartin/interactive-coding-challenges/tree/master/anki_cards/Coding.apkg)
## Contributing
> Learn from the community.
Feel free to submit pull requests to help:
* Fix errors
* Improve sections
* Add new sections
* [Translate](https://github.com/donnemartin/system-design-primer/issues/28)
Content that needs some polishing is placed [under development](#under-development).
Review the [Contributing Guidelines](CONTRIBUTING.md).
## Index of system design topics
> Summaries of various system design topics, including pros and cons. **Everything is a trade-off**.
>
> Each section contains links to more in-depth resources.
<p align="center">
<img src="images/jrUBAF7.png">
<br/>
</p>
* [System design topics: start here](#system-design-topics-start-here)
* [Step 1: Review the scalability video lecture](#step-1-review-the-scalability-video-lecture)
* [Step 2: Review the scalability article](#step-2-review-the-scalability-article)
* [Next steps](#next-steps)
* [Performance vs scalability](#performance-vs-scalability)
* [Latency vs throughput](#latency-vs-throughput)
* [Availability vs consistency](#availability-vs-consistency)
* [CAP theorem](#cap-theorem)
* [CP - consistency and partition tolerance](#cp---consistency-and-partition-tolerance)
* [AP - availability and partition tolerance](#ap---availability-and-partition-tolerance)
* [Consistency patterns](#consistency-patterns)
* [Weak consistency](#weak-consistency)
* [Eventual consistency](#eventual-consistency)
* [Strong consistency](#strong-consistency)
* [Availability patterns](#availability-patterns)
* [Fail-over](#fail-over)
* [Replication](#replication)
* [Availability in numbers](#availability-in-numbers)
* [Domain name system](#domain-name-system)
* [Content delivery network](#content-delivery-network)
* [Push CDNs](#push-cdns)
* [Pull CDNs](#pull-cdns)
* [Load balancer](#load-balancer)
* [Active-passive](#active-passive)
* [Active-active](#active-active)
* [Layer 4 load balancing](#layer-4-load-balancing)
* [Layer 7 load balancing](#layer-7-load-balancing)
* [Horizontal scaling](#horizontal-scaling)
* [Reverse proxy (web server)](#reverse-proxy-web-server)
* [Load balancer vs reverse proxy](#load-balancer-vs-reverse-proxy)
* [Application layer](#application-layer)
* [Microservices](#microservices)
* [Service discovery](#service-discovery)
* [Database](#database)
* [Relational database management system (RDBMS)](#relational-database-management-system-rdbms)
* [Master-slave replication](#master-slave-replication)
* [Master-master replication](#master-master-replication)
* [Federation](#federation)
* [Sharding](#sharding)
* [Denormalization](#denormalization)
* [SQL tuning](#sql-tuning)
* [NoSQL](#nosql)
* [Key-value store](#key-value-store)
* [Document store](#document-store)
* [Wide column store](#wide-column-store)
* [Graph Database](#graph-database)
* [SQL or NoSQL](#sql-or-nosql)
* [Cache](#cache)
* [Client caching](#client-caching)
* [CDN caching](#cdn-caching)
* [Web server caching](#web-server-caching)
* [Database caching](#database-caching)
* [Application caching](#application-caching)
* [Caching at the database query level](#caching-at-the-database-query-level)
* [Caching at the object level](#caching-at-the-object-level)
* [When to update the cache](#when-to-update-the-cache)
* [Cache-aside](#cache-aside)
* [Write-through](#write-through)
* [Write-behind (write-back)](#write-behind-write-back)
* [Refresh-ahead](#refresh-ahead)
* [Asynchron
没有合适的资源?快使用搜索试试~ 我知道了~
system-design-primer-master.zip
共139个文件
png:54个
py:26个
md:23个
需积分: 9 0 下载量 27 浏览量
2022-10-06
16:22:09
上传
评论
收藏 11.96MB ZIP 举报
温馨提示
system-design-primer-master.zip
资源详情
资源评论
资源推荐
收起资源包目录
system-design-primer-master.zip (139个子文件)
System Design Exercises.apkg 63KB
System Design.apkg 45KB
OO Design.apkg 18KB
.gitattributes 33B
.gitignore 800B
scaling_aws.graffle 15KB
twitter.graffle 6KB
mint.graffle 6KB
web_crawler.graffle 5KB
pastebin.graffle 5KB
sales_rank.graffle 5KB
template.graffle 5KB
study_guide.graffle 4KB
social_graph.graffle 4KB
twitter_basic.graffle 4KB
query_cache.graffle 4KB
web_crawler_basic.graffle 4KB
mint_basic.graffle 3KB
sales_rank_basic.graffle 3KB
pastebin_basic.graffle 3KB
query_cache_basic.graffle 3KB
social_graph_basic.graffle 3KB
call_center.ipynb 6KB
parking_lot.ipynb 6KB
deck_of_cards.ipynb 5KB
online_chat.ipynb 5KB
lru_cache.ipynb 4KB
hash_map.ipynb 3KB
5KeocQs.jpg 168KB
IOyLj4i.jpg 66KB
h9TAuGI.jpg 62KB
JdAsdvG.jpg 21KB
yzDrJtA.jpg 20KB
README-ja.md 134KB
README-zh-TW.md 123KB
README.md 107KB
README-zh-Hans.md 99KB
README.md 20KB
README-zh-Hans.md 20KB
README.md 19KB
README-zh-Hans.md 18KB
README-zh-Hans.md 18KB
README-zh-Hans.md 17KB
README.md 17KB
README.md 16KB
README-zh-Hans.md 16KB
README.md 16KB
README-zh-Hans.md 15KB
README.md 15KB
README-zh-Hans.md 15KB
README.md 15KB
README-zh-Hans.md 14KB
README.md 14KB
TRANSLATIONS.md 7KB
CONTRIBUTING.md 5KB
PULL_REQUEST_TEMPLATE.md 560B
Xkm5CXz.png 1.8MB
zdCAkB3.png 1.33MB
b4YtAEN.png 543KB
TcUo2fw.png 482KB
twitter.png 335KB
jrUBAF7.png 334KB
scaling_aws_7.png 316KB
jj3A5N8.png 315KB
mint.png 290KB
V5q57vU.png 290KB
scaling_aws.png 280KB
U3qV33e.png 249KB
C9ioGtn.png 243KB
sales_rank.png 213KB
MzExP06.png 212KB
pastebin.png 211KB
4edXG0T.png 210KB
web_crawler.png 194KB
bWxPtQA.png 193KB
scaling_aws_6.png 191KB
ONjORqk.png 189KB
twitter_basic.png 185KB
scaling_aws_5.png 180KB
krAHLGg.png 180KB
scaling_aws_4.png 173KB
study_guide.png 167KB
OfVllex.png 167KB
fNcl65g.png 160KB
yB5SYwm.png 147KB
wU8x5Id.png 145KB
rgSrvjG.png 139KB
social_graph.png 128KB
cdCv5g7.png 127KB
mint_basic.png 119KB
scaling_aws_3.png 117KB
kxtjqgE.png 111KB
query_cache.png 108KB
4j99mhe.png 108KB
web_crawler_basic.png 108KB
iF4Mkb5.png 105KB
0vBc0hN.png 100KB
54GYsSx.png 87KB
pastebin_basic.png 83KB
sales_rank_basic.png 78KB
共 139 条
- 1
- 2
blacktea??
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0