Giter VIP home page Giter VIP logo

typhoon's Introduction

typhoon

distributed system stress and load testing tool.

The tool simulates a traffic from test cluster towards system-under-test (SUT). The purposes of tool is validation of system performance and scalability, while spawning huge number of concurrent sessions.

architecture

See specification

build

The project requires Erlang/OTP development environment here and essential development tool sets. The project provides binary files for Linux x86_64 and MacOS 10.10.x platforms.

Use following commands to compile and make distributable package for your platform. The output is self-deployable bundle package typhoon-{vsn}+{head}.{arch}.{plat}.bundle

   make
   make pkg

It is possible to assemble cross platform packages on MacOS. However it requires docker tool kit and docker image with Erlang/OTP environment.

   make
   make pkg PLAT=Linux 

configuration

See config file

usage

The tool provides rest api to manage load and stress test scenarios using curl command line utility and implement html interface to visualize measurements. The load scenario is json file

Use browser to inspect the progress of the executed test http://localhost:8080/:id once test specification is defined to the cluster.

User interface screenshot

define load scenario

curl -XPUT \
   http://localhost:8080/scenario/:id \
   -H 'Content-Type: application/json' \
   -d @myload.json

remove load scenario

curl -XDELETE \
   http://localhost:8080/scenario/:id

read load scenario

curl -XGET \
   http://localhost:8080/scenario/:id

execute load scenario

curl -XGET \
   http://localhost:8080/scenario/:id/spawn

Known issues

  • The current version is optimized for http(s) protocol only, support for other protocols and protocol plug-in interface is planned for future releases

  • Scenario files are stored in-memory. However cluster manages 3 replicas.

  • The access to the tool shall not be exposed to public networks.

License

Copyright 2015 Zalando SE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

typhoon's People

Contributors

fogfish avatar

Watchers

 avatar  avatar

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.