知识卡片

普通读书笔记卡 · 3327.r

绞杀迁移逐个搬迁真实消费者

理解等级:高级

从单体抽取能力时先建立小契约,再逐个迁移确实依赖该能力的消费者,最后移出代码并删除旧入口。不能把所有单体消费者假定为该新服务的消费者。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第9章《Code Migrations》(源文件:`_epub-src/OPS/ch09.xhtml`,归一化正文 [33994:38162)) - 结论依据:原文的图像功能示例逐步抽取契约和真实消费者,并提醒避免迁移虚假消费者。 - 原始内容:now, we will move all consumers that need to the new contract one at a time. Figure 9.22: Strangler Fig - classical monolith step 3 Here is the example ( Figure 9.22 ) : we have 5 consumers in your reality; you could have 100s of consumers, so this is a simple approach but can take a long time; once you isolate one consumer, you can move to the next consumer and repeat.