Galaxy v0.6.2 API Reference

Modules

This library provides a mechanism for automatically forming clusters of Erlang nodes, with either static or dynamic node membership without configurations.

This topologying strategy works by loading all your Erlang nodes (within Pods) in the current DNS namespace. It will fetch the targets of all pods under a shared headless service and attempt to connect. It will continually monitor and update its connections every 5s.

This clustering strategy uses multicast UDP to gossip node names to other nodes on the network. These packets are listened for on each node as well, and a connection will be established between the two nodes if they are reachable on the network, and share the same magic cookie. In this way, a cluster of nodes may be formed dynamically.

This topologying strategy relies on Erlang's built-in distribution protocol by using a .hosts.erlang file (as used by the :net_adm module).

Topology interface for cluster formation.

Native Erlang Distribution interface.