知识卡片
背压暴露处理能力差
背压源于接收速度暂时超过处理能力,可能导致缓存耗尽和数据丢失。需要扩容、限制输入、持久缓冲或溢出转存等策略;丢弃是否允许必须由业务契约决定,关键消息不能只靠加大内存缓冲。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event and Notification Management · 查看原书依据
When building operational asynchronous messaging systems at scale, you’re likely to enter a situation where the systems are receiving data at a higher rate than they can process it during a temporary load spike. This problem is called backpressure and can, if not dealt with correctly, lead to exhaustion of resources or even, in the worst case, data loss. There are different strategies for dealing
参考来源
- 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html)
- 结论依据:原文对backpressure的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。
- 原始内容:When building operational asynchronous messaging systems at scale, you’re likely to enter a situation where the systems are receiving data at a higher rate than they can process it during a temporary load spike. This problem is called backpressure and can, if not dealt with correctly, lead to exhaustion of resources or even, in the worst case, data loss. There are different strategies for dealing