> Hello
>
>       I'm only getting started with learning the options to run Python web
> apps instead of PHP.
>
> From what I read, it appears that WSGI is a better option than
> FastCGI+Flup to run Python apps, and the choice is mainly between the
> mod_wsgi for Apache and uWSGI available for the main players.


Gunicorn is another popular choice, and generally more suited for 'newbies'


>
> Provided the above is correct, I have two questions:
> 1. Are there obvious reasons to use uWSGI over mod_wsgi?


it depends on your needs. From the python/WSGI perspective they are
practically equals (the author of mod_wsgi helped us fixing lot of bugs,
and generally the threading model of uWSGI maps 1:1 with mod_wsgi)

uWSGI has ISP/PaaS as the main target so you will find a huge amount of
features you will not find in other competitors and generally it has a
very
morbid attention to details. (with the downside of being less
newbie-friendly)

apache+mod_wsgi is a general purpose solution, and if you are good at
managing apache webservers you will find mod_wsgi a dream.

>
> 2. Provided I do go for uWSGI, which web server is recommended?
> Apache, Cherokee, Nginx, or Lighttpd?

generally nginx is the most "fashioned" choice, others are starting to use
only the uWSGI routers/proxy, lot of people use HAProxy. Apache + uWSGI is
another possibility (even if less tutorials are available for it)

By the way, i suggest you to start understanding what WSGI is (write
simple hello world apps) and then try all of the solutions.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to