Tagged articles
10 articles
Page 1 of 1
JakartaEE China Community
JakartaEE China Community
Sep 2, 2025 · Backend Development

Choosing the Right Cache Solution: Key Criteria and Trade‑offs

This article explains why caching is a performance trade‑off, outlines essential cache features such as size limits, eviction policies, TTL, configuration, integration APIs, and distributed versus local modes, and provides a comprehensive checklist for evaluating cache providers.

CacheJCacheSpring Cache
0 likes · 12 min read
Choosing the Right Cache Solution: Key Criteria and Trade‑offs
Wukong Talks Architecture
Wukong Talks Architecture
Sep 12, 2021 · Backend Development

Ensuring Consistency Between Cache and Database: Patterns and Strategies

This article explains the fundamentals of data consistency in distributed systems, compares strong, weak, and eventual consistency, describes three classic cache patterns (Cache‑Aside, Read‑Through/Write‑Through, Write‑Behind), and presents practical techniques such as delayed double delete, retry mechanisms, and binlog‑based asynchronous deletion to keep Redis caches and MySQL databases in sync.

Backendcache patternsdistributed-systems
0 likes · 10 min read
Ensuring Consistency Between Cache and Database: Patterns and Strategies
Programmer DD
Programmer DD
Jan 12, 2021 · Backend Development

Mastering Cache Strategies: Preventing Bottlenecks in High‑Traffic Systems

This article explains how large‑scale internet applications can use various caching patterns—such as Cache‑Aside, Read‑Through, Write‑Through, and Write‑Behind—to alleviate database pressure, maintain data consistency, and avoid pitfalls like cache penetration, avalanche, and thundering under extreme traffic loads.

Backend PerformanceDistributed Systemscache patterns
0 likes · 9 min read
Mastering Cache Strategies: Preventing Bottlenecks in High‑Traffic Systems
Programmer DD
Programmer DD
Jan 10, 2021 · Backend Development

Mastering Cache Strategies to Prevent Bottlenecks in High‑Traffic Systems

This article explains how large‑scale internet applications can use various caching patterns—such as Cache‑Aside, Read‑Through, Write‑Through, and Write‑Behind—to reduce database load, avoid consistency problems, and mitigate high‑concurrency issues like cache avalanche and penetration.

Backend PerformanceSystem Architecturecache patterns
0 likes · 9 min read
Mastering Cache Strategies to Prevent Bottlenecks in High‑Traffic Systems
Programmer DD
Programmer DD
Jan 9, 2021 · Backend Development

How Cache Strategies Prevent Database Bottlenecks in High‑Traffic Systems

This article explains why massive traffic spikes can cripple database performance, introduces cache layers and common caching patterns, and offers practical solutions to consistency, concurrency, penetration, and avalanche problems for large‑scale internet applications.

Backend ArchitectureDatabase Performancecache patterns
0 likes · 9 min read
How Cache Strategies Prevent Database Bottlenecks in High‑Traffic Systems
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 1, 2020 · Backend Development

Mastering Cache: Core Concepts, Pitfalls, and Patterns for Scalable Systems

Cache leverages the space‑time trade‑off to boost performance, but introduces complexity; this guide explains its fundamental idea, local vs distributed solutions, popular Java caching libraries, and key read/write patterns such as Cache‑Aside, Read‑Through, and Write‑Behind, highlighting benefits, drawbacks, and best‑practice considerations.

System Designcache patternscaching
0 likes · 13 min read
Mastering Cache: Core Concepts, Pitfalls, and Patterns for Scalable Systems
ITPUB
ITPUB
Sep 28, 2020 · Backend Development

Preventing Cache Avalanche, Breakdown, and Penetration: Effective Strategies and Patterns

This article explains what cache avalanche, cache breakdown, and cache penetration are, why they threaten database stability, and presents practical solutions such as mutex locking, pre‑warming, double‑cache, timed updates, empty‑value caching, Bloom filters, as well as common cache patterns like Cache‑Aside, Read/Write‑Through, and Write‑Behind.

Backendcache patternscache-avalanche
0 likes · 9 min read
Preventing Cache Avalanche, Breakdown, and Penetration: Effective Strategies and Patterns
Programmer DD
Programmer DD
May 11, 2020 · Backend Development

Cache Patterns Explained: Choose the Right Strategy for Your App

This article explores common caching read/write patterns—including Cache‑Aside, Read‑Through/Write‑Through, Write‑Back, and Write‑Around—detailing their mechanisms, advantages, disadvantages, and suitable application scenarios, while also addressing consistency and thread‑safety concerns. It also provides practical guidance on handling cache misses and ensuring data integrity across distributed systems.

backend-developmentcache patternscaching
0 likes · 8 min read
Cache Patterns Explained: Choose the Right Strategy for Your App
Architecture Digest
Architecture Digest
Oct 12, 2017 · Backend Development

Cache Eviction Strategies and Java Cache Implementations

This article explains various cache eviction strategies, compares heap, off‑heap, disk and distributed cache types, and provides concrete Java implementations using Guava Cache, EhCache 3.x and MapDB with code examples and usage patterns such as Cache‑Aside and Cache‑As‑SoR.

CacheCache EvictionEhcache
0 likes · 18 min read
Cache Eviction Strategies and Java Cache Implementations
Architects' Tech Alliance
Architects' Tech Alliance
Aug 30, 2017 · Backend Development

Mastering Cache: When, How, and Pitfalls for Backend Developers

This article explains why caching is essential for backend services, outlines common cache problems such as penetration, concurrency, and avalanche, and compares cache-aside, read/write‑through, and write‑back patterns with practical guidance on choosing and updating caches.

Backendcache invalidationcache patterns
0 likes · 8 min read
Mastering Cache: When, How, and Pitfalls for Backend Developers