How does broadcast-channel work? #88
-
Hi OPAL team, I reading https://docs.opal.ac/overview/architecture#opals-architecture-potentially-uses-two-pubsub-channels-
I am trying to understand this. I did an experiment by changing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
As @orweis mentioned on slack, the broadcast channel has a different job. Consider OPAL's network architecture:
The broadcast-channel is used between two different OPAL servers, in other words:
Let's demonstrate with an example: Example 1
Let's say that one of your services published an update on topic
The paths of the message were:
Example 2Same example, but now the update was published on topic The paths of the message are:
The broadcast channel helps us scale the OPAL cluster, by having many servers - each can have its own clients - and still make sure that all the clients will get the messages directed at them, no matter what server that are connected to. Hope that is clear enough, please let me know if you need more clarification :) |
Beta Was this translation helpful? Give feedback.
As @orweis mentioned on slack, the broadcast channel has a different job.
Consider OPAL's network architecture: