← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1980.z.1.d.1

Sidecar适配遗留数据

理解等级:中级

Sidecar可消费事件并upsert到旧应用数据库,让旧代码获得近实时数据而不必大改。它有独立容器,却应与所属应用作为一个部署、测试和恢复单元。这样保留责任边界,避免复制组件无人管理;新增侧车并不能省略对写入格式、并发和失败恢复的验证。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Basic Producer and Consumer Microservices · 查看原书依据

      The sidecar resides inside its own container but must be part of the single deployable of the frontend service. Additional tests must be performed to ensure that the integrated sidecar operates as expected. The sidecar pattern allows you to add new functionality to a system without requiring significant changes to the legacy codebase.

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第10章《Basic Producer and Consumer Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch10.xhtml;规范化段落起句:The sidecar resides inside its own container) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:Sidecar可消费事件并upsert到旧应用数据库,让旧代码获得近实时数据而不必大改。本卡同时保留其适用条件与失败边界。 - 原始内容:The sidecar resides inside its own container but must be part of the single deployable of the frontend service. Additional tests must be performed to ensure that the integrated sidecar operates as expected. The sidecar pattern allows you to add new functionality to a system without requiring significant changes to the legacy codebase.