GeezerVison is showing github.com — notebook/python/flask-fib at master · scriptum/notebook
Directory actions
More options
More optionsDirectory actions
More options
More optionsFolders and files
| Name | Name | Last commit message | Last commit date |
|---|
parent directory.. |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Simplest Flask python example
- Install docker and docker-compose:
dnf install -y docker docker-compose
- Add user into docker group:
sudo usermod -aG docker myusername
- Relogin
- Start docker service if needed:
systemctl start docker.service
docker-compose up --build
curl http://localhost:5000/100000
# ... really big number
ab -c100 -n5000 http://localhost:5000/10
# ~8k rps with uwsgi