Tag

CacheDesign

1 views collected around this technical thread.

High Availability Architecture
High Availability Architecture
Jul 11, 2024 · Backend Development

AutoMQ Memory Cache Design and Mitigating Netty PooledByteBufAllocator Memory Fragmentation

The article explains AutoMQ's memory‑cache architecture, compares LogCache and BlockCache designs, analyzes Netty's internal and external memory fragmentation caused by the Buddy and PageRun/PoolSubpage allocators, and presents mitigation techniques such as ByteBufSeqAlloc to reduce OOM risks.

BackendCacheDesignDirectMemory
0 likes · 14 min read
AutoMQ Memory Cache Design and Mitigating Netty PooledByteBufAllocator Memory Fragmentation