Tagged articles
4 articles
Page 1 of 1
ITPUB
ITPUB
May 27, 2021 · Backend Development

Ensuring Cache‑Database Consistency: Strategies, Pitfalls, and Delayed Double‑Delete

This article examines common cache‑database consistency approaches, analyzes their drawbacks through concrete examples, compares them in a decision matrix, and proposes a reliable solution—delayed double‑delete with retry mechanisms—detailing implementation code, timing considerations, and practical deployment tips for high‑read, low‑write services.

Cache Consistencyconsistency strategiesdatabase
0 likes · 11 min read
Ensuring Cache‑Database Consistency: Strategies, Pitfalls, and Delayed Double‑Delete
Java Interview Crash Guide
Java Interview Crash Guide
May 9, 2021 · Databases

Choosing the Right Cache Consistency Strategy for Redis‑MySQL Integration

This article examines why database caching is needed, outlines the consistency challenges of using Redis as a MySQL cache, and compares four practical solutions—from simple TTL expiration to binlog subscription—helping developers select the most suitable approach for their latency and reliability requirements.

Cache ConsistencyDatabase Cachingconsistency strategies
0 likes · 7 min read
Choosing the Right Cache Consistency Strategy for Redis‑MySQL Integration
Selected Java Interview Questions
Selected Java Interview Questions
May 8, 2021 · Databases

Cache Consistency Strategies for MySQL Using Redis

This article examines why caching is needed for MySQL, discusses consistency challenges, and compares four Redis‑based solutions—including expiration, synchronous updates, Kafka‑mediated async updates, and binlog replication—offering guidance on selecting the appropriate approach based on latency and reliability requirements.

BackendCache ConsistencyDatabase Caching
0 likes · 9 min read
Cache Consistency Strategies for MySQL Using Redis
Java Architect Essentials
Java Architect Essentials
Sep 7, 2020 · Databases

Database Cache Consistency: Strategies and Trade‑offs Using Redis as a MySQL Cache

This article explains why database caching is essential, outlines the consistency challenges of using Redis as a MySQL cache, and compares four practical synchronization solutions—ranging from simple TTL expiration to binlog subscription—highlighting their advantages, drawbacks, and appropriate selection criteria.

Backend ArchitectureCache ConsistencyDatabase Caching
0 likes · 8 min read
Database Cache Consistency: Strategies and Trade‑offs Using Redis as a MySQL Cache