The official WebBench docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current WebBench docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
WebBench is a lightweight and easy-to-use HTTP benchmarking tool designed to measure the performance of web servers. It simulates multiple concurrent clients sending HTTP request to a target server, allowing users to evaluate throughput, reponse time, and concurrency handing capabilities.
The tag of each webbench docker image is consist of the version of webbench and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 1.5-oe2403sp1 | webbench 1.5 on openEuler 24.03-LTS-SP1 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} based on their requirements.
Pull the openeuler/webbench image from docker
docker pull openeuler/webbench:{Tag}
Run with an interactive shell
You can start the container with an interactive shell to use webbench.
docker run -it --rm openeuler/webbench:{Tag} bash
Start a simple HTTP server
In the directory containing you index.html file, run:
nohup python3 -m http.server 8080 &
8080.nohup and & allow the sever to keep running in the background.Test GET request
Once the server is running, use webbench to generate HTTP load:
webbench -c 100 -t 30 http://127.0.0.1:8080/index.html
This means using 100 concurrent clients to test accessing http://127.0.0.1:8080/index.html for 30 seconds.
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:b77b4202b…
Size
171.4 MB
Last updated
6 months ago
docker pull openeuler/webbenchPulls:
1
Last week