Tagged articles
4 articles
Page 1 of 1
macrozheng
macrozheng
Oct 21, 2025 · Backend Development

Boost Massive Task Retries with Fast‑Retry: A High‑Performance Async Framework

This article introduces Fast‑Retry, a high‑performance asynchronous multi‑task retry framework for Java, compares its speed against Spring‑Retry and Guava‑Retry, and provides step‑by‑step code examples for dependency setup, task creation, annotation usage, and custom retry annotations.

asynchronous-retryfast-retryjava
0 likes · 12 min read
Boost Massive Task Retries with Fast‑Retry: A High‑Performance Async Framework
Sanyou's Java Diary
Sanyou's Java Diary
Oct 8, 2022 · Backend Development

How to Keep Cache and Database Consistent: Strategies, Pitfalls, and Best Practices

This article explains why cache‑database consistency is a classic challenge, compares common update‑then‑delete patterns, analyzes concurrency and master‑slave delay issues, and recommends reliable solutions such as asynchronous retries with message queues or binlog subscription to achieve eventual consistency.

asynchronous-retrycachingdatabase-consistency
0 likes · 18 min read
How to Keep Cache and Database Consistent: Strategies, Pitfalls, and Best Practices
dbaplus Community
dbaplus Community
Dec 7, 2021 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies, Pitfalls & Best Practices

This article explains why caching improves performance, examines the trade‑offs between cache utilization and data consistency, analyzes concurrency‑induced inconsistency scenarios, compares update‑then‑delete versus delete‑then‑update approaches, and recommends asynchronous retry with message queues or binlog subscription to reliably keep cache and database in sync.

CacheDelayed Double Deleteasynchronous-retry
0 likes · 19 min read
How to Ensure Cache‑Database Consistency: Strategies, Pitfalls & Best Practices
dbaplus Community
dbaplus Community
May 31, 2018 · Backend Development

Mastering Cache Update Strategies: When to Delete, Update, or Delay

This article examines three common cache‑update approaches—updating the cache after the database, deleting the cache before the database write, and deleting after the database write—analyzes their drawbacks, and presents improved solutions such as delayed double‑delete, asynchronous retries, and binlog‑driven mechanisms.

BackendConsistencyasynchronous-retry
0 likes · 11 min read
Mastering Cache Update Strategies: When to Delete, Update, or Delay