• We will serve a basic web application using Gunicorn. And see the minimal and must configuration settings you should set while using gunicorn.
  • In this section, we are going to explain the necessary steps to install gunicorn on Ubuntu 20.10 (Groovy Gorilla).
  • In Gunicorn terminology, these are referred to as worker processes (not to be confused with Heroku worker processes, which run in their own dynos).
  • If you use Gunicorn, it’s likely you have a configuration file. This is a Python module that contains settings as module-level variables.
  • NGINX also logs errors to error_log, which can occur when you've messed up your configuration somehow, or if your Gunicorn server is unresponsive.
  • In the post COVID-19 world, it is increasingly difficult to form close relationships when helping others. GuniCorn is an app that connect donors with recipients...
  • Uvicorn includes a gunicorn worker class that means you can get set up with very little configuration. The following will start Gunicorn with four worker processes
  • Gunicorn comes with a set of hooks. With these hooks, we will be able to monitor and track the events or changes happening in the system.
  • We will use gunicorn as a WSGI server to communicate with our flask app, and Nginx as a proxy server between the gunicorn server and the client.
  • From the docs: Gunicorn is based on the pre-fork worker model. This means that there is a central master process that manages a set of worker processes.