Hi 修宇航, Good job!
I also find that the heartbeat mechanism in Dubbo can be optimized using HashedWheelTimer. Here’s a issue reporting reporting this: https://github.com/apache/incubator-dubbo/issues/1888. Do you think it’s necessary? If you think the same, would you mind send a PR for this issue? BTW, would you mind change your email show name to English? Best regards, Jun > On 21 Jun 2018, at 3:34 PM, 修宇航 <carry...@gmail.com> wrote: > > Hi all, > > The old way to deal timeout future is view all the future. > > The better way is to use HashedWheelTimer like Netty , it can deal the > timeout futures more directly, it will decrease circulate times and check > times as my title say. > > The HashedWheelTimer impl will be transplanted by Netty (it will have a > Netty license header!). > > About the HashedWheelTimer [1]. > > [1]https://netty.io/4.0/api/io/netty/util/HashedWheelTimer.html