dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

I have made a benchmark for popular RPC frameworks, dubbo seems to be in bad performance.

Open hank-whu opened this issue 8 years ago • 7 comments

我做了一个rpc benchmark:https://github.com/hank-whu/rpc-benchmark 会长期维护不定期发布结果的,欢迎指出代码或者配置错误,我会及时跟进并重新进行benchmark

本次测试结果:https://www.jianshu.com/p/18c95649b1a4

hank-whu avatar Jan 31 '18 10:01 hank-whu

看起来悬殊好大。。

net592 avatar Feb 01 '18 03:02 net592

@net592 是的,dubbo 默认的序列化协议效率太低,换成 kryo 就好多了

hank-whu avatar Feb 01 '18 03:02 hank-whu

@hank-whu 是的,dubbo2.6.0集成了kryo了

xhuiinit avatar Feb 02 '18 01:02 xhuiinit

主要原因是 序列化IO操作和 dubbo处理网络请求混在一起了,可以参考hsf,把序列化剥离出来,编解码只负责拼装socket字节流, 序列化和反序列化交给业务线程池做

zonghaishang avatar Feb 05 '18 02:02 zonghaishang

@zonghaishang By default, serialization&deserialization is done on biz thread.

chickenlj avatar Feb 05 '18 03:02 chickenlj

this is very interesting project we'd like to develop our own in dubbo's group, are you interested in joining us? @hank-whu

beiwei30 avatar Feb 08 '18 06:02 beiwei30

There is no activity on this issue for a long time, since we have issue https://github.com/apache/incubator-dubbo/issues/2508 to manage performance optimization work. I'm going to close this issue.

htynkn avatar Jan 10 '19 13:01 htynkn