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.