Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java请求和2.7.1以下(包括2.7.1)版本测试dubbo接口结果一致,2.7.1以上版本结果快很多,具体对比结果见附件 #106

Closed
chelx0621 opened this issue Mar 18, 2020 · 1 comment

Comments

@chelx0621
Copy link

chelx0621 commented Mar 18, 2020

一、 前置条件
1、 负载机和压测服务都在内网
2、 非GUI执行
3、 测试接口:dubbo接口

二、 测试结果对比
1、 以下为使用dubbo插件方式2.7.1版本50线程和100线程聚合报告
50线程:Average:83ms Throughput:588.5/sec
100线程:Average:168ms Throughput:581.8/sec
2、 以下为使用dubbo插件方式2.7.4/2.7.3版本50线程和100线程聚合报告
50线程:Average:7ms Throughput:405.2/sec
100线程:Average:5ms Throughput:399/sec
3、 以下为使用Java请求方式测试dubbo接口50线程和100线程聚合报告
50线程:Average:82ms Throughput:603.1/sec
100线程:Average:163ms Throughput:608.5/sec
三、 测试结论
使用Java请求方式和2.7.1以下版本dubbo插件测试dubbo接口结果接近,2.7.1以上版本插件方式测试dubbo接口有较大偏差

@ningyu1
Copy link
Collaborator

ningyu1 commented Mar 18, 2020

@chelx0621
非常感谢提供测试对比数据
插件版本跟dubbo的版本保持一致的,插件2.7.3以上优化了samples性能报告。
插件的2.7.4使用的是dubbo-2.7.4.1,dubbo-2.7.4.1优化了泛化调用性能,具体可以看:optimize generic invoke. #4076

@ningyu1 ningyu1 closed this as completed Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants