Slap.Cluster.Peers (slap_cluster v0.4.0)

Copy Markdown View Source

Keeps this node connected to a fixed list of other nodes, retrying every 2 s. Routing between nodes needs distributed Erlang: the node must have a name and share the cookie.

Run one connector per VM. Its connections are available to every cluster on that VM.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(peers)