Replies: 2 comments 3 replies
-
|
The best is to deploy a regional cluster so each region is standalone and connects to a nearby broker cluster you then make one or two federation clusters that connects to all the regions for central admin this way each region is resilient and you can have resilient federation also - however you can also connect to individual regions so imo making redundant federation probably is overkill but for sure each region needs its own cluster. |
Beta Was this translation helpful? Give feedback.
-
|
You will not be able to point the same client to both fed clusters the replies goes back to the fed cluster they originate from but the client makes multiple connections in round robin fashion to the configured targets - hence you end up losing some replies. In theory if we supported priorities/weights in SRV this could probably work but for now no way. An alternative we could maybe try is supporting the |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I'm new to Choria and working on designing a resilient deployment using federation. I’ve currently deployed a federation broker collective within a single region (us-west-2) and use it as middleware for connecting regional Choria brokers. This works well, but I realized this introduces a single-region failure risk.
To address this, I’m exploring a multi-region setup and had an idea that I’m hoping to get some feedback on:
Proposed Setup (Solution 1):
My thought was that federation clusters don’t need to be aware of each other, so when i run mco ping, as long as regional brokers ldn1 send responses to all federation brokers, then from Fed A side, each broker in Fed A received a response from ldn1, so can reach to a consensus, and same story for Fed B
However, in practice, when I run mco ping from one of the regional brokers, the results are unstable:
I’ve checked logs and didn’t find any clear errors. My question is:
**Is this kind of multi-cluster federation setup fundamentally incompatible with how Choria federation routing and message delivery works? Or is there a way to make this configuration reliable? If it's incompatible, which part causes the issue? **
Alternatively, I’m considering a single federation cluster that spans multiple regions, but before moving forward, I’d love to confirm whether my original idea is theoretically flawed, or if I may have just misconfigured something.
Thanks in advance for any guidance!
Beta Was this translation helpful? Give feedback.
All reactions