jiazhai opened a new issue #5513: Publish rate limit on broker to avoid OOM
URL: https://github.com/apache/pulsar/issues/5513
 
 
   Out Of Memory is seen frequently while client produced message too quickly 
and used all the direct memory. 
   This happens like this: 
   1. Client send message to broker;
   2. Broker call bookkeeper client to write message to Bookie, and hold the 
direct memory until write success; 
   If in the 2nd step the direct memory not get released, then the Broker will 
get OOM.
    
   It would be great to have a way to detect the memory pressure, and do the 
publish rate limit if lack of memory; once the memory get back, cancel the rate 
limit.
   

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