Skip to content

Commit 677c873

Browse files
committed
docs: update docs description and images of dubbo
1 parent 5388997 commit 677c873

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

docs/distributed-system/dubbo-service-management.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
- 服务分层(避免循环依赖)
3232
- 调用链路失败监控和报警
3333
- 服务鉴权
34-
- 每个服务的可用性的监控(接口调用成功率?几个9?99.99%,99.9%,99%
34+
- 每个服务的可用性的监控(接口调用成功率?几个 9?99.99%,99.9%,99%)
3535

3636
### 服务降级
3737
比如说服务 A 调用服务 B,结果服务 B 挂掉了,服务 A 重试几次调用服务 B,还是不行,那么直接降级,走一个备用的逻辑,给用户返回响应。

docs/distributed-system/dubbo-spi.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ hessian=com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocol
7777

7878
然后自己搞一个 `dubbo provider` 工程,在这个工程里面依赖你自己搞的那个 jar,然后在 spring 配置文件里给个配置:
7979

80+
```xml
8081
<dubbo:protocol name=”my” port=”20000” />
81-
82+
```
8283
provider 启动的时候,就会加载到我们 jar 包里的`my=com.bingo.MyProtocol` 这行配置里,接着会根据你的配置使用你定义好的 MyProtocol 了,这个就是简单说明一下,你通过上述方式,可以替换掉大量的 dubbo 内部的组件,就是扔个你自己的 jar 包,然后配置一下即可。
8384

8485
![dubbo-spi](/images/dubbo-spi.png)
Loading

images/zookeeper-distributed-lock.png

7.81 KB
Loading

0 commit comments

Comments
 (0)