This is an automated email from the ASF dual-hosted git repository. hyunkun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push: new 7e2a40d fix image source in consumer-threadpool.md 7e2a40d is described below commit 7e2a40d8f5698ac60ec8ef4d7cca53513464d008 Author: Huang YunKun <hty...@gmail.com> AuthorDate: Wed Apr 29 13:44:22 2020 +0800 fix image source in consumer-threadpool.md --- docs/zh-cn/user/demos/consumer-threadpool.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zh-cn/user/demos/consumer-threadpool.md b/docs/zh-cn/user/demos/consumer-threadpool.md index 699bc2b..82008c8 100644 --- a/docs/zh-cn/user/demos/consumer-threadpool.md +++ b/docs/zh-cn/user/demos/consumer-threadpool.md @@ -12,7 +12,7 @@ https://github.com/apache/dubbo/issues/2013 **老的线程池模型** -![消费端线程池.png](./img/docs/consumer-threadpool0.png) +![消费端线程池.png](/img/docs/consumer-threadpool0.png) 我们重点关注 Consumer 部分: @@ -25,7 +25,7 @@ https://github.com/apache/dubbo/issues/2013 **2.7.5 版本引入的线程池模型** -![消费端线程池新.png](./img/consumer-threadpool1.png) +![消费端线程池新.png](/img/consumer-threadpool1.png) 1. 业务线程发出请求,拿到一个 Future 实例。 2. 在调用 future.get() 之前,先调用 ThreadlessExecutor.wait(),wait 会使业务线程在一个阻塞队列上等待,直到队列中被加入元素。 @@ -38,4 +38,4 @@ https://github.com/apache/dubbo/issues/2013 关于性能优化,在接下来的版本中将会持续推进,主要从以下两个方面入手: 1. RPC 调用链路。目前能看到的点包括:进一步减少执行链路的内存分配、在保证协议兼容性的前提下提高协议传输效率、提高 Filter、Router 等计算效率。 -2. 服务治理链路。进一步减少地址推送、服务治理规则推送等造成的内存、cpu 资源消耗。 \ No newline at end of file +2. 服务治理链路。进一步减少地址推送、服务治理规则推送等造成的内存、cpu 资源消耗。