You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "platinumhamburg (via GitHub)" <gi...@apache.org> on 2026/10/12 09:42:35 UTC

[PR] [kv] Use HyperClockCache for the shared RocksDB block cache [fluss]

platinumhamburg opened a new pull request, #4611:
URL: https://github.com/apache/fluss/pull/4611

   ### Purpose
   
   Closes #4610.
   
   When shared block caching is enabled, all KV tablets in a TabletServer currently use one LRU cache. Use RocksDB's HyperClockCache to reduce cache-metadata contention under concurrent access.
   
   ### Brief change log
   
   - Create the shared block cache with automatic entry-charge estimation, default sharding, and a non-strict capacity limit.
   - Exercise HCC in the existing two-database shared-cache test, including reads after one database closes.
   - Preserve existing capacity configuration, metrics, and ownership. Independent block caches and WriteBufferManager accounting remain LRU; no new configuration option is introduced.
   
   ### Tests
   
   - `./mvnw verify -pl fluss-server -am -Dtest=KvManagerTest,RocksDBResourceContainerTest -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false` (Java 11).
   - Workload-level performance comparisons have not been run; no throughput or latency improvement is claimed.
   
   ### API and Format
   
   No public API or storage-format changes.
   
   ### Documentation
   
   No new configuration or user-facing API.
   


-- 
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@fluss.apache.org

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


Re: [PR] [kv] Use HyperClockCache for the shared RocksDB block cache [fluss]

Posted by "platinumhamburg (via GitHub)" <gi...@apache.org>.
platinumhamburg merged PR #4611:
URL: https://github.com/apache/fluss/pull/4611


-- 
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@fluss.apache.org

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