Hello!
Three questions about GLB:
1) Is
https://github.com/codership/glb still usable? It has have very
few commits in latest years. Or do you nowadays prefer some other load
balancing solution over glb?
2) How much of the SQL traffic semantics does glb understand? If it
proxies a query to a Galera node, which is up (TCP connection is OK)
but which is not synced to the cluster or has some other failure and
it returns an error to the SQL query, does the proxy "see" the error
in the reply and redirects traffic to another node?
3) When the proxy detects a failure in a node, will it automatically
re-try the same SQL query to another node or will it error that SQL
query and redirect the SQL query to a healthy node only starting from
the next new query?
I am asking about nr 3 because Nginx has a very nice proxy mode, that
if the HTTP request fails to the proxy upstream, it can automatically
fall-back to a second proxy upstream, and if the HTTP request is
successful there, it will return a successful reponse to the original
client. The original client will never see an error, only a slightly
longer delay in the response (as Nginx needs to make the same request
to multiple upstreams before there is a success). It would be nice to
have this failure tolerance on the Galera proxy level.
- Otto