merlimat opened a new pull request #4104: Reduce memory used in ClientCnx for 
pending lookups
URL: https://github.com/apache/pulsar/pull/4104
 
 
   ### Motivation
   
   Currently, each `ClientCnx` has a blocking queue for the max number of 
pending lookup requests. By default that ends up using an array of 45K objects. 
When a single process handles many connections (eg: broker or proxy), that will 
end up using 200K per connection just for this.
   
   ### Modifications
   
   Instead of using the fixed array size, use semaphore and a 
`ConcurrentLinkedQueue`

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