知识卡片
外部内部存储分别版本化
客户端协议、内部计算对象与持久化对象承担不同兼容责任。用显式转换隔开三者,服务便能同时支持多个外部版本,内部实现也可演进;存储版本独立后可规划迁移和回滚。代价是转换逻辑与兼容测试,收益是避免所有客户端、代码和数据被迫同时切换。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 16. Common Failure Patterns · 查看原书依据
an external (client) version, an internal (in-memory) version, and a storage (on-disk or database) version as well as the logic to translate between them pays significant dividends in decoupling and agility that will benefit your application in the long run. The Myth of Optional Components Distributed systems are
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第16章《Chapter 16. Common Failure Patterns》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch16.html)
- 结论依据:原文三种表示及翻译层说明发布与回滚的解耦。
- 原始内容:an external (client) version, an internal (in-memory) version, and a storage (on-disk or database) version as well as the logic to translate between them pays significant dividends in decoupling and agility that will benefit your application in the long run. The Myth of Optional Components Distributed systems are