pull down to refresh
20 sats \ 3 replies \ @k00b 18 Aug 2024 \ parent \ on: Highly available Lightning node cluster setup guide lightning
This is wrong though. You can construct something like an expiring lock in Postgres.
I would guess it’s more common for application developers to reach for a tool more specific to the use case, like etcd, zookeeper, or consul.
You’re right that LND could potentially use advisory locks, which might make sense to eliminate an entire dependency when postgres is used as the backend.
reply
Relevant issue from 2022:
https://github.com/lightningnetwork/lnd/issues/6894
reply
Nice find.
If Postgres is already a single point of failure in the cluster, there’s not much sense in alsp having etcd as a dependency.
reply