[Web] WSGI (Web Server Gateway Interface)

Rex Chiang
May 9, 2022

--

WSGI (Web Server Gateway Interface) is an interface specification between web server and Python web frameworks/applications, and forward requests from web servers to web frameworks/applications.

Gunicorn

  • Gunicorn is one of WSGI server, so that it can run Python web applications which implement the WSGI specification.
  • Manage running multiple instances of web application, and make sure the instances are healthy and restart them if needed.
  • Distribute incoming requests between instances of web application, and communicate with the web server.

--

--

No responses yet