Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 718 Bytes

ASGI.md

File metadata and controls

8 lines (8 loc) · 718 Bytes

Asynchronous Server Gateway Interface (ASGI) web servers to forward request to asynchronous-capable python programming language frameworks, and applications.

  • built as a successor to the Web Server Gateway Interface ([[WSGI]]). Superset of WSGI.
  • WSGI provide a standard for synchronous Python application, ASGI porvides one for both asynchronous and synchronous applications, with a WSGI backwards-compatibility implementation and multiple servers and application frameworks.
  • allowing WSGI applications to be run inside ASGI servers through a translation wrapper (provided in the asgiref library).

[!NOTE] WSGI A thread pool can be used to run the synchronous WSGI applications away from the async event loop