Routing-Embedded Locking: Distributed Coordination Without a Lock Service
Debashis Roy, Sankalp Mulye, Narasimhan Govindarajan, Jay Rajeevalochanam
Source record
Source: Crossref
Published: Oct 21, 2026
DOI: 10.20944/preprints202610.0263.v3
Open original source ↗Source abstract
Live cross-region data migration in Internet-scale cloud services needs distributed locking, but a dedicated lock service adds infrastructure, a lookup on the request path, and an atomicity gap between lock release and location cutover. We instead embed lock metadata in the routing records that services already read on every request. The primitives—fencing tokens, leases, and conditional writes—are standard; what changes is where lock state lives. In a messaging platform performing 6–10 million migrations per day, lock checks ride the existing routing lookup, adding a point read only for resources holding an active lock; location swap and lock release become one atomic write; and locks propagate by passive cache expiry. Write-lock duration, the only user-impacting phase, stays under 20 seconds at p99. We compare the design with established lock services and separate measured from inferred benefits.
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.