知识卡片
迁移代理须控制故障与耦合
在绞杀迁移中加入代理可隐藏新旧路由,但也可能成为单点故障或瓶颈。代理应保持路由职责,不承载业务逻辑;同时要核对双轨运行的数据一致性,否则流量迁完仍可能留下语义差异。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
Managing the strangler fig pattern behind the scenes can be tricky, and the introduction of a new component can be a single point of failure or bottleneck unless this is mitigated. The proxy should not take on business logic or this will make it difficult to remove at the end of the migration. Managing the legacy and modern process side-by-side is a challenge to ensure
参考来源
- 位置:《Mastering API Architecture》第8章《Redesigning Applications to API-Driven Architectures》之《Strangler Fig》(源文件:_epub-src/OEBPS/ch08.xhtml)
- 结论依据:原文明确提出代理单点故障、瓶颈、业务逻辑污染及新旧数据一致性四类风险。
- 原始内容:Managing the strangler fig pattern behind the scenes can be tricky, and the introduction of a new component can be a single point of failure or bottleneck unless this is mitigated. The proxy should not take on business logic or this will make it difficult to remove at the end of the migration. Managing the legacy and modern process side-by-side is a challenge to ensure