MGR read-write separation and load balancing method based on mysql routers
A load balancing, read-write separation technology, applied in the direction of resource allocation, program control design, structured data retrieval, etc., can solve the problems of ProxySQL performance impact, high operation and maintenance costs, poor MGR support, etc., to achieve simple configuration, Simple operation and maintenance, load balancing effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] In order to better understand the purpose, structure and function of the present invention, a mysql router-based MGR read-write separation and load balancing method of the present invention will be further described in detail in conjunction with the accompanying drawings.
[0040] like figure 1 As shown, the mysql router of the present invention realizes the separation of reading and writing of mysql and load balancing; the mysqlrouter is lightweight, has low operation and maintenance costs, and has obvious performance advantages.
[0041] The main function:
[0042] 1. Automatic failover
[0043] Use MySQL Router to achieve read-write separation. The front-end application layer does not need to directly connect to the underlying DB, but connects to the MySQL Router uniformly. MySQL Router is transparent to the front-end application layer, and we don't need to do any processing at the code layer. The application layer will use the MySQL Router as a normal MySQL insta...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

