Dear all,
I'm having some confusion over the concept of clustering, HA and load balancing in Vertx.
First, I've understood that Vertx is able to load balance multiple instances in single node.
Let's say you have a set up of a cluster of 3 nodes, node A, B and C.
All these are HA enabled.
Clients perform requests on node A.
My questions are as follow:
- Since all three nodes are in a cluster, how does the requests being assigned to other nodes in the cluster? (Could it be round robin fashion like in the case of single node with multiple instances?)
- From the documentation HA works by automatically restarting vertx instance in another node when failure is detected. So based on the case above, if node A fails, it will start on another node, but will vertx automatically redirect the request from node A to this newly started node?
Thanks in advance.
Regards,
Maziz.