准备System Design的资料分享!!!

credits - Ajinkya Ghadge - follow him on the Quora

After series of debacles i have reached out to one of the system design interviewer who has shared valuable insights on how to prepare for system design.

Thanks for reaching out! I can totally understand how daunting it can get while preparing for system design interviews. Here are some tips that i can give you to prepare well for design interviews.

  1. I’d highly recommend going through basic distributed system concepts before starting out. This video does a pretty good job of giving an overview of the important topics like CAP theorem, sharding, replication, horizontal/vertical scaling etc. https://www.youtube.com/watch?v=UzLMhqg3_Wc
  2. Post this, i would recommend to get well “aware” about the available technologies offered in the market. For example, for queueing of data there are technologies like Amazon SQS. For NOSQL there is MongoDB or DynamoDB. It is not necessary to understand everything about how they work internally but be well versed in case you are thrown questions about it. During the interview you should be able to justify WHY? did you pick one technology over the other. For example, “Why is NoSQL database better than a relational database?”
  3. Try to go over existing system design blogs available on the internet, few of them which i found helpful are
  1. Learn to identify patterns across the design problems. You can prepare a single design and apply it to different use cases. For example, If you are well versed with the design for Uber/OLA, you can apply it to other publisher-subscriber based designs like Air Traffic Control, Bike sharing app etc. Here are some common designs across each category.
  • Social media
  1. Design twitter timeline
  2. Design facebook time
  3. Design instagram timeline- Text editor
  4. Design Google docs
  5. Design codepair.com
  • Video streaming
  1. Design Youtube
  2. Design netflix
  3. Design hulu
  • Static systems
  1. Design payment processor
  2. Design an alarm clock
  • Website based
    1. Design tinyURL.com
    2. Design pastebin
      Basically if you understand one system from each category, all the others in the same category have only minor tweaks!
  1. Most of the behavioral tips I have already mentioned in my Quora answers, make sure to follow them.

Cheers