Tagged articles
W-TinyLFU
11 articles · Page 1 of 1
This article explores Caffeine's W-TinyLFU eviction algorithm, five-step hit-rate engineering methodology, and a real-world Spring Boot case study that improved cache hit rate from 62% to 98.7% through capacity weighting, refresh-after-write, and hot-key isolation.
AsyncCacheCache EvictionCache Hit Rate
0 likes · 19 min read

Caffeine is a high‑performance, low‑memory Java cache library that outperforms alternatives in benchmarks, uses the W‑TinyLFU eviction algorithm, offers extensive configuration (capacity, weight, expiration, listeners, stats), and integrates seamlessly with Spring and Guava concepts.
CacheCaffeineJava
0 likes · 13 min read

This article explains the advantages of Caffeine Cache's W‑TinyLFU algorithm over traditional FIFO, LRU, and LFU policies, details its eviction and reference‑type strategies, and provides step‑by‑step guidance for integrating Caffeine into Spring Boot applications with code examples and configuration tips.
Cache EvictionCaffeine CacheJava
0 likes · 27 min read

This article explains the high‑performance Caffeine Cache library, its W‑TinyLFU eviction algorithm, various loading and eviction strategies, statistics collection, and how to integrate and configure it in Spring Boot using annotations and programmatic beans.
Cache AnnotationsCache EvictionCaffeine Cache
0 likes · 22 min read

Server‑side caching improves performance by trading space for time, using local caches like HashMap, Guava, Ehcache, and Caffeine, distributed caches such as Redis, and multi‑level architectures that combine in‑process, distributed, and database layers, while employing consistency patterns, monitoring, and hot‑key detection.
Cache ConsistencyCachingCaffeine
0 likes · 16 min read

This article introduces Caffeine Cache as a high‑performance replacement for Guava Cache, explains its W‑TinyLFU eviction algorithm, demonstrates various loading and eviction strategies with code examples, and shows how to integrate and configure it in Spring Boot applications.
BackendCacheW-TinyLFU
0 likes · 25 min read

This article introduces Caffeine Cache as a high‑performance local caching solution that improves on Guava Cache by using the W‑TinyLFU eviction algorithm, explains its core concepts, demonstrates manual, synchronous, and asynchronous loading strategies, details eviction policies, and provides step‑by‑step integration and configuration examples for Spring Boot applications.
Cache EvictionCaffeine CacheJava Caching
0 likes · 22 min read

This article provides a comprehensive analysis of the Caffeine Java caching library, covering its performance‑focused W‑TinyLFU eviction algorithm, detailed source‑code walkthroughs of frequency sketching, read/write buffers, timer‑wheel expiration, and practical usage examples compared with Guava Cache.
BackendCacheCaffeine
0 likes · 35 min read

This article explains Caffeine, a high‑performance Java local cache, comparing it with Guava Cache, detailing its W‑TinyLFU eviction policy, asynchronous read/write buffers, timer‑wheel expiration, and provides extensive source code analysis to illustrate its design and optimization techniques.
AlgorithmsCacheCaffeine
0 likes · 36 min read

Caffeine is a high‑performance Java 8 local‑cache library that replaces Guava by using the W‑TinyLFU algorithm with three‑queue LRU structures and lock‑free read/write buffers, offering extensive configuration, dynamic runtime adjustments, and safe back‑source loading with distributed locks to prevent cache‑stampede.
CacheCaffeineJava
0 likes · 13 min read

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
