├── .gitattributes ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── resources └── flash_cards │ ├── OO Design.apkg │ ├── System Design Exercises.apkg │ └── System Design.apkg └── solutions ├── object_oriented_design ├── call_center │ ├── __init__.py │ ├── call_center.ipynb │ └── call_center.py ├── deck_of_cards │ ├── __init__.py │ ├── deck_of_cards.ipynb │ └── deck_of_cards.py ├── hash_table │ ├── __init__.py │ ├── hash_map.ipynb │ └── hash_map.py ├── lru_cache │ ├── __init__.py │ ├── lru_cache.ipynb │ └── lru_cache.py ├── online_chat │ ├── __init__.py │ ├── online_chat.ipynb │ └── online_chat.py └── parking_lot │ ├── __init__.py │ ├── parking_lot.ipynb │ └── parking_lot.py └── system_design ├── mint ├── README.md ├── __init__.py ├── mint.png ├── mint_basic.png ├── mint_mapreduce.py └── mint_snippets.py ├── pastebin ├── README.md ├── __init__.py ├── pastebin.png ├── pastebin.py └── pastebin_basic.png ├── query_cache ├── README.md ├── __init__.py ├── query_cache.png ├── query_cache_basic.png └── query_cache_snippets.py ├── sales_rank ├── README.md ├── __init__.py ├── sales_rank.png ├── sales_rank_basic.png └── sales_rank_mapreduce.py ├── scaling_aws ├── README.md ├── scaling_aws.png ├── scaling_aws_1.png ├── scaling_aws_2.png ├── scaling_aws_3.png ├── scaling_aws_4.png ├── scaling_aws_5.png ├── scaling_aws_6.png └── scaling_aws_7.png ├── social_graph ├── README.md ├── __init__.py ├── social_graph.png ├── social_graph_basic.png └── social_graph_snippets.py ├── twitter ├── README.md ├── twitter.png └── twitter_basic.png └── web_crawler ├── README.md ├── __init__.py ├── web_crawler.png ├── web_crawler_basic.png ├── web_crawler_mapreduce.py └── web_crawler_snippets.py /.gitattributes: -------------------------------------------------------------------------------- 1 | *.ipynb linguist-language=Python 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/README.md -------------------------------------------------------------------------------- /resources/flash_cards/OO Design.apkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/resources/flash_cards/OO Design.apkg -------------------------------------------------------------------------------- /resources/flash_cards/System Design Exercises.apkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/resources/flash_cards/System Design Exercises.apkg -------------------------------------------------------------------------------- /resources/flash_cards/System Design.apkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/resources/flash_cards/System Design.apkg -------------------------------------------------------------------------------- /solutions/object_oriented_design/call_center/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/object_oriented_design/call_center/call_center.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/call_center/call_center.ipynb -------------------------------------------------------------------------------- /solutions/object_oriented_design/call_center/call_center.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/call_center/call_center.py -------------------------------------------------------------------------------- /solutions/object_oriented_design/deck_of_cards/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/object_oriented_design/deck_of_cards/deck_of_cards.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/deck_of_cards/deck_of_cards.ipynb -------------------------------------------------------------------------------- /solutions/object_oriented_design/deck_of_cards/deck_of_cards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/deck_of_cards/deck_of_cards.py -------------------------------------------------------------------------------- /solutions/object_oriented_design/hash_table/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/object_oriented_design/hash_table/hash_map.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/hash_table/hash_map.ipynb -------------------------------------------------------------------------------- /solutions/object_oriented_design/hash_table/hash_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/hash_table/hash_map.py -------------------------------------------------------------------------------- /solutions/object_oriented_design/lru_cache/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/object_oriented_design/lru_cache/lru_cache.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/lru_cache/lru_cache.ipynb -------------------------------------------------------------------------------- /solutions/object_oriented_design/lru_cache/lru_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/lru_cache/lru_cache.py -------------------------------------------------------------------------------- /solutions/object_oriented_design/online_chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/object_oriented_design/online_chat/online_chat.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/online_chat/online_chat.ipynb -------------------------------------------------------------------------------- /solutions/object_oriented_design/online_chat/online_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/online_chat/online_chat.py -------------------------------------------------------------------------------- /solutions/object_oriented_design/parking_lot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/object_oriented_design/parking_lot/parking_lot.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/parking_lot/parking_lot.ipynb -------------------------------------------------------------------------------- /solutions/object_oriented_design/parking_lot/parking_lot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/object_oriented_design/parking_lot/parking_lot.py -------------------------------------------------------------------------------- /solutions/system_design/mint/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/mint/README.md -------------------------------------------------------------------------------- /solutions/system_design/mint/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/system_design/mint/mint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/mint/mint.png -------------------------------------------------------------------------------- /solutions/system_design/mint/mint_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/mint/mint_basic.png -------------------------------------------------------------------------------- /solutions/system_design/mint/mint_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/mint/mint_mapreduce.py -------------------------------------------------------------------------------- /solutions/system_design/mint/mint_snippets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/mint/mint_snippets.py -------------------------------------------------------------------------------- /solutions/system_design/pastebin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/pastebin/README.md -------------------------------------------------------------------------------- /solutions/system_design/pastebin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/system_design/pastebin/pastebin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/pastebin/pastebin.png -------------------------------------------------------------------------------- /solutions/system_design/pastebin/pastebin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/pastebin/pastebin.py -------------------------------------------------------------------------------- /solutions/system_design/pastebin/pastebin_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/pastebin/pastebin_basic.png -------------------------------------------------------------------------------- /solutions/system_design/query_cache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/query_cache/README.md -------------------------------------------------------------------------------- /solutions/system_design/query_cache/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/system_design/query_cache/query_cache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/query_cache/query_cache.png -------------------------------------------------------------------------------- /solutions/system_design/query_cache/query_cache_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/query_cache/query_cache_basic.png -------------------------------------------------------------------------------- /solutions/system_design/query_cache/query_cache_snippets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/query_cache/query_cache_snippets.py -------------------------------------------------------------------------------- /solutions/system_design/sales_rank/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/sales_rank/README.md -------------------------------------------------------------------------------- /solutions/system_design/sales_rank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/system_design/sales_rank/sales_rank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/sales_rank/sales_rank.png -------------------------------------------------------------------------------- /solutions/system_design/sales_rank/sales_rank_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/sales_rank/sales_rank_basic.png -------------------------------------------------------------------------------- /solutions/system_design/sales_rank/sales_rank_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/sales_rank/sales_rank_mapreduce.py -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/README.md -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_1.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_2.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_3.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_4.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_5.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_6.png -------------------------------------------------------------------------------- /solutions/system_design/scaling_aws/scaling_aws_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/scaling_aws/scaling_aws_7.png -------------------------------------------------------------------------------- /solutions/system_design/social_graph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/social_graph/README.md -------------------------------------------------------------------------------- /solutions/system_design/social_graph/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/system_design/social_graph/social_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/social_graph/social_graph.png -------------------------------------------------------------------------------- /solutions/system_design/social_graph/social_graph_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/social_graph/social_graph_basic.png -------------------------------------------------------------------------------- /solutions/system_design/social_graph/social_graph_snippets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/social_graph/social_graph_snippets.py -------------------------------------------------------------------------------- /solutions/system_design/twitter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/twitter/README.md -------------------------------------------------------------------------------- /solutions/system_design/twitter/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/twitter/twitter.png -------------------------------------------------------------------------------- /solutions/system_design/twitter/twitter_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/twitter/twitter_basic.png -------------------------------------------------------------------------------- /solutions/system_design/web_crawler/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/web_crawler/README.md -------------------------------------------------------------------------------- /solutions/system_design/web_crawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solutions/system_design/web_crawler/web_crawler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/web_crawler/web_crawler.png -------------------------------------------------------------------------------- /solutions/system_design/web_crawler/web_crawler_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/web_crawler/web_crawler_basic.png -------------------------------------------------------------------------------- /solutions/system_design/web_crawler/web_crawler_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/web_crawler/web_crawler_mapreduce.py -------------------------------------------------------------------------------- /solutions/system_design/web_crawler/web_crawler_snippets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwj718/system-design-primer-zh_CN/HEAD/solutions/system_design/web_crawler/web_crawler_snippets.py --------------------------------------------------------------------------------