I have made a benchmark for popular RPC frameworks, dubbo seems to be in bad performance.
我做了一个rpc benchmark:https://github.com/hank-whu/rpc-benchmark 会长期维护不定期发布结果的,欢迎指出代码或者配置错误,我会及时跟进并重新进行benchmark
本次测试结果:https://www.jianshu.com/p/18c95649b1a4
看起来悬殊好大。。
@net592 是的,dubbo 默认的序列化协议效率太低,换成 kryo 就好多了
@hank-whu 是的,dubbo2.6.0集成了kryo了
主要原因是 序列化IO操作和 dubbo处理网络请求混在一起了,可以参考hsf,把序列化剥离出来,编解码只负责拼装socket字节流, 序列化和反序列化交给业务线程池做
@zonghaishang By default, serialization&deserialization is done on biz thread.
this is very interesting project we'd like to develop our own in dubbo's group, are you interested in joining us? @hank-whu
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.