`client side or server side hight priority.` Check the dubbo-user-book.

`mixed loadbalance stragy priority.`
This is incorrect, but if it appeared, a random one(I mean not 
RandomLoadBalance but random one of all the LoadBalance) may be used. The code 
to init loadbalance is: 

```
if (CollectionUtils.isNotEmpty(invokers)) {
    return 
ExtensionLoader.getExtensionLoader(LoadBalance.class).getExtension(invokers.get(0).getUrl()
            .getMethodParameter(RpcUtils.getMethodName(invocation), 
Constants.LOADBALANCE_KEY, Constants.DEFAULT_LOADBALANCE));
}
```
The important code is `invokers.get(0).getURL()`. 

`How to distinguish between two service providers when it's host and port are 
same.(include service interface).`  Maybe use 'group'.


[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/2419 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to