News for hackers. Stuff that matters.
Re:Show HN: Lockable – sync locks for distributed systems by vore on Saturday June 18, 2022 @05:44AM (#31788523)
As these locks automatically expire, it seems scary to me that losing network connectivity for >TTL can break mutual exclusion guarantees.
Re:Show HN: Lockable – sync locks for distributed systems by keyless_ on Saturday June 18, 2022 @08:05AM (#31789120)
Unfortunately, you do need _some_ sort of TTL because there is no way for the lockable server to know when a remote process has simply died.

However, TTLs can be set to be arbitrarily long (e.g. multiple days), which means, in practice, you can avoid losing locks due to networking issues.

Re:Show HN: Lockable – sync locks for distributed systems by IanCal on Saturday June 18, 2022 @09:31AM (#31789652)
You can instead have manual overrides. Not seeing a lock means that at least a person has decided it's safe to run Vs something simply have taken too long to respond.
Re:Show HN: Lockable – sync locks for distributed systems by GordonS on Saturday June 18, 2022 @10:21AM (#31790036)
If TTLs can be arbitrary lengths, wouldn't setting them to high values (a week, month, year, whatever) allow you to implement whatever manual override mechanism you wanted?