icodening

Results 13 issues of icodening

## Issue Description 企业自建dashboard支持对批量组资源的限流,dashboard下发流控规则时会下发rule与group,要求属于该group下的资源都被流控,在SDK侧则需要根据group id得到分组下的所有资源,进而生成一个集群内相同的ClusterFlowConfig id。 原本的clusterId的生成思路很简单,使用“ rule id +资源id ”即可,但拼接后的结果会导致long溢出。 期望:或许该id使用String更为合适,灵活性更高

kind/discussion

大幅度提高dubbo协议在小报文场景下的性能。 与Triple协议性能优化做法类似#10558 ,同样是通过缓冲队列的方式提高dubbo协议的性能

type/feature

## What is the purpose of the change 优化triple协议的性能 ## Brief changelog 修改各种Command以支持HTTP2多路复用 PS:测试数据参见 #10558

issue: #10558 PR:#10587 # 前言 Triple 是 Dubbo3 提出的基于`HTTP2` 的开放协议。HTTP2基本特性可参考: [一文读懂 HTTP/2 特性](https://zhuanlan.zhihu.com/p/26559480) # 结论 先说结论,本次PR的调优性能提高约`25%`(ClientPb.listUser),与grpc还有一定的差距,仍需持续优化。理论上该改动会大幅度提高一些小报文场景!相关数据后续补充 # 基准测试 由于Triple协议是基于HTTP2来实现的,而grpc同样也是基于HTTP2实现的,那么把grpc作为一个参照对象再好不过。 这里直接使用 [dubbo-benchmark](https://github.com/apache/dubbo-benchmark) 工程做基准测试,了解大致的性能差异。 序列化方式均为`protobuf` ```` Triple (3.1.0) # Warmup Iteration 1:...

type/proposal

通过`jvisualvm`对Consumer采样发现,EventLoop线程会在写消息时与用户线程产生锁竞争的情况。 采样结果如下图所示: #### 存在锁竞争的方法

type/bug

## What is the purpose of the change fix #11458

It seems that HTTP connection pooling is not used and can be optimized

help wanted
type/proposal
component/sdk

## What is the purpose of the change [Proposal] dubbo benchmark [competition link](https://competition.atomgit.com/competitionInfo?id=be48a38bb1daf499bd5c98ac8a3108fd) ## Brief changelog ## Verifying this change ## Checklist - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo/issues)...

type/proposal

## What is the purpose of the change fix #14098 Fix the issue of errors when running out of HTTP2 stream IDs ## Brief changelog 1. reconnect when throw `Http2NoMoreStreamIdsException...

help wanted
type/proposal

# Dubbo 性能调优总结文档 ## 1.结论 先说本次dubbo调优结论,从以下benchmark的数据可得知,`小报文`场景下性能提高了约`37%`,`较大报文`的场景下性能提高了约`44%`。 ```` (协议:dubbo, 序列化:fastjson2, 测试时间:2022.11.09) 3.2 最新分支 Benchmark Mode Cnt Score Error Units Client.createUser thrpt 3 82.743 ± 13.208 ops/ms Client.existUser thrpt 3 92.768 ±...

type/proposal