当前位置:网站首页>修改服务的默认负载均衡策略
修改服务的默认负载均衡策略
2022-04-23 21:58:00 【Leon_Jinhai_Sun】
# 1.修改服务默认随机策略
- 服务id.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.RandomRule
`下面的products为服务的唯一标识
products.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.RandomRule
版权声明
本文为[Leon_Jinhai_Sun]所创,转载请带上原文链接,感谢
https://blog.csdn.net/leon_jinhai_sun/article/details/124226008
边栏推荐
- Opencv application -- jigsaw puzzle
- Pycharm Chinese plug-in
- Presto on spark supports 3.1.3 records
- Two Stage Detection
- Lightweight project management ideas
- Oracle intercepts special characters
- C language programming based on loop structure (PTA)
- C, print the source program of beautiful bell triangle
- Detectron2 using custom datasets
- Oracle ora-01033: Oracle initialization or shutdown in progressprocess solution
猜你喜欢
How to make Jenkins job run automatically after startup
Devops and cloud computing
Amazon and epic will be settled, and the Microsoft application mall will be opened to third parties
Is rust more suitable for less experienced programmers?
[※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]
Question brushing plan - depth first search (II)
Deep understanding of modern mobile GPU (continuously updating)
Echerts add pie chart random color
Pycharm Chinese plug-in
通过OpenFeign传递对象类型参数
随机推荐
Pytorch: runtimeerror: an attempt has been made to start a new process Error reporting (resolved)
Oracle updates the data of different table structures and fields to another table, and then inserts it into the new table
YOLOv5 Unable to find a valid cuDNN algorithm to run convolution
Pyuninstaller package exe cannot find the source code when running, function error oserror: could not get source code
21. Basic usage of MariaDB
ERP function_ Financial management_ Basic concepts of Finance
Reference of custom message in ROS function pack failed
手撕《Google SRE Book》
[leetcode refers to the substructure of offer 26. Tree (medium)]
Database Experiment 7 stored procedure experiment
Pycharm download and installation
A series of problems of C DataGridView binding list
[leetcode refers to the maximum profit of offer 63. Stock (medium)]
分布式系统服务熔断
C# ftpHelper
Two Stage Detection
Oracle ora-01033: Oracle initialization or shutdown in progressprocess solution
Cancel the default open project setting of idea
Arm architecture assembly instructions, registers and some problems