Dual-database servers implement distributed data operations and hardware failover

Source: Internet
Author: User

Functions provided:
1. When a large amount of data is added for modification and summary query, the two types of data operations are performed independently on the corresponding server,
2. When a server crashes, the program uses the connection pool of the other server for operations. When the crashed server resumes running, the program re-uses the server connection pool.
3. When the disk of one server is damaged, data can be restored from the other server after the restoration.
4. When data is deleted by mistake or damaged by hackers, data can be recovered from the backup data of the Publishing Server.Erection instructions:
1. The two servers establish active publishing and subscription relationships.
2. Create a backup plan on the Publishing Server. All backup methods are used at every day.
3. Create two connection pools in the data access process, which correspond to the [Publishing Server] and [subscription server] respectively.
4. when the server receives a data operation request, it determines the request type. If it is a [change operation], it uses the data connection pool of the [Publishing Server, if it is a [query operation], use the data connection pool of the [subscription server.

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.