t-io 3.1.1 发布,顺便孵化一款 Java 版 http 暴力测试工具

栏目: 软件资讯 · 发布时间: 7年前

内容简介:概述 t-io最近发的版本有点多(没发新闻),一个原因就是因为tio在TFB上的测试结果,不是特别突出,可参考:https://my.oschina.net/talenttan/blog/1841863,所以小修小改比较多,小改过后看到TFB测试结果变化不...

概述

t-io最近发的版本有点多(没发新闻),一个原因就是因为tio在TFB上的测试结果,不是特别突出,可参考:https://my.oschina.net/talenttan/blog/1841863,所以小修小改比较多,小改过后看到TFB测试结果变化不大,又开始review并优化代码,但在TFB上的排名变化都不是很大,甚至会下降(譬如变换线程调度模式后,容易产生较大的性能变化)。

在windows下似乎没有好的http暴力测试工具,于是前天下午开始写了个java版的暴力测试工具,见:https://my.oschina.net/talenttan/blog/1843645,通过这个 工具 也找到了拖tio-mvc后腿的地方,所以不出意外周六就能看到tio-mvc在TFB上排名的变化(前提是TFB平台merge我的pr)

修改点

1、org.tio.core.GroupContext
    + useQueueDecode: 是否使用队列解码
    + useQueueSend:   是否使用队列发送
    + statOn:  流量统计开关
    
2、增加业务id绑定
    + org.tio.core.Tio.bindBsId(ChannelContext, String)
    + org.tio.core.Tio.unbindBsId(ChannelContext)
    + org.tio.core.Tio.sendToBsId(GroupContext, String, Packet)
    + org.tio.core.Tio.bSendToBsId(GroupContext, String, Packet)
    
3、tio-mvc的invoke改用reflectasm实现

4、增加tio-http-client工程,这个主要用于http暴力测试,不作为http client的api使用

5、其它各种小修改

最新pom

<dependency>
    <groupid>org.t-io</groupid>
    <artifactid>tio-core</artifactid>
    <version>3.1.1.v20180712-RELEASE</version>
</dependency>

【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Trading and Exchanges

Trading and Exchanges

Larry Harris / Oxford University Press, USA / 2002-10-24 / USD 95.00

This book is about trading, the people who trade securities and contracts, the marketplaces where they trade, and the rules that govern it. Readers will learn about investors, brokers, dealers, arbit......一起来看看 《Trading and Exchanges》 这本书的介绍吧!

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具