horde v0.1.1 Horde.Registry

A distributed process registry that takes advantage of δ-CRDTs.

Link to this section Summary

Functions

Child spec to enable easy inclusion into a supervisor: supervise([ {Horde, id: MyId, name: MyName} ])

Join two hordes into one big horde. Calling this once will inform every node in each horde of every node in the other horde

Remove own node from the hordes (gracefully retire node)

Get the members (nodes) of the horde

Get the process regsitry of the horde

register a process under given name for entire horde

Link to this section Functions

Link to this function child_spec(options \\ [])

Child spec to enable easy inclusion into a supervisor: supervise([ {Horde, id: MyId, name: MyName} ])

Link to this function handle_call(arg1, from, state)
Link to this function handle_cast(arg1, state)
Link to this function handle_info(atom, state)
Link to this function join_hordes(horde, other_horde)

Join two hordes into one big horde. Calling this once will inform every node in each horde of every node in the other horde.

Link to this function leave_hordes(horde)

Remove own node from the hordes (gracefully retire node)

Link to this function lookup(horde, name)

Get the members (nodes) of the horde

Link to this function processes(horde)

Get the process regsitry of the horde

Link to this function register(horde, name, pid \\ self())

register a process under given name for entire horde

Link to this function start_link(options)
Link to this function unregister(horde, name)
Link to this function whereis(search)