gpt4 book ai didi

apache-storm - Apache Storm 中的 Spout 节流

转载 作者:行者123 更新时间:2023-12-03 12:08:02 26 4
gpt4 key购买 nike

我知道 max.spout.pending 是通过 acking-enabled 实现背压的简单方法。我想了解一下,既然背压已经实现,我们还需要 max.spout.pending 来限制 spout 吗?

谢谢!

最佳答案

Storm 1.0.0 开始,提供了背压自动化,并且可以通过高/低水位线(disruptor.highwatermark/disruptor.lowwatermark)为 bolt 的接收器缓冲区和配置bolt 的缓冲区大小 (executor.'receive/send'.buffer.size).
因此 spout 根据水印节流/释放元组到 bolt 。

有关详细信息,请参阅:http://storm.apache.org/2016/04/12/storm100-released.html

关于apache-storm - Apache Storm 中的 Spout 节流,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35676846/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com