libcluster provides automatic cluster formation and node discovery for Erlang/Elixir applications, removing the manual steps typically required to connect distributed nodes. It ships with multiple pluggable strategies—such as DNS polling, Kubernetes integration, EC2 metadata/tag discovery, UDP gossip, and EPMD helpers—so you can adapt clustering to your runtime environment. The library supervises a topology process that continually discovers peers and joins or prunes nodes as they become available or disappear. Its design embraces OTP principles: strategies implement a behavior, can be composed, and run under supervision for resilience. libcluster also emits events on nodeup/nodedown, allowing applications to react (for example, rebalance work or update registries) when membership changes. Because it relies on the BEAM’s native distribution, it integrates cleanly with Phoenix PubSub, Horde, Oban, or any other distributed Elixir tooling.

Features

  • Automatic cluster formation and healing
  • Multiple built-in strategies (EPMD, DNS, gossip, Kubernetes, Rancher)
  • Publish/subscribe events for node join/leave notifications
  • Custom strategy support for bespoke environments
  • Ability to override distribution plumbing (e.g. Partisan integration)
  • Seamless integration into Elixir applications via supervision trees

Project Samples

Project Activity

See All Activity >

Categories

Clustering

License

MIT License

Follow libcluster

libcluster Web Site

You Might Also Like
All-in-One IT Monitoring - No More Blind Spots Icon
All-in-One IT Monitoring - No More Blind Spots

Stop juggling tools. PRTG gives you a complete, real-time view of your IT: servers, devices, cloud, and more - in one easy dashboard.

Tired of switching between different tools and missing critical alerts? PRTG brings everything together, monitoring your entire IT infrastructure from a single, intuitive interface. Whether it’s servers, switches, printers, or cloud services, you get instant visibility and clear notifications - no technical jargon, no clutter. Set up in minutes, PRTG helps you prevent downtime, reduce stress, and prove your value to your company. Focus on your job, not on chasing issues. Try PRTG and experience true IT peace of mind.
Get Your Unified IT Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libcluster!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Elixir

Related Categories

Elixir Clustering Software

Registered

2025-09-01