可扩展性、一致性、负载均衡与云模式,面试与架构决策基础。
登录后追踪本课程进度 —登录
系统设计是什么
面试方法、需求澄清、估算;what-is-system-design。
性能与扩展基础
latency vs throughput、垂直/水平扩展。
一致性与 CAP
strong/eventual/weak consistency、CAP 取舍。
负载均衡
L4/L7、算法、LB vs 反向代理。
缓存模式
cache-aside、write-through、CDN、refresh-ahead。
异步与消息
pub/sub、队列、competing consumers、choreography。
数据架构
分片、复制、CQRS、Event Sourcing、索引表。
微服务与网关
服务发现、BFF、API Gateway、Strangler Fig。
云设计模式
bulkhead、valet key、claim-check、anti-corruption。
可靠性模式
健康检查、leader election、deployment stamps。
性能反模式
busy DB、chatty I/O、retry storm、无缓存。
综合练习
设计 CodeRoadMap 只读 API 的高可用架构草图。