merlimat opened a new pull request #1462: Delayed acks impl
URL: https://github.com/apache/incubator-pulsar/pull/1462
 
 
   ### Motivation
   
   This PR is based on top of #1450. I'll rebase once first one is merged.
   
   The processing of acknowledgments constitutes is broker a big chunk of CPU 
work. Even then, we throttle the persistence of acks to BK (default is once per 
sec).
   
   In addition to that, acknowledgments generates a large number of very small 
IP packets and these are most expensive to process by OS/NIC (compared to fewer 
bigger packets).
   
   This change introduces client side batching for acknowledgments. By default 
client, will group the acks and send out a single protobuf command every 100ms. 
Consumer can configure the delay, or set it to 0 to fall back to original 
behavior.
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to