跳到主要内容
学院
中级 代码街区

系统设计

设计可扩展的服务:缓存、队列和数据库。

System design is choosing the boxes and arrows behind an app, and knowing how they behave when millions of people show up. This track starts with requirements and honest back-of-the-envelope numbers, grows one server into many behind a load balancer, and adds caches and CDNs. Then it tackles the hard parts: scaling the database, queues and duplicate messages, rate limits, consistency, and seeing inside a running system.

Most lessons are concepts, small numbers and diagrams, with code only where it makes an idea concrete. The track ends with you designing a home feed and a live leaderboard, step by step.

课时
14
时长
2 小时
级别
中级

本课程的内容目前为英文。

  • 铜牌 可挑战
  • 银牌 可挑战
  • 金牌 未解锁

准备好证明自己了吗?

三场考试正等着你:铜牌、银牌和金牌。

前往考试

学完后你将能够

  • Turn requirements into load estimates with back-of-the-envelope math
  • Scale stateless servers behind a load balancer with health checks
  • Use caches, TTLs and CDNs without serving stale or unreachable content
  • Scale a database with pooling, replicas and, as a last resort, sharding
  • Move slow work to queues and make consumers safe against duplicates
  • Choose consistency per feature and alert only on what users feel

学习旅程

  1. 1
    第 1 单元

    From one server to many

    Requirements and estimates, stateless servers behind a load balancer, caches and CDNs.

    0 / 4
  2. 2
    第 2 单元

    Data and events at scale

    Scale the database, use queues safely, limit traffic, choose consistency and watch it all run.

    0 / 6
  3. 3
    第 3 单元

    Next steps

    Real-time features, search, multiple regions and cost.

    0 / 4

快速导航