知识卡片
背压控制积压
生产速率持续超过消费速率时,有限队列终会填满。背压让生产者减慢,通过限制输入速率避免积压持续增长。队列用于收包与处理解耦、安排流水线和吸收短时突发,扩大容量会增加等待空间且不会提高服务速率。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 8. Introduction and Overview Processing · 查看原书依据
Contrary to the widespread belief, queue capacity is not infinite and piling up more requests won’t do the system any good. Backpressure is a strategy that allows us to cope with producers that publish messages at a rate that
参考来源
- 位置:《Database Internals》Chapter 8. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch08.html#idm46104531153608,段 39)
- 结论依据:原文定义背压,随后说明队列的三种用途和增加队列长度的延迟成本。
- 原始内容:Contrary to the widespread belief, queue capacity is not infinite and piling up more requests won’t do the system any good. Backpressure is a strategy that allows us to cope with producers that publish messages at a rate that