Tagged articles
caching strategies
22 articles · Page 1 of 1
This chapter explores system configuration architecture design, covering storage and loading strategies, multi-level caching, distributed configuration centers, dictionary management, multi-tenant configuration hierarchies, and governance practices including versioning, auditing, canary releases, and historical snapshot preservation for auditability.
Architecture DesignConfiguration ManagementDistributed Systems
0 likes · 9 min read

The article explains how caching, especially with Redis, reduces database load in high‑traffic scenarios, but also details three cache failure modes—avalanche, penetration, and breakdown—and provides concrete mitigation techniques to keep systems stable.
Cachebackend-architecturecache avalanche
0 likes · 13 min read

This guide breaks down a real‑world interview scenario where a backend engineer must design a scalable database solution for a billing‑log or feed system handling 100 million daily inserts and 100 k QPS reads, covering partitioning vs sharding, sharding key selection, shard count, read‑write separation, multi‑level caching, consistency patterns, hot‑key mitigation, and online schema changes.
Online Schema ChangeRead-Write Separationbackend-architecture
0 likes · 10 min read

This article explains Redis eviction policies, how the eviction process works, and practical solutions for cache penetration, breakdown, and avalanche, helping you select optimal strategies and mitigate high‑traffic cache failures.
BackendCache Evictioncaching strategies
0 likes · 10 min read

The article explains what cache penetration is, why it can crash databases under malicious traffic, and presents practical mitigation techniques such as Bloom filters, null-value caching, data pre‑warming, and request validation to protect Redis‑backed systems.
Backend PerformanceBloom FilterNull Caching
0 likes · 6 min read

This article explains why Redis cache penetration occurs, how malicious requests can overload databases, and presents two effective mitigation strategies—caching empty objects and employing Bloom filters—detailing their implementation, advantages, and drawbacks.
Bloom Filtercaching strategiesredis
0 likes · 4 min read

This article explains the causes of Redis cache penetration, avalanche, and thundering herd, and provides practical mitigation strategies such as caching null values, using white‑lists, Bloom filters, pre‑warming hot keys, staggered expirations, multi‑level caching, and lock mechanisms.
BackendCacheDistributed Systems
0 likes · 7 min read

This article explains why Redis is used as a cache, outlines common consistency problems such as cache miss, penetration, and avalanche, compares cache‑aside, read‑through, write‑through and write‑behind patterns, and presents practical solutions like delayed double‑delete, retry mechanisms and binlog‑based asynchronous deletion to maintain eventual consistency between cache and database.
Cache Asidecaching strategiesdata-consistency
0 likes · 19 min read

This article examines why cache consistency cannot be fully guaranteed, analyzes common inconsistency scenarios between Redis and MySQL, compares four update strategies, and offers practical recommendations such as updating the database before deleting cache, using short expiration times, delayed double‑delete, MQ or binlog approaches to achieve eventual consistency.
BackendConsistencycaching strategies
0 likes · 19 min read

This article discusses strategies to optimize H5 performance in mobile apps by implementing caching mechanisms and reusing webviews, significantly reducing loading times from an average of 2s+ to 1s+.
Frontend Developmentcaching strategiesh5 optimization
0 likes · 9 min read

The article reviews major cache‑consistency strategies—Cache‑Aside, Read‑Through, Write‑Through, and Write‑Behind—detailing their performance and consistency trade‑offs, discusses compensation techniques such as delayed double‑delete and MySQL binlog‑based incremental parsing (DTS) for reliable deletion and HA, and advises selecting the appropriate approach based on specific business requirements.
Cache ConsistencyDistributed Systemscaching strategies
0 likes · 15 min read

The article guides readers from grasping hardware, OS, and software layers—including Intel Xeon, virtualization, VPC, and containers—to gathering performance data with tools like JProfiler and perf, then applying data‑driven optimization across business logic, architecture, code, caching, databases, runtime and hardware, illustrated by real‑world case studies and emphasizing continual learning.
Backend DevelopmentContainer TechnologiesHardware Understanding
0 likes · 43 min read

From its 2017 v2.0 upgrade to a service‑oriented design, vivo Mall’s product system was split from the monolithic mall, progressively adding independent activity, flash‑sale, consignment, and inventory services while employing rate limiting, multi‑level caching, circuit breaking, and distributed transactions to ensure stability, high performance, and data consistency.
Backend DevelopmentData Consistencycaching strategies
0 likes · 9 min read

The article examines why growing business complexity and throughput demands necessitate system decomposition and architectural evolution, detailing horizontal scaling, vertical and business splitting, database partitioning strategies, cache and index integration, remote service data sourcing, and asynchronous messaging to achieve scalable, robust micro‑service‑based solutions.
Asynchronous MessagingHorizontal ScalingMicroservices
0 likes · 9 min read

This article presents an interview scenario where a candidate is asked about Redis cache avalanche, explains the phenomenon, and offers four practical mitigation strategies—including cache pre‑warming, mutex locking, staggered expiration, and high‑availability designs—to keep backend databases from being overwhelmed.
BackendHigh Availabilitycache avalanche
0 likes · 4 min read

This article reviews five widely used cache read/write strategies—including simple write‑DB‑then‑cache, Cache‑Aside, Write/Read‑Through, Write‑Back, and LRU eviction—explaining their workflows, advantages, disadvantages, and suitability for different production scenarios.
Backend DevelopmentCachecaching strategies
0 likes · 7 min read

This article explains the concepts of cache avalanche, cache breakdown, and cache penetration, outlines their potential impact on database performance, and presents practical mitigation techniques such as mutex locking, data pre‑warming, multi‑level caches, and popular caching patterns like Cache‑Aside, Read/Write‑Through, and Write‑Behind.
Backendcaching strategies
0 likes · 8 min read

The article explains various cache problems—including consistency, concurrency, penetration, avalanche, and the bottomless‑pit phenomenon—and presents practical mitigation techniques such as active updates, locking, empty‑object caching, request filtering, consistent hashing, and multi‑level caching to ensure reliable high‑performance systems.
CacheConsistencyavalanche
0 likes · 8 min read

This article explains the fundamentals of Service Workers, demonstrates common pitfalls with raw SW code, provides a complete SW implementation, introduces Workbox 3 to simplify caching, compares several caching strategies, and shares practical recommendations for optimal PWA performance.
PWAService WorkerWorkbox
0 likes · 9 min read

This article explains why distributed caching is essential for high‑concurrency systems, outlines typical use cases, compares Memcached and Redis across features and performance, and discusses common problems such as cache avalanche, penetration, warm‑up, update strategies, and degradation.
Backend PerformanceMemcachedcaching strategies
0 likes · 8 min read


ITPUBMay 18, 2017 · Backend Development
This article explains common problems of distributed caching such as cache breakdown, cache expiration, and hot‑key bottlenecks, and provides practical mitigation techniques including default null values, staggered expiration times, distributed locking, client‑side caching, and key sharding to maintain high‑concurrency performance.
Backend PerformanceHot Keycache breakdown
0 likes · 5 min read

An in‑depth recap of Hong Xiaojun’s QCon presentation reveals how Meipai’s architecture evolved from a minimalist design to a highly scalable, high‑availability system, tackling MySQL bottlenecks, cache challenges, monitoring, CDN resilience, and technology migrations to support rapid growth to over a hundred million users.
MySQL optimizationSystem Designcaching strategies
0 likes · 8 min read
