Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for failover and load ballancing modes #11

Open
jddipqd opened this issue Jan 26, 2021 · 3 comments
Open

Support for failover and load ballancing modes #11

jddipqd opened this issue Jan 26, 2021 · 3 comments

Comments

@jddipqd
Copy link

jddipqd commented Jan 26, 2021

MariaDB Connector/J supports multiple Failover and Load Balancing Modes:
https://mariadb.com/kb/en/failover-and-high-availability-with-mariadb-connector-j/

Is this supported with mariadb-connector-r2dbc?
I'm mostly interested in replication mode.

@rusher
Copy link
Collaborator

rusher commented Feb 25, 2021

That's on the roadmap, even if it probably will be slightly different from jdbc connector.

That's to be describe and discussed still, probably for 1.1.0 version.

My opinion is that multiple hosts for failover on other nodes, but only for same type (primary or replica)
JDBC connector implementation is permitting primary and replica for mysql connector compatibility.
But this induce different performance issues when switching to read-only.
It's way better to have a second pool with only read-only hosts

@paskos
Copy link

paskos commented Jan 5, 2022

We use multi-cluster setup with loadbalance: loadbalancing mode. Is there a plan to support it in reactive connector ?
Thanks in advance

@edmundtansw
Copy link

Is there any update to this? Looking forward to failover host option for R2DBC connector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants