Re:Granian – a Rust HTTP server for Python applications
by uranusjr on Monday January 16, 2023 @11:53AM
(#34402561)
WSGI (same for ASGI) is a level above FastCGI (or CGI or whatever) in the stack; it exists so each Python web framework does not need implement ways to talk to CGI, FastCGI or whatever. Instead the framework implements a Python function, and the user can choose a WSGI server to wrap this Python function into whatever is needed to talk to any kind of language-agnostic gateways, including CGI, FastCGI, or even mod_python.
Re:Granian – a Rust HTTP server for Python applications
by nicolaslem on Monday January 16, 2023 @02:05PM
(#34404266)
In practice most deployments I have seen use a WSGI server that directly speaks HTTP so that CGI, FastCGI, or mod_python are not even necessary.
As for FastCGI, although it is language agnostic it didn't really get traction outside of PHP.