Weight configuration is applicable to load balancing. You can configure the weights of load balancing-involved Dubbo applications in Enterprise Distributed Application Service (EDAS) that use Nacos for service registration and discovery. You can increase or reduce the weights of some addresses through weight configuration.

Create a weight rule

  1. At the top of the page, click the tab.
  2. In the Query Result section of the tab, click Create on the right.
  3. In the Create Weight Rule dialog box, set the weight and click Create.
    Note Set either Service Name or Application Name.
    • Service Name: in the format of group/service:version. group and version can be left blank. Example: DUBBO/com.alibaba.edas.HelloService:1.0.0.
    • Application Name: the name of an application created in EDAS.
    • Weight: Enter an integer greater than or equal to 0.
    • Address List: Enter the addresses to which you want to apply weight configuration.

Result

After creating a weight rule, you can search for, view, modify, and delete the rule on the Weight Configuration page.