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.
相關文章
相關標籤/搜索