返回主题:状态与容错:状态存哪、错了怎么恢复

此卡片不在当前主题的阅读序列中,可返回主题继续阅读。

知识卡片

普通读书笔记卡 · 1980.z.4

消费者拥有查询模型

理解等级:中级

共享事件流负责传播可信业务事实,消费者负责把事件物化为适合自身上下文的数据结构,以及跨流组合和查询。这样数据拥有者无需实现每个消费者的定制接口,消费者也不依赖生产者的内部数据库。代价是各服务承担存储与建模,且必须处理异步进度;事件流不会自动成为可任意查询的数据库。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Why Event-Driven Microservices · 查看原书依据

      Data access and modeling requirements are completely shifted to the consumer, with consumers each obtaining their own copy of events from the source event streams. Any querying complexity is also shifted from the implementation communication structure of the data owner to that of the consumer. The consumer remains fully responsible for any mixing of data from multiple event streams, special query functionality, or other business-specific implementation logic. Both producers and

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第01章《Why Event-Driven Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch01.xhtml;规范化段落起句:Data access and modeling requirements are completely shifted) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:共享事件流负责传播可信业务事实,消费者负责把事件物化为适合自身上下文的数据结构,以及跨流组合和查询。本卡同时保留其适用条件与失败边界。 - 原始内容:Data access and modeling requirements are completely shifted to the consumer, with consumers each obtaining their own copy of events from the source event streams. Any querying complexity is also shifted from the implementation communication structure of the data owner to that of the consumer. The consumer remains fully responsible for any mixing of data from multiple event streams, special query functionality, or other business-specific implementation logic. Both producers and