EasyTransaction icon indicating copy to clipboard operation
EasyTransaction copied to clipboard

Third party benchmark / 第三方压测

Open skyesx opened this issue 5 years ago • 7 comments

Here will collect the third party benchmark articles, welcome to post your result here to help the people want to know this framework.

skyesx avatar Sep 12 '18 00:09 skyesx

海信HICS技术团队压测评估 http://springcloud.cn/view/374

本文中提到的ET的不足:

  • 入侵性大、没有DEMO、即使不需要使用队列框架也做了检查 等问题已经解决
  • RPC SpringCloud Ribbon-Rest作为底层RPC通讯时注解配置的超时无效的问题暂时没有解决,因为RPC SpringCloud Ribbon-Rest底层就不支持URI/Request级别的超时设置,只能按照Ribbon的配置按照服务级别设置超时,后续会研究如何解决

同时,评测文章中的LCN使用的是REDIS的事务日志存储,这个是一个对其他框架评测的不公平点,ET改为Redis后,性能也会有大幅提升。同时个人认为LCN有设计原理缺陷,应用崩溃时会导致数据不一致。

skyesx avatar Sep 12 '18 00:09 skyesx

If you want to get a better ET benchmark, here's the points:

  • If your Global transaction contains multiple sub-trans please use Future to get Result as late as possible
  • If the frameworks which ET is comparing with is not support idempotent, please disable ET framework idempotent support(via com.yiqiniu.easytrans.protocol.BusinessProvider.getIdempotentType())
  • use the same Distribute log database with other comparing frameworks

skyesx avatar Sep 12 '18 00:09 skyesx

这里附上我个人的测试结果:https://blog.csdn.net/yongyou890410/article/details/82719062

lsq890410 avatar Sep 16 '18 06:09 lsq890410

这里附上我个人的测试结果:https://blog.csdn.net/yongyou890410/article/details/82719062

Thx!

skyesx avatar Sep 16 '18 07:09 skyesx

我的压测结果: https://shimo.im/docs/dyojGFXPsCIYxmCI

laziobird avatar Oct 23 '18 01:10 laziobird

我的压测结果: https://shimo.im/docs/dyojGFXPsCIYxmCI

谢谢,咨询过作者,补充一些环境信息: ET 采用Mysql存储事务日志 4核4G内存 SSD存储 Server 包含 JAVA应用、DB、KAFKA,ZK 4核8G内存 Client 用于发送压力请求 没有使用框架幂等 测试的是TCC+可靠消息

skyesx avatar Oct 23 '18 02:10 skyesx

前面的测试中,提到ET的代码侵入性大,这个的确有点。细看demo的代码,不是很容易理解。

kwengelie avatar May 16 '19 08:05 kwengelie