Skip to content

Clustering with postgres? #5859

Answered by guggero
lnd-routing asked this question in Q&A
Discussion options

You must be logged in to vote

With clustering I assume you don't mean to have the database running in cluster mode but lnd itself (with active/passive nodes and fast failover)?
That currently isn't a planned feature since (as far as I'm aware) Postgres doesn't have a leader election feature the way etcd does. But it should be possible to use etcd as the leader election mechanism (for example if you're running on k8s where there already is an etcd cluster) but use Postgres as the database backend for lnd.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Roasbeef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants