merlimat opened a new pull request #1521: Removed contention between producers 
on ManagedLedger addEntry
URL: https://github.com/apache/incubator-pulsar/pull/1521
 
 
   ### Motivation
   
   When there are multiple producers writing on the same topic and there are 
many entries/second (little batching), there can be thread contention when 
doing `managedLedger.addEntry()`. 
   
   ### Modifications
    * Do the sync part of add entry from a thread hashed on the name of the 
managed ledger. 
   
   ### Result
   
   This will remove the contention on both the `ManagedLedger` and the BK 
`LedgerHandler` mutexes.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to