Reference: https://www.cnblogs.com/hankuikui/p/6952739.html
Understand what distributed, microservices and clusters are in 3 minutes! http://server.51cto.com/News-557053.htm
What is distributed
Distributed: Different business modules are deployed on different servers or the same business module is split into multiple sub-services and deployed on different servers to solve the problem of high concurrency. The point is that it must be on a different server.
Why use distributed systems
I think the most important thing is to consider the server performance. After all, the performance of a single server is limited, and the comprehensive use of the processing power of multiple nodes can improve the overall service capability.
The distributed module can adopt different solutions. As long as it meets the specified interaction protocol, each module can choose different processing methods according to its own business characteristics, such as Microsoft's solution, can also use J2EE.
Modules are more cohesive and focus more on their business.
The relationship between distributed systems and clusters
Distributed: Different business modules are deployed on different servers or the same business module is split into multiple sub-services and deployed on different servers to solve the problem of high concurrency
Cluster: The same service is deployed on multiple machines to improve system availability
Distributed means that different businesses are distributed in different places. The cluster refers to the integration of several servers to achieve the same business.
Every node in the distribution can be clustered. The cluster is not necessarily distributed.
Distributed is to improve the efficiency by shortening the execution time of a single task , while cluster is to improve the efficiency by increasing the number of tasks executed per unit time