RaftEx.Network
(raft_ex v0.1.0)
View Source
Handles distributed RPC communication between Raft nodes across the cluster.
Summary
Functions
Makes a synchronous call to a server.
Casts a message to a server asynchronously.
Handle node down events.
Handle node up events. Attempts to re-register with any Raft clusters the local node was part of.
Monitors a remote server process.
Sends an RPC message to a server.
Start node monitoring for Raft cluster communication. Sets up monitoring of remote nodes and connects to seed nodes.
Types
Functions
Makes a synchronous call to a server.
Casts a message to a server asynchronously.
@spec handle_node_down(node()) :: :ok
Handle node down events.
@spec handle_node_up(node()) :: :ok
Handle node up events. Attempts to re-register with any Raft clusters the local node was part of.
Monitors a remote server process.
Sends an RPC message to a server.
Start node monitoring for Raft cluster communication. Sets up monitoring of remote nodes and connects to seed nodes.
Options
:seeds- list of seed nodes to connect to:cookie- Erlang distribution cookie