Libcluster Postgres Strategy for Elixir
hey hn, I’m Filipe, a developer at supabase we have three projects using Elixir in a clustered setup. we’ve always used libcluster[0] to achieve it but ended up using multiple strategies. now we’ve converged into one approach for all our projects using Postgres as the coordinator. we’re using Postgres LISTEN and NOTIFY commands with Postgrex as the system to propagate node addresses so they can connect plus we use it to send healtcheck pings to heal when required. big thanks to https://twitter.com/gotbones for the libcluster library and…
Libcluster Postgres Strategy for Elixir launched on November 30, 2023 with 26 votes, #1,236 of 4,333 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
Libcluster Postgres Strategy for Elixir is a clustering strategy that enables Elixir applications to discover and connect to each other using PostgreSQL as a coordinator. It leverages Postgres LISTEN and NOTIFY commands with Postgrex to propagate node addresses across clustered systems and includes health-check pings to manage node failures. Built by developers at Supabase, it consolidates multiple clustering approaches into a single unified solution for distributed Elixir applications.
written from the facts on this page · September 2026
From the sources
Postgres strategy for libcluster. Contribute to supabase/libcluster_postgres development by creating an account on GitHub.
In the maker’s words, at launch
hey hn, I’m Filipe, a developer at supabase we have three projects using Elixir in a clustered setup. we’ve always used libcluster[0] to achieve it but ended up using multiple strategies. now we’ve converged into one approach for all our projects using Postgres as the coordinator. we’re using Postgres LISTEN and…
Does a similar job
all alternatives →
Supavisor – a Postgres connection pooler written in Elixir2023 · github.com · ▲149hey hn, supabase ceo here this is a postgres connection pooler. it’s similar to pgbouncer, but built with Elixir and specifically designed for multi-tenancy. it’s still under development, but it’s at a stage where we can gather a feedback from the community and you can try it yourself. we aren’t using this in production yet, but aiming to deploy it for a subset of databases in the next 2 months. We have the following benchmarks (details in the readme): - Elixir Cluster maintaining 400 connections to a single Postgres database - 1_000_000 clients connecting to the Elixir cluster - Sending…

- MDMultiplayer Demo Built with Elixir2022 · multiplayer.dev · ▲221
Hey HN, I’m an engineer at Supabase [0] and one of the creators of this demo. My team and I have been working hard to bring developers the next version of Supabase Realtime. The current version of Realtime [1] is a Change Data Capture (CDC) server for a PostgreSQL database that broadcasts changes via WebSockets to authorized subscribers. It’s written in Elixir/Phoenix. The server utilizes PostgreSQL’s logical replication functionality, which writes database changes to Write-Ahead Logging (WAL) segment files, and a replication slot, responsible for managing and retaining WAL files.…
ElectricSQL, Postgres to SQLite active-active sync for local-first apps2023 · electric-sql.com · ▲617Hi HN, James, Valter, Sam and the team from ElectricSQL here. We're really excited to be sharing ElectricSQL with you today. It's an open source, local-first sync layer that can be used to build reactive, realtime, offline-capable apps directly on Postgres with two way active-active sync to SQLite (including with WASM in the browser). Electric comprises a sync layer (built with Elixir) placed in front of your Postgres database and a type safe client that allows you to bidirectionally sync data from your Postgres to local SQLite databases. This sync is CRDT-based, resilient to conflicting…
Pg_replicate – Build Postgres replication applications in Rust2024 · github.com · ▲216A high-performance Postgres replication engine written in Rust. Embed it in your Rust application or run it as a standalone binary. - supabase/etl
Postgres.js – Fastest Full-Featured PostgreSQL Client for Node and Deno2022 · github.com · ▲257Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare - porsager/postgres
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲345Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, November 2023
the whole month →

Discover & book top creators to promote your product
Growth · 2023 · passionfroot.me



SpeedVitals▲829Hi HN, I’m Kashish, one of the co-founders of SpeedVitals, a platform for testing & monitoring website performance with a major emphasis on Core Web Vitals. Until now, our platform has only focused on Synthetic/Lab testing, such as Lighthouse tests and TTFB tests. But now, we have developed a Real-User Monitoring platform that doubles up as a Web Analytics tool. One major feature we have that most RUM tools lack is Performance Audits. Just like Lighthouse audits work on Lab test data, our audits work across all the real-user visits and gives suggestions on what task to prioritize first.…
Dev tools · 2023 · speedvitals.com