qianye1001 commented on PR #10271: URL: https://github.com/apache/rocketmq/pull/10271#issuecomment-4293206879
Thanks for making the Pop RocksDB BlockCache size configurable — this is a good step toward better memory tuning in container environments. One thing worth considering: `blockCacheSize` is only part of the memory footprint. In `createPopCFOptions()`, `writeBufferSize` (128 MB) and `maxWriteBufferNumber` (4) are still hardcoded, which means the memtable alone can consume up to 512 MB. For memory-constrained containers, this is just as significant as the block cache. It would be great to also expose `writeBufferSize` and `maxWriteBufferNumber` (and possibly `minWriteBufferNumberToMerge`) as configurable fields in `MessageStoreConfig`, so operators can holistically tune the Pop RocksDB memory budget. Otherwise, someone who carefully tunes the block cache down may still be surprised by the fixed memtable overhead. Happy to discuss further if needed. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
