Tag

FrequencySketch

1 views collected around this technical thread.

Architecture Digest
Architecture Digest
Dec 17, 2020 · Backend Development

Deep Dive into Caffeine Cache: High‑Performance Design and Source‑Code Analysis

This article explains Caffeine, a high‑performance Java local cache that supersedes Guava Cache, by detailing its design principles such as the W‑TinyLFU eviction algorithm, FrequencySketch implementation, adaptive window sizing, asynchronous read/write buffers, and timer‑wheel expiration, accompanied by extensive code examples.

CacheCaffeineFrequencySketch
0 likes · 37 min read
Deep Dive into Caffeine Cache: High‑Performance Design and Source‑Code Analysis