Skip to content
Tagged articles

Caffeine

104 articles · Page 2 of 2
Architecture Digest
Architecture Digest
Aug 21, 2018 · Backend Development

Evolution of Java Caching at iQIYI: From Database Lookups to Guava and Caffeine

This article traces iQIYI's five‑stage journey of Java caching—from simple database queries and in‑process HashMap caches, through Guava's advanced features addressing lock contention, expiration, and refresh, to the high‑performance Caffeine library with its W‑TinyLFU algorithm—while providing code examples and architectural insights.

CaffeineGuavaLRU
0 likes · 20 min read
Evolution of Java Caching at iQIYI: From Database Lookups to Guava and Caffeine
Senior Brother's Insights
Senior Brother's Insights
Aug 21, 2018 · Backend Development

From Redis to Caffeine: iQIYI’s Journey Through Java Caching Strategies

This article traces iQIYI’s five‑stage evolution of Java caching—from simple database lookups and Redis synchronization to Guava Cache enhancements and finally to Caffeine’s W‑TinyLFU implementation—explaining each approach, its advantages, drawbacks, and the underlying algorithms that drive modern cache performance.

CaffeineGuavaJava
0 likes · 20 min read
From Redis to Caffeine: iQIYI’s Journey Through Java Caching Strategies
Java Backend Technology
Java Backend Technology
Aug 20, 2018 · Backend Development

From Redis to Caffeine: Evolution of Java Caching Strategies at iQIYI

This article traces iQIYI’s five‑stage Java caching journey—from early database lookups, through Redis synchronization, in‑process HashMap and Guava caches, to modern Caffeine with W‑TinyLFU—explaining each phase’s advantages, drawbacks, eviction algorithms, and implementation details such as segment locking, expiration queues, and multi‑queue data structures.

Cache EvictionCaffeineGuava
0 likes · 21 min read
From Redis to Caffeine: Evolution of Java Caching Strategies at iQIYI