A brief analysis of the high-availability architecture of MySQL database learning

Source: Internet
Author: User
Tags lua mysql client

Atlas is a MySQL protocol-based data mid-tier project that has a number of bug fixes and features added to the Mysql-proxy 0.8.2 release. At present, many MySQL business has been connected to the Atlas platform, the number of read and write requests per day up to billions of.

The key features of Atlas are:

1. Read and write separation, 2. Load balancing from the library, 3.IP filtering, 4. Automatic sub-table, 5.DBA smooth upper and lower line db;6. Automatically remove the db of the outage.

Atlas is a middleware that sits between the application and MySQL. In the back-end DB, Atlas is the equivalent of a client connecting to it, whereas in front-end applications It appears that Atlas is equivalent to a db. As a service-side communication with the application, it implements the MySQL client and server protocol, as well as client-to-MySQL communication. It masks the details of the DB for the application, and in order to reduce the load on MySQL, it also maintains the connection pool.

The advantages of Atlas with respect to Mysql-proxy are:

1. Rewrite all LUA code in the main process with C and LUA only for the management interface;

2. Rewrite the network model, threading model;

3. Realize the connection pool in the true sense;

4. The lock mechanism is optimized and the performance is increased by dozens of times times.

Internet companies mostly use the database is MySQL, want to stand out from the many IT workers, need to have advanced technology, learning to add value is essential. The way of learning is your insistence.

A brief analysis of the high-availability architecture of MySQL database learning

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.