Using FastCGI for python

Roberto De Ioris roberto at
Thu Sep 27 05:13:38 UTC 2012

> FastCGI is language-independent and like cgi can serve all languages, but
> setting up nginx with fcgiwrap and spawn-fcgi is only used for serving
> Perl.
> Almost all tutorials and instructions use this method for Perl-FasctCGI.
> For
> serving Pythong scripts, the dominant method is uWSGI.
> Is there any limitation for using FastCGI for Python that it is not usual?
> or the reason is merely that uWSGI is better?
> If it is only better, how much? Why there is no such system for Perl?

uwsgi protocol (and the uWSGI application server) is not python specific,
after python, the perl/psgi plugin is the most used behind uwsgi/uWSGI
(just as an example). The uWSGI application server can speak fastcgi too,
but uwsgi is preferred because it is a lot more simple to parse and to

>From a performance point of view, there is no particular advantage.

Roberto De Ioris

More information about the nginx mailing list