as my next question is - i’m using the xtraDB Cluster for high available databases for different applications.
As when i connect the application to the (for example) node1 and node1 fails, how should it be high available? Sure - a loadbalancer!
But whats the recommended loadbalancer and which algorithm? Round Robin? Least Connection? Others? And how much simultaneously connections should it support? (Cause i maybe would use a hetzner cloud loadbalancer).
so on that documentation ProxySQL will be a SPOF and i just found older documentations from 2017 about ProxySQL HA with keepalived. Is there anything “newer” in connection with xtraDB Cluster where ProxySQL do not will be a SPOF?
As its known from the “webhosting” sector, later i will have customers (fictitious) which just want to have a hostname, port, database, database-user and password to access their database with their application. Behind that hostname and port, it should be a HA system and not a SPOF within it.
Hello @Keon
You can also set up a load balancer behind a proxysql farm (or at least 2 proxysql nodes) to enable HA in the proxysql layer.
Here’s an example on how it works in AWS Load Balancing ProxySQL in AWS
But there are very alike solutions for Azure and GCP. I’m referring to cloud as to me is a simpler solution than on-premises, however there are also other LB solutions to enable HA for proxysql