# libcluster

> Automatic Erlang cluster formation and healing for Elixir apps, with pluggable strategies

Source: https://talira.ai/catalog/libcluster-yyk58p7q
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / distributed systems / cluster formation](https://talira.ai/categories/libraries/distributed-systems/cluster-formation), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Paul Schoenfelder](https://talira.ai/orgs/paul-schoenfelder.md)

libcluster forms and heals clusters of Erlang nodes automatically for Elixir and Erlang applications, with static or dynamic membership. You define topologies and start its `Cluster.Supervisor`; a pluggable strategy system finds the nodes, with strategies built in for distributed Erlang (epmd and `.hosts.erlang`), multicast UDP gossip, Kubernetes (through its API, DNS or DNS SRV records) and Rancher's metadata API. You can write your own strategies, or replace distributed Erlang's plumbing with something like Partisan by implementing a few callbacks.

## Links

- GitHub: https://github.com/bitwalker/libcluster
- Docs: https://hexdocs.pm/libcluster/

## Problems it solves

- connect my Elixir nodes into a cluster automatically on Kubernetes
- have Erlang nodes find and rejoin each other after a restart
- form a BEAM cluster without hard-coding node names

## Features

- automatic cluster formation and healing
- built-in strategies: distributed Erlang (epmd, .hosts.erlang), multicast UDP gossip, Kubernetes (API, DNS, DNS SRV) and Rancher
- custom clustering strategies
- pluggable distribution plumbing, such as Partisan

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.78, adoption 0.67, momentum 0.38, community 0.72, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 27 commits in the last 90 days
- latest release 3.6.1 4 days ago
- 2.2k GitHub stars
- 62 contributors
- backed by Paul Schoenfelder

## Related

- Works with [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md)

## Sources

[^1]: https://github.com/bitwalker/libcluster/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/bitwalker/libcluster/blob/main/LICENSE.md (checked 28 Nov 2026)
