知识卡片
队列分片形成故障边界
分片器按函数把工作分配到多个队列,使不同故障域或部署批次独立推进。分片滚动发布可在首片发现错误时减少影响范围,也能把负载分散到不同资源;故障时重路由必须以剩余容量、数据可达和重复处理语义为前提,不能假设一片总能吃下全部流量。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 12. Event-Driven Batch Processing · 查看原书依据
One of the first is for reliability. If you shard your work queue, then the failure of a single workflow due to a bad update, infrastructure failure, or other problem only affects a fraction of your service. For example, imagine that you push a bad update to your
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第12章《Chapter 12. Event-Driven Batch Processing》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch12.html)
- 结论依据:原文分阶段更新和跨地区队列说明隔离与资源分担。
- 原始内容:One of the first is for reliability. If you shard your work queue, then the failure of a single workflow due to a bad update, infrastructure failure, or other problem only affects a fraction of your service. For example, imagine that you push a bad update to your