Skip to content
Tagged articles

fencing tokens

3 articles · Page 1 of 1
IT Architects Alliance
IT Architects Alliance
Oct 19, 2026 · Backend Development

GC Pauses Break Redis Locks: How Fencing Tokens Prevent Stale Overwrites

The article explains how Redis distributed locks with TTL leases fail to prevent stale writes when a garbage collection pause delays a lock holder past its lease expiry, allowing a new holder to write fresh data that the original holder then overwrites upon resuming; it demonstrates why fencing tokens — incrementing sequence numbers issued atomically with lock grants and checked atomically at the storage layer via conditional updates — are necessary to reject obsolete writes.

GC pausePostgreSQLRedlock
0 likes · 12 min read
GC Pauses Break Redis Locks: How Fencing Tokens Prevent Stale Overwrites
AliExpress Tech
AliExpress Tech
Oct 9, 2026 · Backend Development

Event-Sourced Reliable Execution Framework for Multi-Agent Video Generation

The article details a Java framework that uses event sourcing as the sole fact source, a deterministic rule table for control-plane decisions, and mechanisms for crash recovery, concurrency control, budget enforcement, compliance gating, and non-blocking human approvals to make long-running, costly multi-agent video pipelines reliable.

Crash RecoveryHuman-in-the-LoopJava framework
0 likes · 30 min read
Event-Sourced Reliable Execution Framework for Multi-Agent Video Generation