How is High Availability achieved with WSO2 ESB clustering .
Suppose there are 2 nodes clustered and there is a load balancer , what happens when a node which is handling few HTTP requests goes down , what will happen to the requests ? will they be lost or because of the clustering the pending requests will be moved to the other node in the cluster.
What needs to be done to achieve this . Can you please suggest ?
Thanks
答案 0 :(得分:0)
HA将由负载均衡器处理,而不是由ESB处理。基本上,如果esb节点发生故障,负载均衡器或调用客户端应该处理这种情况。如果LB和客户端尚未实现处理此类故障情况,则会丢失消息.LB必须将新请求路由到其他可用节点。
WSO2建议使用Nginx作为默认的负载均衡器.ESB群集文档可以在cluster doc找到。