Skip to content

nkrode/mzbench

Repository files navigation

MZBench

MZBench is a robust load testing tool. Some key features:

  • Ability to generate workload in distributed mode.
  • Flexible DSL for running various workload scenarios.
  • Putting the results into common metrics-gathering systems like Graphite.

Quickstart

To install MZBench, you need: Erlang R17, CC, C++, Python and PIP.

# clone MZBench repo
git clone https://github.com/machinezone/mzbench.git

# install python packages
pip install -r mz-bench/requirements.txt

cd mz-bench

# install MZBench server
./bin/mz-bench start_server

# start MZBench server
./bin/mz-bench start_server

# run a benchmark with graphite
./bin/mz-bench run ../examples/ramp.erl --env graphite=<graphite_address>

# or run a benchmark with graphite
./bin/mz-bench run ../examples/ramp.erl

# check dashboard at http://localhost:4800/ for the results

Deployment guide

Further reading

MZBench scenarios are DSL programs

Examples

DSL description

How to write language extensions

About

MZ Benchmarking

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 63.0%
  • JavaScript 12.4%
  • Python 10.0%
  • CSS 7.9%
  • Shell 2.7%
  • Makefile 2.0%
  • Other 2.0%