Talking about the difference between Eureka, Zookeeper and Consul?

The first three blog posts recorded three service centers, Eureka, Zookeeper, and Consul. What is the difference between them before?

One:

Because the three aspects of C, A, and P will not exist or meet at the same time, there can only be three systems of cp, ap, and ca. The concept of CAP and the points of concern are shown in the figure below:

ap: For example, on Double 11 Ali, first ensure high availability, allow slight inconsistencies in data, and avoid situations where data is different and customers cannot buy things;

cp: It is necessary to ensure the consistency of the previous data in multiple systems. If there is inconsistency, an error message will be returned, and you cannot go down;

Two: talk about the difference between the three: see the picture below

 The main big difference is in two aspects, the place circled in the figure above

1) cap, as mentioned above, eureka is AP, and the other two are CP;

2) The external exposure interface is different. Both eureka and consul can access service information in the browser, but zookeeper is not. Zookeeper needs to view service information through commands;

3) Eureka does not need to install software, consul and zookeeper need to be installed before they can be used.

Guess you like

Origin blog.csdn.net/zhangleiyes123/article/details/106769554