sijie commented on issue #6178: Introduce maxMessagePublishBufferSizeInMB 
configuration to avoid broker OOM
URL: https://github.com/apache/pulsar/pull/6178#issuecomment-584235582
 
 
   @codelipenghui 
   
   > how about move currentMessagePublishBufferSize to ServerCnx and 
periodically sync them to totalMessagePublishBufferSize in BrokerService by a 
single thread?
   
   this sounds good to me. Also consider using LongAdder rather than AtomicLong.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to