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 2022/06/08 06:29:07 UTC

[GitHub] [bookkeeper] lordcheng10 opened a new issue, #3322: [BP-53] Two write caches become multi-cache blocks

lordcheng10 opened a new issue, #3322:
URL: https://github.com/apache/bookkeeper/issues/3322

   **BP**
   
   > Follow the instructions at http://bookkeeper.apache.org/community/bookkeeper_proposals/ to create a proposal.
   ### Motivation
   The current write cache has only 2 blocks, which has the following deficiencies:
   1.Insufficient use of cache: When half of the write cache is flushed, it must wait for all the data in the write cache to be flushed before it can be released. With the same write cache size, if we divide the write cache into multiple blocks, the cache resources can be released faster, preventing the write request from waiting too long for the cache resources to be released;
   
   2.The current write cache is allocated according to the configured data directory, so that the write cache resources between directories cannot be shared. When the write cache resources corresponding to one directory continue to be full, it is possible that the cache resources of other directories are still relatively low. Idle, so that the full utilization of the write cache is not used;
   
   
   ### Changes
   1.Two write caches become multi-cache blocks;
   2.All data directories share write cache resources;
   


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

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org