News for hackers. Stuff that matters.
Re:Show HN: Lockable – sync locks for distributed systems by skyde on Thursday June 16, 2022 @12:21PM (#31767851)
so it’s just a lease server but without the strong linearizability guarantee you would get with ETCD and zookeepers?
Re:Show HN: Lockable – sync locks for distributed systems by keyless_ on Thursday June 16, 2022 @01:34PM (#31768750)
Lockable itself isn't distributed (or, at the very least, doesn't appear distributed from the outside), so I'm not sure if linearizability applies here, but maybe I'm misunderstanding you comment.

In a similar vein, I guess you can ask what happens if a client first checks if a lock is available then tries to acquire it, in two separate steps; but in that case, there's no guarantee that the lock wasn't acquired in between checking and acquisition.

Re:Show HN: Lockable – sync locks for distributed systems by skyde on Thursday June 16, 2022 @12:23PM (#31767879)
basically if it does not use synchronous replication. and master server switch then 2 client could think they own an unexpired lock.

But if it does synchronous replication without using a consensus algorithm like Paxos or Raft then the system become unwrittable if an instance go down.