Gunicorn & Flask
This blog will demo running Flask with Gunicorn and how to enable multiple workers.
First, let's start with this simple Flask app called app.py: which just has two endpoints:
/healthcheck endpoint which returns "ok".
/sleep endpoint which sleeps f...
nav610.hashnode.dev3 min read