Implementing a distributed lock via Zenoh #177
hassomehide
started this conversation in
Ideas and new features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Zenoh provides some very nice high level abstractions for working with distributed systems. One such abstraction that is missing, however, is distributed locks. I would assume that Zenoh already implements some kind of distributed locking internally - if so, is there any plan to make it a publicly available feature via the client libraries? And if not, how would one implement a distributed lock using the existing primitives?
For instance, imagine this kotlin pseudocode which I adapted from
java.util.concurrent.locks.Lock#tryLock()
:Beta Was this translation helpful? Give feedback.
All reactions