Ribbon


Ribbon Load Balancing

image-20220922115046874

image-20220922151255574

image-20220922151517899

Change balance rule

Method1:

new IRule in Application

image-20220922151924523

Method2:

Add config in application.yml

image-20220922152322668

Eager load

image-20220922154436721

ribbon:
  eager-load:
    enabled: true
    clients: userservice #Specify the name of the hunger load

Author: Xi Chen
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source Xi Chen !
评论
  TOC