Module P2p_ringcast
RingCast: P2P hybrid dissemination protocol
This is an OCaml implementation of RingCast, a P2P hybrid (probabilistic/deterministic) dissemination protocol described in the paper PolderCast (and earlier in Hybrid Dissemination.
It organizes nodes in a bidirectional ring structure and forwards messages to neighbours as well as random nodes. It achieves complete dissemination of messages with a low message overhead.
module Make : functor (Node_id : P2p.S.NODE_ID) -> functor (Node : P2p.S.NODE with type nid := Node_id.t) -> functor (View : P2p.S.VIEW with type nid := Node_id.t and type node := Node.t) -> functor (Msg_id : P2p.S.MSG_ID) -> S.GOSSIP_DISSEM with type nid := Node_id.t and type node := Node.t and type view := View.t and type mid := Msg_id.t
Functor building an implementation of Ringcast given a Node_id, Node, gossip View, and Msg_id.
module S : sig ... end
Signatures