10kshuaizhang / 10kshuaizhang.github.io

hexo blog
2 stars 0 forks source link

System Design Basic 2 - A single System Example | 10K's #14

Open 10kshuaizhang opened 1 year ago

10kshuaizhang commented 1 year ago

https://10kshuaizhang.github.io/post/system-design-basic-2-a-single-system-example/

Scale From Zero To Millions of Users A step by step example Single server setup

User access web throught domain names...

10kshuaizhang commented 1 year ago

Note

  1. How the simplest web application data flow?
  2. What is relational database and what is non relational database? What are the pros and cons?
  3. Scale up vs scale out
  4. What is load balance used for?
  5. How does master-slave data replication work?
  6. What is the advantage of using master-slave replication?
  7. How does it improve availability?
  8. Cache: temparary storage for expensive response and frequently access data.
  9. What is read-through?
  10. Considerations when using cache: when to use; expiration policy; consistency with original server; mitigation failures; eviction policies.
  11. What is CDN for? It's a cache layer essentially.
10kshuaizhang commented 1 year ago
  1. how does CDN work
  2. Why use CDN
  3. Stateless object
  4. Why move stateful object out ?
  5. Auto scaling
  6. getDNS
  7. multiple data centers
  8. challenges for multi data center
  9. why message queue helpful?
  10. Logs/metrics/automations
  11. DB scaling
  12. sharding
  13. challenges of sharding
10kshuaizhang commented 1 year ago

Summary: