GithubHelp home page GithubHelp logo

stress-test's Introduction

一个java压测引擎

实现方式:

1. 线程池进行线程初始化
2. CyclicBarrier 设置线程集合点
3. CountDownLatch 监控线程是否执行完成
4. netty实现集群压测

功能:

1. 压测模型 
    时长
    次数
    forever
2. format
    并发数:20
    总执行次数:3790
    总耗时:10015.1031 ms
    错误数: 0
    错误率: 0.0%
    TPS:379.5439
    最小耗时:49.982 ms
    最大耗时:62.14 ms
    平均耗时:52.6948 ms
    50%的耗时在50.914 ms以内
    60%的耗时在51.0545 ms以内
    70%的耗时在54.9465 ms以内
    80%的耗时在54.9998 ms以内
    90%的耗时在55.9717 ms以内
    95%的耗时在57.7557 ms以内
    99%的耗时在60.9855 ms以内
3. 支持压测协议
    http
    其他协议可实现StressTask自动实现
4. 远程集群压测
    StressServerStart 启动server端
    StressRemoteTester 设置需要压测的机器ip:port 

规划:

1. 压测脚本格式定义以及解析
2. 命令行操作解析
3. 压测实时数据可视化
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.