知识卡片
内部流解耦Shuffle实例
重分区将事件写入代理内部流,同键汇入相同分区,再由下游读取。上游实例变化不会立即使下游失去临时数据来源,因此代理承担类似外部shuffle服务的角色。扩缩仍须重分配内部和输入分区,恢复changelog后再消费;热副本缩短状态装载,不免除故障检测与交接。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Lightweight Framework Microservices · 查看原书依据
Event shuffling in lightweight framework microservices is simple, as events are repartitioned into an internal event stream for downstream consumption. This internal event stream isolates the upstream instances that create the shuffled events from the downstream ones that consume them, acting as a shuffle service similar to that required by heavyweight frameworks to perform dynamic scaling. Any dynamic scaling requires only that the consumers be reassigned to the internal event
参考来源
- 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第12章《Lightweight Framework Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch12.xhtml;规范化段落起句:Event shuffling in lightweight framework)
- 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:重分区将事件写入代理内部流,同键汇入相同分区,再由下游读取。本卡同时保留其适用条件与失败边界。
- 原始内容:Event shuffling in lightweight framework microservices is simple, as events are repartitioned into an internal event stream for downstream consumption. This internal event stream isolates the upstream instances that create the shuffled events from the downstream ones that consume them, acting as a shuffle service similar to that required by heavyweight frameworks to perform dynamic scaling. Any dynamic scaling requires only that the consumers be reassigned to the internal event