Hi,

To detect in-flight RPC timeout, RocketMQ uses scheduler to periodically
scan all in-flight RPC requests in NettyRemotingAbstract#scanResponseTable.
This implementation is less effective in terms of resource overhead and
responsiveness in comparison with timer-wheel
<https://blog.acolyer.org/2015/11/23/hashed-and-hierarchical-timing-wheels/>.
I am suggesting to implement the timer-wheel scheme.

Any feedback is welcome. ^_^

Zhanhui Li

Reply via email to