知识卡片
计算与状态独立伸缩
事件吞吐随昼夜变化时可减少夜间处理实例,但服务仍可能需要访问所有用户的持久状态。外部库把处理并行度和数据容量分离,代价是独立的I/O、容量和恢复管理。若再接外部流处理器补关联能力,必须共同管理后台作业生命周期与回滚,避免主应用结束后留下孤立任务。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Basic Producer and Consumer Microservices · 查看原书依据
The processing needs and the data storage needs of a microservice are not always linearly related. For instance, the volume of events that a microservice must process may vary with time. One common load pattern, which is incorporated into the following example, mirrors the sleep/wake cycle of a local population, with intensive activity during the day and very low activity during the night.
参考来源
- 位置:《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 processing needs and the data storage)
- 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:事件吞吐随昼夜变化时可减少夜间处理实例,但服务仍可能需要访问所有用户的持久状态。本卡同时保留其适用条件与失败边界。
- 原始内容:The processing needs and the data storage needs of a microservice are not always linearly related. For instance, the volume of events that a microservice must process may vary with time. One common load pattern, which is incorporated into the following example, mirrors the sleep/wake cycle of a local population, with intensive activity during the day and very low activity during the night.