Tag

Cache Patterns

1 views collected around this technical thread.

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.

CacheCache PatternsDistributed Systems
0 likes · 10 min read
Ensuring Consistency Between Cache and Database: Patterns and Strategies
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 EvictionCache Patterns
0 likes · 18 min read
Cache Eviction Strategies and Java Cache Implementations