https://github.com/samircury/docker-cpu-webserver
173
CPU Intensive webserver - intended for benchmarks
https://github.com/samircury/docker-cpu-webserver
Most publicly available webserver/REST containers are very minimalist - Hello World grade.
This came from a need of benchmarking a K8s cluster with a more realistic workload - to simulate business logic and stress the system somewhat, this container will not only serve a page but calculate the square root of a big number in the process.
Check dfens-app.py for the code. Feel free to change it to be more CPU intensive, allocate more memory or make external API calls.
Content type
Image
Digest
Size
37.9 MB
Last updated
almost 6 years ago
docker pull samircury/cpu-webserver