Stress test for gunicorn
Quick start
Setup
python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txtRun app
gunicorn -w 4 myapp:appBenchmark
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