dubbo timeout processing and configuration override

Provider setting mode

 

 

Consumers set way

 

 

Configuration Guidelines

dubbo recommended configuration as much as possible on the Provider Consumer-side properties:

1, the provider for services, better than service consumer service performance parameters, such as calling a timeout, a reasonable number of retries, etc.

2, in the configuration Provider, not Consumer Provider Configuration value is used, i.e., as a default configuration may Provider Consumer's. Otherwise, use the global settings Consumer Consumer end, which for Provider uncontrollable and often irrational

Configuration of rules covering:

1) The method is superior to other level configuration interface level, i.e., the priority small Scope 

2) Consumer side configuration better than global configuration Provider configuration,

3) Finally, the configuration values ​​Dubbo Hard Code (see configuration file)

 

 

Notes Configuration

 

 

 

It is a brief summary:

 

 Do not know to see the video: https://www.bilibili.com/video/av78127988?p=11

Guess you like

Origin www.cnblogs.com/share-record/p/12188033.html