rust-libp2p icon indicating copy to clipboard operation
rust-libp2p copied to clipboard

Can gossip decide on different broadcast algorithms for message delivery?

Open rv64m opened this issue 3 years ago • 2 comments

Description

I found out that the messages currently used by GossipSub are random sequence numbers. I'd like to use it under gossipsub

  1. fifo broadcast.
  2. causal broadcast.

so sorry I am not sure whether this is a feature request or can be realized based on the existing functions. If the existing functions can be realized, what should I do?

Motivation

Requirements

Two broadcast algorithms based gossip

  1. FIFO broadcast
  2. causal broadcast

Open questions

Are you planning to do it yourself in a pull request?

Maybe.

rv64m avatar Sep 21 '22 15:09 rv64m

Can you expand on your motivation for FIFO and causal boardcast? Would a wrapper around GossipSub suffice which caches events and only emits them based on your policy?

mxinden avatar Sep 22 '22 15:09 mxinden

Can you expand on your motivation for FIFO and causal boardcast? Would a wrapper around GossipSub suffice which caches events and only emits them based on your policy?

Ok

rv64m avatar Sep 23 '22 01:09 rv64m