https://www.hiredintech.com/classrooms/system-design/lesson/72

 

user's browser / mobile App => Load Balancer => AppSrv1, AppSrv2, AppSrv3, ... => DB

Load Balancer:

  User => DNS load balancing, CDN => Software Load Balancer (nginx) => App Servers (Apache, Tomcat, Django..) => DB Cache => DB.

Database Sharding:

  application level (driven by config or some implicit rule e.g. tweet id's some bits)
  library level
  existing product, 

Database Schema:

  Users, Tweets, Followers, Favorites

Indexes on each table

相关文章:

  • 2022-12-23
  • 2022-02-15
  • 2021-10-21
  • 2022-12-23
  • 2022-02-23
  • 2021-11-17
  • 2022-12-23
猜你喜欢
  • 2021-07-12
  • 2021-04-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案