1

Consider a node in a cluster who has many internal actors. Many of the actors are using Distributed Pub/Sub to subscribe to a common topic. An actor in another node in the cluster is busy posting messages onto the common topic.

Will the pub/sub system post one message to the node containing the "many actors" and then distribute the message internally across the node from there. OR will the pub/sub system send an individual message to every actor subscribed to the topic?

I suspect the forma but perhaps there is a subtly here that I don't appreciate.

Thanks,
Steven.

S. Harrap
  • 31
  • 3
  • 1
    I think this blog post should answer your questions: https://petabridge.com/blog/distributed-pub-sub-intro-akkadotnet/ – Bartosz Sypytkowski May 15 '17 at 07:56
  • I'm aware of the article but it doesn't appear to discuss the how efficiently the cluster pub/sub system communicates messages between nodes. – S. Harrap May 15 '17 at 23:05
  • 1
    Just like it's drawn in a diagram, messages are grouped and send between mediators (there's only one per node) together to avoid unnecessary network congestion. Once mediator on the other side have received them, they they will be deserialized and send in-memory to all recipients. – Bartosz Sypytkowski May 16 '17 at 05:11

0 Answers0