Distributed Database transactions

Source: Internet
Author: User
Yesterday, the instructor asked a question in the classroom. Assume that each server can support 20 reads and writes per second. The following requirements are met: 10 modifications per second and 200 queries per second. distributed transactions are required. If you think about it, you can: There is a server dedicated to support modifications. 10 modifications per second are completely within the scope of assumptions. Ten other servers support query.

Yesterday, the instructor asked a question in the classroom. Assume that each server can support 20 reads and writes per second. The following requirements are met: 10 modifications per second and 200 queries per second. distributed transactions are required. If you think about it, you can: There is a server dedicated to support modifications. 10 modifications per second are completely within the scope of assumptions. Ten other servers support query.

Yesterday, the instructor asked a question in the classroom. Assume that each server can support 20 reads and writes per second. The following requirements are met: 10 modifications per second and 200 queries per second. distributed transactions are required.

If you think about it, you can: There is a server dedicated to support modifications. 10 modifications per second are completely within the scope of assumptions. Ten other servers support queries, with each server 20 times, reducing the load. However, these ten servers need to maintain data synchronization with the servers supporting modification. The server that supports modification needs to tell how the server data that supports query changes, in this way, the Data Consistency of the database can be maintained.

The server that supports modification is called the master server, and the server that supports query is called the slave server. What are the methods to maintain data consistency? Logs? Message? What are common distributed architectures? How are they implemented? Please kindly advise.

The younger brother is interested in system O & M and database management. Please give me some advice and learn how to use it.

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.