Tagged articles
19 articles
Page 1 of 1
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.

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

Backend DevelopmentCacheCache Consistency
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.

Backend DevelopmentCaffeineMulti-level Cache
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 Cachedistributed cachelocal 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.

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

CDNMemcachedMulti-level Cache
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