Skip to content

Topic

Lease-based concurrency control

Coordination schemes in which a holder gets exclusive rights for a bounded time, after which the right expires automatically so that a failed holder cannot block others forever.

Current clusters

build1 publisher

Expired Redis leases let two Go workers process the same invoice at once

Redis leases in a dev.to Go lock guide expire after 10 seconds mid-job, so a second worker takes the invoice while the first keeps running. The owner-checked release protects only the lock key, so refusing the stale worker's writes falls to the store.

Publishers:dev.to

Reality

Evidence55
Adoption
Insufficient
Hype gap−10
Incentives
Insufficient
Confidence60