73

大话微服务」深入聊聊SpringCloud之客户端负载均衡机制-wx5c7f616d835a9的博客

 4 years ago
source link: https://blog.51cto.com/14227759/2407487
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1)服务指的就是运行的节点(IP+Port)信息。2)节点在启动时会将自身的信息注册到注册中心。3)ServiceId是对节点运行的工程的标识。4)InstanceId是对运行的节点的标识。通过一个例子来捋一捋:假设有一个和用户管理相关的工程,叫做UserManager。为了高可用,把该工程重复运行了4份,分别用um-01/um-02/um-03/um-04表示。假设它们都运行在本地,端口分别是8

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK