Skip to content

Commit

Permalink
Update consumer.md (#2607)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfordjody committed May 18, 2023
1 parent 89d0aff commit 991a727
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ weight: 2
2.7.5 版本对整个调用链路做了全面的优化,根据压测结果显示,总体 QPS 性能提升将近 30%,同时也减少了调用过程中的内存分配开销。其中一个值得提及的设计点是 2.7.5 引入了 Servicerepository 的概念,在服务注册阶段提前生成 ServiceDescriptor 和 MethodDescriptor,以减少 RPC 调用阶段计算 Service 原信息带来的资源消耗。

## 使用场景
并发请求,负载均衡,连接管理,超时处理,容错等。

## 实现方式
### 消费端线程池模型优化
Expand Down Expand Up @@ -53,4 +54,4 @@ weight: 2
关于性能优化,在接下来的版本中将会持续推进,主要从以下两个方面入手:

1. RPC 调用链路。目前能看到的点包括:进一步减少执行链路的内存分配、在保证协议兼容性的前提下提高协议传输效率、提高 Filter、Router 等计算效率。
2. 服务治理链路。进一步减少地址推送、服务治理规则推送等造成的内存、cpu 资源消耗。
2. 服务治理链路。进一步减少地址推送、服务治理规则推送等造成的内存、cpu 资源消耗。

0 comments on commit 991a727

Please sign in to comment.