GitHunt
PI

piotrplenik/poc-gunicorn-worker-stress-test

Stress test for gunicorn

Quick start

Setup

python3 -m venv venv
source ./venv/bin/activate

pip install -r requirements.txt

Run app

gunicorn -w 4 myapp:app

Benchmark

Run in one window benchmarking using ApacheBench:

ab -n 100 -s 50 -c 5 http://127.0.0.1:8000/

In parallel try to open status page:

curl http://127.0.0.1:8000/status

Languages

Python100.0%

Contributors

Created September 26, 2023
Updated September 26, 2023
piotrplenik/poc-gunicorn-worker-stress-test | GitHunt