SMRTR ProgrammingNov 11, 2024Lobsters

Analyzing the codebase of Caffeine: a high performance caching library

SMRTR summary

Caffeine is a high-performance Java caching library that uses advanced eviction policies and data structures. It employs a Window TinyLFU policy, frequency sketches, and hierarchical timer wheels to optimize cache hit rates and efficiently manage expiration. These techniques allow Caffeine to outperform traditional LRU caches in many scenarios.

SMRTR provides this summary for quick context. The original article belongs to Lobsters.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming
ProgrammingAug 23, 2026

Rust Glancer

Rust-analyzer's memory bloat stems from treating all 6,666 dependencies equally — a tiered, IntelliJ-style backend could fix that.