知识卡片
背压让生产速度受控
背压使处理不及的组件向上游表达减速或暂停需求,把输入速度约束在可处理范围内。它针对的是生产与消费速度失衡,可减少缓冲区、内存及其他资源被耗尽的风险;必须在链路参与方之间真正传递和执行。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Architecture of Distributed Systems · 查看原书依据
Note: Backpressure is a mechanism in reactive systems that allows a component to signal its upstream components to slow down or pause the flow of data when it reaches its processing capacity. It is a way to regulate the rate of incoming requests to prevent overload and maintain system stability. When a component is unable to keep up with the incoming flow, it can apply
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第03章《Architecture of Distributed Systems》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch03.xhtml)
- 结论依据:原文给出本卡对象的职责及相关使用情境,本卡保留相应边界,不将具体产品功能或概述推广为无条件保证。
- 原始内容:Note: Backpressure is a mechanism in reactive systems that allows a component to signal its upstream components to slow down or pause the flow of data when it reaches its processing capacity. It is a way to regulate the rate of incoming requests to prevent overload and maintain system stability. When a component is unable to keep up with the incoming flow, it can apply