raft_fleet v0.1.6 RaftFleet.RemoteMessageGateway

Replacement of :gen_fsm.send_event/2 and :gen_fsm.reply/2 to be used as :communication_module by raft member processes.

This is introduced in order

  • to work-around slow message passing to unreachable nodes using temporary processes, and
  • to catch exit due to nonexisting locally-registered name. In other words, it behaves like :gen_server.cast/2.

Summary

Functions

reply(arg, reply)
send_event(fsm_ref, event)