rdhabalia commented on pull request #7499:
URL: https://github.com/apache/pulsar/pull/7499#issuecomment-656911219


   > The change in #7406 is to avoid any contention in write path and to impose 
a global max.
   
   I have gone through with #7406 PR but as I said it distributes max global 
bytes across separate IO threads which has its own disadvantage eg: 1gb across 
30 IO threads means 1 IO thread can only do 33MB it means as a user I have to 
create multiple connections and hope it will be served by other IO thread to 
get higher throughput.
   It doesn't happen in this PR as all connections see 1 count without much 
contention. Please let me know if you see any contention or issue with this PR. 
because I think we would prefer to use global count across all cnx and handle 
the backpressure. 


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


Reply via email to