Distributed - Micro Services - cluster concept and differences

Distributed: a plurality of sub-services business division, deployed on different servers

Cluster: the same service, deployed on multiple servers

Mean micro service module is split into a separate data service unit to interact through the interface.

Distributed refers to the different services in different places. The cluster refers to the focus on a few servers together to achieve the same business.

Distributed in each node, the cluster can be done. The cluster is not necessarily distributed.

Distributed, understood in a narrow meaning, but also with similar cluster, but its organization is relatively loose, unlike clusters, there is a resistance organization, a server broke down, the other server can be on top.

Each node in a distributed, are different services, a collapsed node, then this service will not be visited.

Good design should be a combination of distributed and clustered, distributed and then the first cluster, the specific implementation is split into many sub-services business, then each sub-cluster deployment for business, so that each child business if things go wrong, the whole system is fully will not be affected.

Design of micro-services in order not to affect the upgrade because of a BUG modules and existing systems business. Micro Services and Distributed nuances that the application of micro-services is not necessarily spread across multiple servers, he may also be the same server.

Incognito and distributed architecture is very similar, but the way to deploy just not the same.

Guess you like

Origin www.cnblogs.com/-821L/p/12118081.html