News for hackers. Stuff that matters.
Re:How to do distributed locking (2016) by diggs on Sunday May 14, 2023 @03:15AM (#35936029)
An infinite timeout works in theory, but it is impractical at scale.
Re:How to do distributed locking (2016) by FooBarWidget on Monday May 15, 2023 @03:05PM (#35953069)
Okay but then I really don't know what point you're trying to make. Either an infinite timeout, or non-absolute mutual exclusion guarantee: we have to pick either one. The right choice depends on the workload. There is no perfect solution that lets you have your cake and eat it too.