openeuler/webbenchThe 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
bashdocker 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 [***]
This means using 100 concurrent clients to test accessing [***] 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.
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务