Tag

Write Through

1 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Jan 29, 2024 · Databases

Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices

This article explains the relationship between MySQL and Redis, discusses why cache consistency is challenging, and details four cache update design patterns—delete‑then‑update, update‑then‑invalidate, read/write‑through, and write‑behind—along with their advantages, drawbacks, and typical execution flows.

BackendCache ConsistencyRedis
0 likes · 9 min read
Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices
Architecture Digest
Architecture Digest
Dec 9, 2019 · Backend Development

Cache Operations: Read, Write, Consistency Issues and Optimization Strategies

This article explains cache read and write mechanisms, the impact of operation order on data consistency, and presents optimization techniques such as delayed double deletion and binlog subscription to mitigate inconsistency in high‑concurrency backend systems.

BackendCacheWrite Through
0 likes · 9 min read
Cache Operations: Read, Write, Consistency Issues and Optimization Strategies