Skip to content

Add libcluster_postgres for automatic node discovery#2114

Draft
RTLS wants to merge 1 commit intomainfrom
feat/cluster
Draft

Add libcluster_postgres for automatic node discovery#2114
RTLS wants to merge 1 commit intomainfrom
feat/cluster

Conversation

@RTLS
Copy link
Contributor

@RTLS RTLS commented Feb 18, 2026

Use PostgreSQL LISTEN/NOTIFY via libcluster_postgres for cluster
formation, removing the need for DNS-based discovery. This enables
distributed features (syn, global, MutexedSupervisor) across nodes
using the existing Postgres database.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Use PostgreSQL LISTEN/NOTIFY via libcluster_postgres for cluster
formation, removing the need for DNS-based discovery. This enables
distributed features (syn, global, MutexedSupervisor) across nodes
using the existing Postgres database.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor Author

RTLS commented Feb 18, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sequin.Redis.connect_cluster()

[
{Cluster.Supervisor, [Application.get_env(:libcluster, :topologies, []), [name: Sequin.ClusterSupervisor]]},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{Cluster.Supervisor, [Application.get_env(:libcluster, :topologies, []), [name: Sequin.ClusterSupervisor]]},
Sequin.ClusterSupervisor,

then Sequin.ClusterSupervisor.child_spec/1 ask acco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments