Tagged articles
3 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Jan 23, 2026 · Databases

How to Keep Cache and Database Consistent: 4 Common Strategies and Their Pitfalls

This article examines the double‑write consistency problem between databases and caches like Redis, explains why naïve cache‑first or DB‑first updates can cause stale or phantom data under high concurrency, and evaluates four practical solutions with detailed trade‑offs and recommended retry mechanisms.

Cache Consistencydatabasehigh concurrency
0 likes · 17 min read
How to Keep Cache and Database Consistent: 4 Common Strategies and Their Pitfalls
Test Development Learning Exchange
Test Development Learning Exchange
Dec 28, 2023 · Backend Development

Using Decorators in Python Testing Frameworks

This article explores the use of decorators in Python testing frameworks to enhance test functionality, manage setup/teardown, handle data-driven tests, and implement features like retries, logging, and performance profiling.

Setup Teardownloggingretry mechanisms
0 likes · 18 min read
Using Decorators in Python Testing Frameworks
Java Interview Crash Guide
Java Interview Crash Guide
Sep 12, 2021 · Backend Development

Mastering Distributed Transactions: From Blocking Retries to TCC and MQ

This article examines common distributed transaction patterns in micro‑service architectures—including blocking retries, asynchronous queues, TCC compensation, local message tables, and MQ transactions—explaining their mechanisms, advantages, drawbacks, and practical implementation details.

Distributed TransactionsMessage QueueMicroservices
0 likes · 13 min read
Mastering Distributed Transactions: From Blocking Retries to TCC and MQ