知识卡片
事件与通知载荷不同
携带状态的事件包含完成消费所需数据,可帮助接收方维护本地副本;通知只表达发生变化及其引用,消费者还要回查来源。前者增加载荷与复制治理,后者保留时间和源可用性依赖,应按用途取舍。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event and Notification Management · 查看原书依据
Events come in different shapes, some of which have more overlap with data distribution and data management. One method of distributing events is called event-carried state transfer. With this approach, the event itself carries the full state related to the change, so the consumer has all the information it needs and doesn’t have to make a separate request for the state after being notified of
参考来源
- 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html)
- 结论依据:原文对event-carried state transfer的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。
- 原始内容:Events come in different shapes, some of which have more overlap with data distribution and data management. One method of distributing events is called event-carried state transfer. With this approach, the event itself carries the full state related to the change, so the consumer has all the information it needs and doesn’t have to make a separate request for the state after being notified of