Routing-Embedded Locking: Distributed Coordination Without a Lock Service
Debashis Roy, Sankalp Mulye, Narasimhan Govindarajan, Jay Rajeevalochanam
Source record
Source: Crossref
Published: Oct 13, 2026
DOI: 10.20944/preprints202610.0263.v2
Open original source ↗Source abstract
Live data migration across geographic regions in Internet-scale cloud services requires distributed locking—but a dedicated lock service adds infrastructure, a lock lookup on the request path, and an atomicity gap between lock release and location cutover. We describe an architectural alternative: embedding lock metadata in the routing records that services already read on every user request. The coordination primitives are standard—fencing tokens, leases, and conditional writes; what changes is where lock state lives. Deployed at a large-scale real-time messaging platform processing 6–10 million migrations per day, this placement lets lock checks ride the existing routing lookup, adding one point read only for the small, transient set of resources holding an active lock; it makes location swap and lock release a single atomic database write; and it propagates locks by passive cache expiry rather than active invalidation. Write-lock duration—the only user-impacting phase—holds at p99 under 20 seconds. We compare the design architecturally with Chubby, ZooKeeper, Redlock, and DynamoDB Lock Client, separate measured from inferred benefits, and discuss where infrastructure-embedded coordination applies.
Evidence graph
No public relationships recorded yet.
Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.