swarm v0.4.3 API Reference

Modules

This is the public Elixir API for :swarm

This clustering strategy uses EPMD, which means connecting nodes in the cluster is a manual process. This strategy is primarily useful if you have a fixed set of nodes, you need a strategy you can use during testing, you want to cluster nodes running on the same host, or the gossip strategy is not an option for some other reason

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 clustering strategy works by loading all pods in the current Kubernetes namespace with the configured tag. It will fetch the addresses of all pods with that tag and attempt to connect. It will continually monitor and update it’s connections every 5s

This process is the backing store for the registry. It should not be accessed directly, except by the Tracker process

The Tracker process is responsible for watching for changes to the cluster, and shifting processes around accordingly. It also handles talking to the registry (ETS) to register names, properties, unregister names, etc