Distributed and cluster solutions

Source: Internet
Author: User
Distributed and cluster three problems 1: Write your own distributed database. when there are multiple slave databases, how should I choose which slave database to query? (It is best to select the optimal network type based on the user's current network.) 2: What is the difference between distributed architecture and cluster architecture? I have never understood it. it is best to give a more practical example. 3: insert data from two tables. if mysql tables do not support transactions, how can I ensure consistency? ------ Solution ------ distributed and cluster
Three questions
1: Write a distributed database by yourself. when there are multiple slave databases, how should I select which slave database to query? (The best choice is based on the user's current network)
2: What is the difference between distributed and cluster? I have never understood it. it is best to give a more practical example.
3: insert data from two tables. if mysql tables do not support transactions, how can I ensure consistency?


------ Solution --------------------
Clusters can be understood as a group of people pulling the river together. in many cases, clusters are used in scenarios with high loads or require a large amount of synchronous computing.

Distributed architecture can be understood as a large group of people playing the relay game. There are many people, but the number of people is not necessarily fixed.


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.