Skip to content

Simple example #1

Description

@daanpape

Hello,

I've recently discovered this repository after searching for a reliable broadcast solution without the need for a centralised broker (like MQTT).

Reliable for me means the following:

  • Every node in the group which is connected to the network will receive exactly 1 and only 1 copy of the message.
  • Messages are delivered to the application as a hole and not fragmented.
  • Nice to have but not required: messages from the same sender node are delivered in order.

I'm not a theoretical person but I briefly traversed the paper and if I understood correctly this is exactly what the hyparview algorithm does based on the Plumtree gossip protocol.

I now want to do 2 things:

  • Test this code out by creating a group of 3 nodes and let them send messages to each other.
  • In case this is what we need I will port this library to C so that it can run on resource constrained devices.

Now to the point. It would be very helpful if an example program could be supplied which allows us to test the library. I'm willing to write this but I would need a head start as my Rust is a bit rusty.

Kind regards,
Daan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions