Forum: NGINX Using FastCGI for python

Posted by etrader (Guest)
on 2012-09-26 21:18
(Received via mailing list)
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?

According to my tests, nginx FastCGI is able to fairly serve all 
scripting
languages. Is there a problem that may happen at heavily usage?

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,231112,231112#msg-231112
Posted by Roberto De Ioris (Guest)
on 2012-09-27 07:14
(Received via mailing list)
> 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
generate.

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

--
Roberto De Ioris
http://unbit.it
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.