Sign inSign up

satishsverma/wrk

By satishsverma

•Updated about 2 years ago

This repository contains Dockerized wrk, published to the public container registry.

Image
0

375

satishsverma/wrk repository overview

⁠Wrk in Docker

GitHub Build Status

⁠Summary

This repository contains Dockerized wrk⁠, published to the public container registry via automated build mechanism.

⁠Configuration

This docker image contains the following software stack:

Total image size is less than 30 MB.

⁠Dependencies

⁠Installation

Pull latest versions:

docker pull satishsverma/wrk:latest
⁠Get help
docker run --rm satishsverma/wrk

⁠Benchmark Test

⁠Simplest example

The simplest case we could run with wrk is:

docker run --rm satishsverma/wrk -t2 -c5 -d5s -H 'Host: example.com' --timeout 2s http://$APP1_PRIVATE_IP:3000/

Which means:

-t2: Use two separate threads
-c5: Open six connections (the first client is zero)
-d5s: Run the test for five seconds
-H 'Host: example.com': Pass a Host header
--timeout 2s: Define a two-second timeout
http://$APP1_PRIVATE_IP:3000/ The target application is listening on $APP1_PRIVATE_IP:3000
Benchmark the / path of our application
⁠With Script.
docker run --rm  -v `pwd`:/data satishsverma/wrk -s script.lua  http://example.com/

Tag summary

Content type

Image

Digest

sha256:16bdfc320…

Size

12.2 MB

Last updated

about 2 years ago

docker pull satishsverma/wrk