You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the Reactive MySQL client in Quarkus 3 and want to implement a failover behaviour between our two datacenter set-ups. Each datacenter hosts the application and the MySQL database, and currently each instance of the app is only connected to its own datacenter's database.
We want to configure our Quarkus app so that the client primarily uses the DB in its own datacenter, and only if that becomes unavailable, switches to the DB in the other datacenter.
We have tried the Load-balancing configuration, but that seems to be implemented like a round-robin.
With this setting, we would create unnecessary round-trips between our datacenters.
Is there a way to prioritize the database connections inside Quarkus or have a form of failover mechanism?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We use the Reactive MySQL client in Quarkus 3 and want to implement a failover behaviour between our two datacenter set-ups. Each datacenter hosts the application and the MySQL database, and currently each instance of the app is only connected to its own datacenter's database.
We want to configure our Quarkus app so that the client primarily uses the DB in its own datacenter, and only if that becomes unavailable, switches to the DB in the other datacenter.
We have tried the Load-balancing configuration, but that seems to be implemented like a round-robin.
With this setting, we would create unnecessary round-trips between our datacenters.
Is there a way to prioritize the database connections inside Quarkus or have a form of failover mechanism?
Thanks for your help and Best Regards.
Beta Was this translation helpful? Give feedback.
All reactions