diff --git a/docs/distributed-system/dubbo-service-management.md b/docs/distributed-system/dubbo-service-management.md index 8fed2f1..68e5dd7 100644 --- a/docs/distributed-system/dubbo-service-management.md +++ b/docs/distributed-system/dubbo-service-management.md @@ -31,7 +31,7 @@ - 服务分层(避免循环依赖) - 调用链路失败监控和报警 - 服务鉴权 -- 每个服务的可用性的监控(接口调用成功率?几个9?99.99%,99.9%,99%。) +- 每个服务的可用性的监控(接口调用成功率?几个 9?99.99%,99.9%,99%) ### 服务降级 比如说服务 A 调用服务 B,结果服务 B 挂掉了,服务 A 重试几次调用服务 B,还是不行,那么直接降级,走一个备用的逻辑,给用户返回响应。 diff --git a/docs/distributed-system/dubbo-spi.md b/docs/distributed-system/dubbo-spi.md index 5ed658c..a072a30 100644 --- a/docs/distributed-system/dubbo-spi.md +++ b/docs/distributed-system/dubbo-spi.md @@ -77,8 +77,9 @@ hessian=com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocol 然后自己搞一个 `dubbo provider` 工程,在这个工程里面依赖你自己搞的那个 jar,然后在 spring 配置文件里给个配置: +```xml - +``` provider 启动的时候,就会加载到我们 jar 包里的`my=com.bingo.MyProtocol` 这行配置里,接着会根据你的配置使用你定义好的 MyProtocol 了,这个就是简单说明一下,你通过上述方式,可以替换掉大量的 dubbo 内部的组件,就是扔个你自己的 jar 包,然后配置一下即可。 ![dubbo-spi](/images/dubbo-spi.png) diff --git a/docs/distributed-system/images/zookeeper-distributed-lock.png b/docs/distributed-system/images/zookeeper-distributed-lock.png index b109514..00ab062 100644 Binary files a/docs/distributed-system/images/zookeeper-distributed-lock.png and b/docs/distributed-system/images/zookeeper-distributed-lock.png differ diff --git a/images/zookeeper-distributed-lock.png b/images/zookeeper-distributed-lock.png index 7b93e51..00ab062 100644 Binary files a/images/zookeeper-distributed-lock.png and b/images/zookeeper-distributed-lock.png differ