You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/03/14 16:27:10 UTC

[GitHub] merlimat opened a new pull request #1258: Allow to send callbacks from journal thread

merlimat opened a new pull request #1258: Allow to send callbacks from journal thread
URL: https://github.com/apache/bookkeeper/pull/1258
 
 
   In BK 4.3 it was possible to configure 0 threads for the dispatching of journal callback threads. 
   
   There might be good reasons to not use a thread pool when dispatching the callback threads: 
    * Avoiding one more context switch 
    * Avoiding contention on the executor enqueuing
    * When using multiple journals, the journal thread is not a bottleneck anymore
   
   We should allow the same convention (threads=0 means direct execution) that we have in other places.

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


With regards,
Apache Git Services