Skip to content

obvionaoe/docker-ghz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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