Tagged articles

Multi-Level Cache

24 articles · Page 1 of 1
Architecture & Thinking
Architecture & Thinking
Jul 9, 2026 · Backend Development

Prevent Cache Avalanche with Multi‑Level Caffeine + Redis: High‑Availability Design

The article explains how combining a local Caffeine cache with a Redis cluster in a three‑tier architecture can protect high‑traffic distributed systems from cache avalanche, detailing expiration strategies, hot‑cold data separation, fault‑tolerant fallback, consistency handling, performance benchmarks, and practical pitfalls.

Cache AvalancheCaffeineHigh Availability
0 likes · 18 min read
Prevent Cache Avalanche with Multi‑Level Caffeine + Redis: High‑Availability Design
Cloud Architecture
Cloud Architecture
Jun 27, 2026 · Backend Development

Spring Multi-Level Cache: Production Design & Management with Caffeine + Redis

Spring’s multi‑level caching combines Caffeine’s ultra‑fast local store with Redis’s distributed capacity to tackle high‑concurrency challenges such as read amplification, cache storms, consistency, and capacity management, offering a production‑grade design, implementation details, risk boundaries, and evolution paths for robust Spring applications.

CaffeineMulti-Level CacheRedis
0 likes · 36 min read
Spring Multi-Level Cache: Production Design & Management with Caffeine + Redis
Java Tech Workshop
Java Tech Workshop
Jun 1, 2026 · Backend Development

Advanced SpringBoot Caching: How to Build a Custom CacheManager

The article explains why the default SpringBoot cache manager is insufficient for production, then walks through creating custom Caffeine and Redis CacheManager beans, configuring expiration, key prefixes, serialization, and multi‑level caching to solve issues like cache penetration, key collisions, and performance bottlenecks.

CacheManagerCaffeineMulti-Level Cache
0 likes · 11 min read
Advanced SpringBoot Caching: How to Build a Custom CacheManager
Lobster Programming
Lobster Programming
May 25, 2026 · Backend Development

Designing a System That Can Survive Sudden Spikes of One Million QPS

The article analyzes why simply adding Redis nodes cannot handle a sudden million‑QPS surge, then presents three practical solutions—key sharding, multi‑level caching with hot‑key detection, and distributed‑lock‑based fallback—to build a resilient high‑concurrency backend.

Cache ShardingHot Key DetectionMulti-Level Cache
0 likes · 7 min read
Designing a System That Can Survive Sudden Spikes of One Million QPS
Cloud Architecture
Cloud Architecture
Mar 27, 2026 · Backend Development

Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management

This article presents a production-ready multi-level caching architecture for Spring Boot 3 using Caffeine as L1, Redis as L2, and a database as L3, detailing design goals, hotspot mitigation, consistency handling, failure protection, implementation code, monitoring, and performance evaluation for high-concurrency e-commerce scenarios.

Cache invalidationCaffeineHotspot Management
0 likes · 36 min read
Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management
IT Services Circle
IT Services Circle
Jan 20, 2026 · Backend Development

How to Achieve Near‑Perfect Cache Consistency: Double‑Check, Queues, and Advanced Strategies

This article walks through the fundamentals and advanced techniques for guaranteeing cache consistency, covering the Double‑Check pattern, root causes of inconsistency, interview‑ready questions, practical solutions like message queues, optimistic locking, multi‑level caching, and cutting‑edge schemes such as consistent hashing with singleflight.

Cache ConsistencyMulti-Level Cacheconsistent hashing
0 likes · 20 min read
How to Achieve Near‑Perfect Cache Consistency: Double‑Check, Queues, and Advanced Strategies
Sanyou's Java Diary
Sanyou's Java Diary
Aug 7, 2025 · Backend Development

How Easy-Cache Solves Distributed Cache Pain Points with Multi-Level Design

This article introduces Easy-Cache, a Spring-AOP based caching framework that provides annotation-driven, multi-level Redis and local cache with dynamic upgrade/downgrade, elastic expiration, and Lua-script-ensured data consistency, eliminating repetitive cache code and handling failures, cache penetration, breakdown, and eventual consistency challenges.

LuaMulti-Level CacheSpring AOP
0 likes · 18 min read
How Easy-Cache Solves Distributed Cache Pain Points with Multi-Level Design
Tech Freedom Circle
Tech Freedom Circle
May 30, 2025 · Backend Development

Designing a Cache for 10 M MySQL Rows with Only 2 M Redis Slots – Meituan Interview Answer

The article analyzes a Meituan interview question about caching 10 million MySQL rows when Redis can store only 200 thousand rows, presenting a five‑step three‑tier cache architecture that separates cold and hot data, selects appropriate eviction policies, uses proactive hotspot detection, adds multi‑level defense, and employs both scheduled and real‑time pre‑heating, with performance numbers showing an 85% hit rate and 100 ms latency.

Cache DesignHotKeyLFU
0 likes · 29 min read
Designing a Cache for 10 M MySQL Rows with Only 2 M Redis Slots – Meituan Interview Answer
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 14, 2023 · Backend Development

Building a Multi‑Level Cache Consistency Framework for Live‑Streaming Platforms

This article describes how a social live‑streaming platform designed and implemented a custom multi‑level cache consistency framework, detailing the background challenges, the architecture of a cache pipeline with Zookeeper‑based node discovery and retry‑enabled execution, and the integration SDKs that enable transparent cache clearing across services.

Cache ConsistencyMulti-Level CacheZookeeper
0 likes · 10 min read
Building a Multi‑Level Cache Consistency Framework for Live‑Streaming Platforms
Code Ape Tech Column
Code Ape Tech Column
Aug 18, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache framework, explains how to configure and combine local and remote (Redis) caches in a Spring Boot project, and demonstrates three usage patterns—AOP annotations, API mode, and advanced CacheManager API—along with troubleshooting tips and test procedures.

JetCacheMulti-Level CacheSpring Boot
0 likes · 11 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
Sanyou's Java Diary
Sanyou's Java Diary
Feb 20, 2023 · Backend Development

Mastering Spring Cache: From Hard‑Coded to Multi‑Level Redis Integration

This tutorial walks through the evolution from manual Redis calls to Spring Cache abstraction, explains AOP‑based proxying, details core annotations, demonstrates Caffeine and Redisson integration, explores list caching, and shows how to build a custom two‑level cache for high‑performance Java back‑ends.

CaffeineMulti-Level CacheRedis
0 likes · 18 min read
Mastering Spring Cache: From Hard‑Coded to Multi‑Level Redis Integration
Top Architect
Top Architect
Dec 14, 2022 · Backend Development

Cache Basics: Concepts, Types, Advantages, and Implementation Strategies

This article explains the fundamentals of caching, why caches (especially Redis) are essential for high‑performance and high‑concurrency scenarios, describes local, distributed, and multi‑level cache architectures, outlines their pros and cons, and provides practical implementation guidance.

Multi-Level CacheRedisdistributed cache
0 likes · 10 min read
Cache Basics: Concepts, Types, Advantages, and Implementation Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2022 · Backend Development

Understanding Cache: Concepts, Types, and Implementation in Backend Development

This article explains the fundamentals of caching, why caches like Redis are essential for high‑performance and high‑concurrency backend systems, and compares local, distributed, and multi‑level cache architectures, including their advantages, drawbacks, and typical implementation approaches.

Multi-Level Cachebackendlocal cache
0 likes · 9 min read
Understanding Cache: Concepts, Types, and Implementation in Backend Development
ITPUB
ITPUB
Aug 9, 2022 · Backend Development

Mastering Cache Strategies: From Local to Multi‑Level for High‑Performance Systems

This article walks through practical cache designs—local page caching, object caching with Ehcache, distributed caches like Redis and Memcached, and multi‑level cache architectures—showing real‑world code, refresh policies, and pitfalls to help engineers boost performance and stability in high‑traffic applications.

Multi-Level Cachebackendcaching
0 likes · 13 min read
Mastering Cache Strategies: From Local to Multi‑Level for High‑Performance Systems
vivo Internet Technology
vivo Internet Technology
Apr 6, 2022 · Backend Development

Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices

This guide explains caching fundamentals, purposes, and optimal use cases, details hit rates and eviction policies such as FIFO, LRU, LFU, TTL/TTI, compares client‑side (HTTP, browser) and server‑side caches (CDN, Redis, Memcached), explores multi‑level architectures, common pitfalls like avalanche, penetration and breakdown, and best‑practice strategies including pre‑warming, update patterns, and consistency management.

CDNCache AvalancheMemcached
0 likes · 28 min read
Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices
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 ConsistencyCaffeineHot Key Detection
0 likes · 16 min read
Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices
Efficient Ops
Efficient Ops
Nov 8, 2016 · Backend Development

Master Multi-Level Caching: Strategies, Load Balancing, and Fast Recovery

This article explores multi‑level caching architectures, detailing how Nginx, local and distributed caches, and Tomcat interact, and offers practical solutions for expiration strategies, dimensional caching, load‑balancing algorithms, hot‑data handling, atomic updates, and rapid recovery from cache failures.

Cache ConsistencyMulti-Level CacheNginx
0 likes · 17 min read
Master Multi-Level Caching: Strategies, Load Balancing, and Fast Recovery