Skip to content
Tagged articles

Multi-level Cache

29 articles · Page 1 of 1
Architecture Pony
Architecture Pony
Oct 29, 2026 · Backend Development

Spring Boot Caching: From @Cacheable to Multi-Level Consistency Defense

This comprehensive guide explores Spring Boot's caching abstraction, detailing @Cacheable execution flow, source code internals, four consistency strategies (Cache Aside, delayed double-delete, binlog), multi-level Caffeine+Redis architecture, and eight production pitfalls with troubleshooting techniques.

@CacheableCache AsideCache Consistency
0 likes · 33 min read
Spring Boot Caching: From @Cacheable to Multi-Level Consistency Defense
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
Oct 18, 2026 · Artificial Intelligence

Stabilizing LLM Inference: Traffic Shaping, Dynamic Load Balancing & KVCache Awareness

Baidu Baige presents a three-layer stability framework for LLM inference services: tiered traffic control with minute-level autoscaling, dynamic request bucketing with cross-bucket KVCache migration boosting decode throughput 40-50%, and multi-level KV storage with global cache awareness keeping hit rates above 90% of theoretical maximum.

KVCacheLLM inferenceMulti-level Cache
0 likes · 21 min read
Stabilizing LLM Inference: Traffic Shaping, Dynamic Load Balancing & KVCache Awareness
Internet Backend Architecture Stack
Internet Backend Architecture Stack
Aug 13, 2026 · Databases

Redis Cluster Production Guide: HA, Sharding, Hot Keys & Pitfall Avoidance

This article provides a comprehensive production guide for Redis Cluster, covering cluster selection, hash slot principles, data skew solutions for big and hot keys, scaling strategies, master-slave replication latency handling, failure scenarios like split-brain, and a 7-point checklist with a real e-commerce case study.

Big KeyCaffeineData Skew
0 likes · 13 min read
Redis Cluster Production Guide: HA, Sharding, Hot Keys & Pitfall Avoidance
Internet Backend Architecture Stack
Internet Backend Architecture Stack
Aug 12, 2026 · Backend Development

Multi-Level Cache Architecture: Caffeine + Redis to Defeat Penetration, Breakthrough & Avalanche

This article details a production-ready multi-level caching architecture using Caffeine local cache and Redis distributed cache, covering read/write flows, consistency strategies via Pub/Sub or MQ, layered defenses against cache penetration, breakthrough, and avalanche, plus real-world pitfalls and a case study showing 75% traffic intercepted locally and 60% Redis CPU reduction.

Cache ConsistencyCaffeineMulti-level Cache
0 likes · 16 min read
Multi-Level Cache Architecture: Caffeine + Redis to Defeat Penetration, Breakthrough & Avalanche
Xiaolin Talks Programming
Xiaolin Talks Programming
Aug 5, 2026 · Backend Development

Spring Boot + Caffeine: Multi-Level Cache Architecture, Consistency & Load Tests

This article details integrating Caffeine with Spring Boot 3.x for a three-tier L1/L2/DB cache architecture, covering Window TinyLFU internals, refreshAfterWrite vs expireAfterWrite, manual vs annotation-driven integration, read/write paths, message-driven invalidation with version stamps, load test results showing 48k QPS at 2ms P99, and production tuning for memory, GC, and hot-key protection.

CachingCaffeineConsistency
0 likes · 20 min read
Spring Boot + Caffeine: Multi-Level Cache Architecture, Consistency & Load Tests
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.

CaffeineHigh AvailabilityJava
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.

CacheCaffeineMulti-level Cache
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.

CacheCacheManagerCaffeine
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 ShardingCircuit BreakerDistributed Lock
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.

CaffeineHotspot ManagementMulti-level Cache
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 ConsistencyConsistent HashingMulti-level Cache
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.

CacheDistributed LockLua
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.

HotKeyLFULRU
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.

CacheCache ConsistencyMulti-level Cache
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.

JavaJetCacheMulti-level Cache
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.

BackendMulti-level Cachelocal 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.

BackendCachingMulti-level Cache
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.

CDNCachingMemcached
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 ConsistencyCachingCaffeine
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 ConsistencyCachingMulti-level Cache
0 likes · 17 min read
Master Multi-Level Caching: Strategies, Load Balancing, and Fast Recovery