jojochuang commented on PR #1181:
URL: https://github.com/apache/ratis/pull/1181#issuecomment-2513332238

   Actually, just updating the doc is not sufficient.
   
   GrpcLogAppender.StreamObservers.onNext() calls sleep for waitForReady, but 
internally it uses Thread.sleep() so it is never going to be less than one 
millisecond.
   
   I'm looking at an Ozone cluster where follower DataNode completes the append 
follower_append_entry_latency just 0.66ms, but the leader's 
log_appender_latency is 1.36ms. Clearly, the one millisecond sleep granulaity 
is the problem for the append latency.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to