You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/20 03:06:08 UTC

[GitHub] chickenlj opened a new issue #2537: Increase the schedule frequency of HeartbeatTask.

chickenlj opened a new issue #2537: Increase the schedule frequency of HeartbeatTask.
URL: https://github.com/apache/incubator-dubbo/issues/2537
 
 
   Here is how heartbeat works in Dubbo:
   Heartbeat scheduler will schedule HeartbeatTask in every `heartbeat` time, when being scheduled, HeartbeatTask will internally continue to check the necessity of sending a heartbeat event (only send when it find that the idle interval `>heartbeat`).
   Consider different combinations of these two intervals: schedule interval and idle interval, we may have a chance of idle for `2*heartbeat` on a wire without any request/response or heartbeat event being sent.
   
   Though the timeout interval in Dubbo is `3*heartbeat`, and `2*heartbeat` idle would not mislead Dubbo to terminate the connection, we may need to increase the frequency of the scheduler to make it more accurate.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org