Tagged articles

transaction boundary

2 articles · Page 1 of 1
Coder Trainee
Coder Trainee
Aug 19, 2026 · Backend Development

The “Ghost” Distributed Lock Issue: 3‑Day Debugging of Lock Failure

The article walks through a real production incident where a Redis‑based distributed lock silently failed, causing duplicate point awards, and details the step‑by‑step investigation, root‑cause analysis of transaction‑lock ordering, and three concrete remediation strategies.

Pessimistic LockRedisRedisson
0 likes · 9 min read
The “Ghost” Distributed Lock Issue: 3‑Day Debugging of Lock Failure
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Fundamentals

Why Aggregates Are So Hard in DDD: Using Invariants to Find Real Boundaries

The article explains that an aggregate is defined by the business invariants that must stay strongly consistent, shows how the aggregate root protects those rules, and provides concrete design principles—ID references, single‑aggregate transactions, small boundaries, validation tests, and common pitfalls—illustrated with an order domain example.

DDDDomain modelingInvariant
0 likes · 16 min read
Why Aggregates Are So Hard in DDD: Using Invariants to Find Real Boundaries