Re:How to do distributed locking
by u320 on Monday February 08, 2016 @05:00PM
(#11061191)
> I think the unique random token of Redlock is enough for Check & Set when the lock holder work materializes into a database write
But that's optimistic concurrency control! In that case the locking service is a pure optimization and doesn't affect correctness. So why use this complex multi-node locking thing then, instead of a single redis node?
But that's optimistic concurrency control! In that case the locking service is a pure optimization and doesn't affect correctness. So why use this complex multi-node locking thing then, instead of a single redis node?