szetszwo commented on PR #5338:
URL: https://github.com/apache/ozone/pull/5338#issuecomment-1737842817

   > Does this mean any thread writing to a ratis pipeline will not exceed 1000 
ops per second?
   
   No, a single `appendEntries` call can send multiple log entries (i.e. 
multiple transactions).  As an example, see the diagram in the description of 
[RATIS-1886 ](https://issues.apache.org/jira/browse/RATIS-1886).  Even for 
10ms, we can get ~3000 ops per second.
   
   > Can you explain why sleeping 1 ms is desirable?
   
   Quite a few people have tested with 1ms and 0ms.  They found no difference 
in performance. (@duongkame, do you agree?)
   
   On the other hand, 1ms does protect against the problem of sending 
`appendEntries` too frequently.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to