Log for src/broadcast.rs
-
Adjust to new clippy lints by Caio 2 years ago
-
Update BroadcastHandler docs by Caio 2 years ago
-
New custom broadcast wire format 💬 by Caio 2 years ago
re-enable tests custom broadcasts are always length-prefixed now
-
Stable addr for testing ID 💬 by Caio 2 years ago
huh it wasn't a proper breakage
-
use new broadcasts- break custom broadcasts for now by Caio 2 years ago
-
working alternative broadcasts struct by Caio 2 years ago
-
Broadcast handlers now know who sent the data by Caio 2 years ago
-
Fail compilation on unreachable public exports 💬 by Caio 2 years ago
This enables the unreachable_pub rustc lint so that we don't end up exposing unconstructable types again Ref: https://github.com/caio/foca/issues/24
-
Periodic gossip: only send when there are updates 💬 by Caio 3 years ago
Technically, a gossip with no updates is still useful: it tells the receiver that the sender is active so it helps with discovery and, now, with the member gaining awareness that the cluster thinks its dead. It is, however, too chatty. During normal operations the updates buffer is mostly empty; If we start sending messages with no updates too often it won't be much different from a traditional gossip protocol with a heartbeat. So, since pings and announces already cover the case of talking to the cluster unconditionally, it makes sense to make periodic gossiping "smarter"
-
piggyback: Specify max_transmissions per item 💬 by Caio 3 years ago
This patch simply moves `max_transmissions` outside of `Broadcast`, so that the number of transmissions can be defined at runtime
-
Users can decide when to add broadcasts to a message 💬 by Caio 3 years ago
This patch extends BroadcastHandler with a new method `should_add_broadcast_data` that lets implementations choose whether a message Foca is about to send should contain custom broadcasts or not
-
Initial public commit 💬 by Caio 4 years ago
Probably good enough for a first experimental release