Code Monkey home page Code Monkey logo

system-design-primer's People

Contributors

antongulikov avatar codemysky avatar donnemartin avatar fabriziocucci avatar fluency03 avatar iampramod avatar iamsidshetty avatar ianpark avatar kevingo avatar linhe0x0 avatar luisbg avatar manaskarekar avatar noebrito avatar olafvdspek avatar peteryao7 avatar rahilsh avatar ralphite avatar rishabh115 avatar robertding avatar roxasshadow avatar sainadh-d avatar satob avatar saurav-2104 avatar sergey-sw avatar serima avatar skn0tt avatar spuyet avatar techgaun avatar yangshun avatar zanemayo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

system-design-primer's Issues

Clarify "timeline"

image

This is different for everyone, so how many hours/days/weeks of study go in to short/medium/long timelines? Is there a better way to present this?

Efficient method to address concurrent requests in a successfully e-commerce platform

Hi,

Given a successfully e-commerce platform like Amazon, when there are millions of sellers and buyers. If a seller is selling many 20 articles and receives 30 concurrent buying request from customers. How will the platform addresses effectively and efficiently all those concurrent requests.

Here is what I thought of:
Synchronizing the database for any buying request. The problem here is that we will have some latency and performance issues.

Any Better Solutions.
Thanks.

Where is 'State' defined in social_graph_snippets.py?

State is currently an undefined name in the context of social_graph_snippets.py so the code would raise a NameError at runtime.

Is State merely an Enum with two items (visited and unvisited) or is it more complex than that? If it is just the simple Enum then perhaps it would be cleaner to rename the field to be source.state_visited and use the values True and False.

flake8 testing of https://github.com/donnemartin/system-design-primer on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./solutions/system_design/social_graph/social_graph_snippets.py:10:30: F821 undefined name 'State'
        source.visit_state = State.visited
                             ^
./solutions/system_design/social_graph/social_graph_snippets.py:17:49: F821 undefined name 'State'
                if adjacent_node.visit_state == State.unvisited:
                                                ^
./solutions/system_design/social_graph/social_graph_snippets.py:19:49: F821 undefined name 'State'
                    adjacent_node.visit_state = State.visited
                                                ^
3    F821 undefined name 'State'

Discovered via #93

Confusing word play in the definition of AP under CAP theorem portion.

The post says - "Responses return the most recent version of the data available on the a node, which might not be the latest."

Can this be changed or finetuned ? Maybe something like -

"Responses return the most readily available version of the data available on any node, which might not be the latest."
Again here we talking about multi-node system ( on account of P of CAP). So in essence there is no assurance that previous WRITE/UPDATE would have cascaded to all nodes thereby giving C (of CAP). On the other hand the consumer does a look-up and which ever node is hit , returns the data ( or its state)

Anki flash cards errors

The provided Anki flash cards is failing to load in desktop Anki software. I tried with all .apkg files

OO Design; System Design; System Design Exercises.

I'm using Anki 2.0.48 on Windows 10 laptop.

anki_error

Topic suggestion: config, devops, and deployment strategy

It would be nice to have pointers to strategies for configuring and deploying a large stack. This is a huge topic and might be better served in a companion document.

Related to #27 because having a test environment implies configuring the system for testing.

PDF Download

I'd love to be able to read this as a PDF, can a pdf generated per-commit be added to the repo?

EDIT: Or a script to generate a pdf?


Edit by donnemartin: Thanks to @canhlinh for making a PDF version of the repo as of March 28, 2017! We're looking into perhaps a Gitbook version of this repo which supports PDF downloads.

Repo internal links from exercises/solutions are broken

It seems that you have changed repo name from system-design-primer-interview to system-design-primer, while using hard link (https://github.com/donnemartin/...) inside the readmes.

I suggest to user Github relative link schema instead.

Company architectures link to old references

Nearly all references in Company architectures section point on very old article some of them 10 yrs old and 'youngest' 5 yrs old.
could be good to have new infos if available.
very nice job for the conceptual presentation of components.

Inaccuracy in Twitter timeline and search example

In Calculate usage,

6,000 tweets per second
15 billion tweets delivered on fanout per month * (400 requests per second / 1 billion requests per month)
60 thousand tweets delivered on fanout per second
150 billion tweets delivered on fanout per month * (400 requests per second / 1 billion requests per month)

We probably want to use "15 billion tweets per month" instead.

Change Zookeeper as example for service discovery

Using Zookeeper as a example of service discovery might not be a god idea. Why? The way you run and manage zookeeper is hard, the way zookeeper knows that a service is healthy is a bit fragile and does not allow node failure in the ZK cluster. Using something like consul as the example were the health checking is done differently and is pull based makes it more robust and is probably a better example to point to

zookeeper works fine if you are looking for a AP solution for master elections and things like that but for service discovery it's not that suitable

using consul means that you need a http endpoint that consul can health check
using zookeeper means that you need application logic to hold a tcp connection open

Unit prefix in Powers of two table

Currently, the unit prefix for bytes is using Metric prefixes. For correctness, I think its should be Binary prefix. For example 1024byte should be 1kiB rather then 1KB.

Arabic translation

Maintainer(s): @aymns

Please check out the Translations Contributing Guidelines.

Original translations thread: #28

Interested in helping? Let us know!


Hi,

Thanks for the very interesting information there, I would like to contribute by translating the content to Arabic language.
I am a native Arabic speaker from Palestine, and i will maintain the content and will ask native speaker friends to review and help.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.