←back to thread

240 points yusufaytas | 1 comments | | HN request time: 0.207s | source
1. hoppp ◴[] No.41895978[source]
I did distributed locking with Deno, and Deno KV hosted by Deno Deploy.

Its using foundationdb, a distributed db. The deno instances running on local devices all connect to the same Deno KV to acquire the lock.

But using postgres, a select for update also works, the database is not distributed tho.