← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3356.g

事件溯源有演进成本

理解等级:高级

事件溯源需要团队掌握不同于覆盖状态的思维;不可变历史让事件结构演进比修改表结构更复杂,多种投影也增加架构部件。只有历史重建、审计或深度分析的收益足够重要时才值得采用。简单业务用此模式会把原本不需要的复杂性引入系统。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 建模时间维度 · 查看原书依据

      Evolving an event-sourced model can be challenging. The strict definition of event sourcing says that events are immutable. But what if you need to adjust the event’s schema? The process is not as simple as changing a table’s schema. In fact, a whole book was written on this subject alone: Versioning in an Event Sourced

    参考来源

    - 位置:《Learning Domain-Driven Design》第7章《建模时间维度》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch07.html) - 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。 - 原始内容:Evolving an event-sourced model can be challenging. The strict definition of event sourcing says that events are immutable. But what if you need to adjust the event’s schema? The process is not as simple as changing a table’s schema. In fact, a whole book was written on this subject alone: Versioning in an Event Sourced