Tag

w-tinylfu

0 views collected around this technical thread.

Top Architect
Top Architect
Jul 8, 2022 · Backend Development

Caffeine Cache: Algorithm Advantages, Usage Strategies, and Spring Boot Integration

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
Caffeine Cache: Algorithm Advantages, Usage Strategies, and Spring Boot Integration
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Apr 6, 2022 · Backend Development

Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices

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 ConsistencyHot Key DetectionRedis
0 likes · 16 min read
Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices
macrozheng
macrozheng
Dec 29, 2021 · Backend Development

Mastering Caffeine Cache in Spring Boot: W‑TinyLFU, Configurations, and Code Samples

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.

BackendCacheJava
0 likes · 25 min read
Mastering Caffeine Cache in Spring Boot: W‑TinyLFU, Configurations, and Code Samples
Architect's Tech Stack
Architect's Tech Stack
Jun 24, 2021 · Backend Development

Caffeine Cache in Spring Boot: Algorithms, Configuration, and Practical Usage

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
Caffeine Cache in Spring Boot: Algorithms, Configuration, and Practical Usage
vivo Internet Technology
vivo Internet Technology
Jan 27, 2021 · Backend Development

Caffeine Cache: Principles, High‑Performance Read/Write, and Practical Usage in Java

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.

CacheConcurrencyJava
0 likes · 13 min read
Caffeine Cache: Principles, High‑Performance Read/Write, and Practical Usage in Java
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.

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