Tag

cache strategy

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Apr 24, 2025 · Backend Development

Combining Redis and Caffeine for Multi‑Level Caching: Strategies and Best Practices

Combining Redis’s distributed, high‑capacity cache with Caffeine’s ultra‑fast local cache creates a two‑level strategy where most reads hit the in‑process cache, fall‑backs use Redis, and only rare misses query the database, dramatically cutting latency, boosting throughput, and easing DB load.

JavaRediscache strategy
0 likes · 12 min read
Combining Redis and Caffeine for Multi‑Level Caching: Strategies and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Oct 13, 2021 · Databases

Ensuring Data Consistency Between MySQL and Redis: Strategies and Best Practices

To keep MySQL and Redis synchronized, the article defines consistency, examines read‑only and read‑write cache inconsistency cases, and recommends practical strategies such as update‑DB‑then‑delete‑cache with message‑queue retries, binlog‑driven updates, delayed double‑delete, and Redis distributed locks, while outlining stronger protocols and key design considerations.

Distributed LockMessage QueueMySQL
0 likes · 15 min read
Ensuring Data Consistency Between MySQL and Redis: Strategies and Best Practices
macrozheng
macrozheng
Jul 12, 2021 · Backend Development

50+ Proven Tips to Slash Bugs in Your Backend Development

This article compiles over fifty practical tips covering database design, code practices, and cache usage to help developers dramatically reduce bugs, improve reliability, and boost overall software quality in everyday backend projects.

Database Optimizationbackend developmentbug reduction
0 likes · 30 min read
50+ Proven Tips to Slash Bugs in Your Backend Development