Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the test results of mycat load balancer balance and writeType

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

What are the test results of mycat load balancer balance and writeType? in view of this question, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

When the key test is balance = 1 & wirteType = 0

Whether there is a readHostreadHost query update in writeHost Note normal is normal priority readHost first writeHost first when there is only one writeHost, because readHost belongs to writeHost, when writeHost is not available, readHost is also not available. When there are multiple writeHost, one of the writeHost is faulty and contains the readHost, while the other writeHost is available, the readHost can be used after heartbeat detection because its parent host writeHost has been determined to be unavailable. Then switch to the available writeHost host. If other writeHost is not available, all writeHost and readHost will not be available. If there is multiple writeHost and there is a fault, all writeHost will not be available before heartbeat detection, and the available writeHost will be used normally after testing. If it is normal or abnormal, first try readHost, wait until the heartbeat detects the fault point and switch to writeHost without delay. Use writeHost directly. When the writeHost contains multiple readHost and one of the readHost fails, it will automatically switch to WriteHost when switching to the failed readHost, and the normal readHost will not be affected. This is the answer to the question about the test results of mycat load balancer balance and writeType. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report