知识卡片
复制分片抵御局部失效
每个缓存分片由一个复制服务承担,可以在单实例失效或滚动升级时继续处理该分片请求,也可只扩展热点分片。代价是部署、路由与容量管理更复杂;需要预留容量并明确副本内容如何保持可用,不能把“有副本”直接写成任何故障下都无性能退化。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 7. Sharded Services · 查看原书依据
rather than having a single server implement each shard in the cache, a replicated service is used to implement each cache shard. This design is obviously more complicated to implement and deploy, but it has several advantages over a simple sharded service. Most importantly, by replacing a single
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第07章《Chapter 7. Sharded Services》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch07.html)
- 结论依据:原文将副本模式用于每个分片并列出发布和热点扩展收益。
- 原始内容:rather than having a single server implement each shard in the cache, a replicated service is used to implement each cache shard. This design is obviously more complicated to implement and deploy, but it has several advantages over a simple sharded service. Most importantly, by replacing a single