obvionaoe / docker-ghz

A slim docker image for running ghz load tests

Home Page:https://hub.docker.com/r/obvionaoe/ghz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-ghz

Docker Size Docker Pulls docker-ghz Version

License

Discord

A slim Alpine-based docker image for running ghz load tests.

Usage:

A good way to use the image with minimal configuration, is to use volumes to mount your proto(s) and config file(s) into the container before executing your call.

This will allow you to call ghz very easily:

docker run \
    --volume "${PWD}/protos:/ghz/protos" \
    --volume "${PWD}/config.json:/ghz/config.json" \
    obvionaoe/ghz \
    --config=/ghz/config.json \
    --proto=/ghz/protos/HelloWorld.proto \
    --call=helloworld.Greeter.SayHello \
    0.0.0.0:50051

This will start the ghz load test.

You can show the help message by running:

docker run obvionaoe/ghz --help

For more information on running ghz, see: https://ghz.sh

About

A slim docker image for running ghz load tests

https://hub.docker.com/r/obvionaoe/ghz

License:GNU General Public License v3.0


Languages

Language:Dockerfile 74.5%Language:Shell 25.5%