carrotdata / carrot-cache

In-Out-Process Java cache (L1/L2 off-heap, scalable, ZeroGC) with full SSD support
Other
3 stars 0 forks source link

[PERF] Move MemoryIndex fully off heap #447

Open VladRodionov opened 1 week ago

VladRodionov commented 1 week ago

We have two long arrays in Java heap, which can grow and thus we have to account them when set -Xmx - max memory for Java process. By moving these arrays off heap we make Java heap memory requirement more predictable.

VladRodionov commented 1 week ago

This will allow us as well to reduce heap requirements and improve tail latencies.