performance test with or without gunicorn
- ubuntu
- python 3.8.10
python server.py
curl http://localhost:8002/todos?task=jobs&my_list=[1,2,3]
- by code reference: https://github.com/ybdesire/pylearn/blob/master/flask_restful/post_list/http_post.ipynb
ubuntu@VM-4-15-ubuntu:~$ sudo apt-get install apache2-utils
- basic
ubuntu@VM-4-15-ubuntu:~$ ab -n 10000 -c 500 http://localhost:8002/todos?task=jobs&my_list=[1,2,3]
- total 10000 requests
- concurrency is 500
-
output
-
references