System Design
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Topics
News feed
Job scheduler
Scenario Clarify: requirements, features, QPS, DAU, interface
Service Break down into small services/model
Storage Database, data schema
SQL database: user table
NoSQL database: Social Graph
File system: Media files, documents
Scale
Sharding, optimization
Round Robin Weighted round robin Least connections Weighted least connections Random http://www.jscape.com/blog/load-balancing-algorithms http://g33kinfo.com/info/archives/2657
https://www.jiuzhang.com/qa/219/ http://systemdesigns.blogspot.com/2015/12/top-k-requests-during-past-time-interval.html?view=classic