PubSub and its gossip frequency

Hi,

we’ve started with akka distributed pubsub. We noticed that the topics are disseminated with a rate of one node per second. It is mentioned in the docs that it takes some time, but well… that’s plenty of time. Does a patch to configure this make sense, i.e., one, minimum number, majority, all make sense?

We could increase the frequency a bit, but if I understood the code correctly, chances are high that it really takes a longer time until every node got the subscriber information.

Or am I understanding something wrong?

Best
Steffen

Gossip is performed from each node. Each one picking a random other node once per second. That means that dissemination time is O(log N). In practice a few seconds to reach all nodes.