MGR客户端failover方案

2020年咱们要全面推动MGR在业务系统的使用,目前存在一个很重要的问题,就是在MGR的主节点出现异常的状况下,怎么解决客户端重定向的问题
        解决的方案:
        一、使用官方的connector
        二、使用负载均衡设备,好比F5
        三、使用router,好比MySQL的Router 8.0
        四、中间件,好比某些厂商的产品,或者proxySQL。

以上方案咱们都在测试当中~负载均衡

It is important to understand that although the database service is available, in the event of a server crash, those clients connected to it must be redirected, or failed over, to a different server. This is not something Group Replication attempts to resolve. A connector, load balancer, router, or some form of middleware are more suitable to deal with this issue. For example see MySQL Router 8.0.
相关文章
相关标签/搜索