What is the best way to use python ?

Alex Sergeyev asergeyev at dyn.com
Fri Oct 22 23:40:05 MSD 2010


Your question is very very fuzzy, it very much  depends on what kind of
application/task you want to have, 

For example if you use RDBMS, mostly any backend efficiency will be
stripped down by database operations, that's definitely the place where
(if you have working solution already) you may not win anything by just
switching from to nginx. 

I would address python side of your question by recommending these two
(not mine) performance reports:


You should do something like that before you'll choose any of the
solutions from those that may for you. 

What load would you expect in next year or two, what CPU load your
application generates on that load, what server resources you have to
work with and so on. 

Rule of the thumb is not to plan scaling more than 10 times from what
your projected load is (taking into account natural growth that you have


On Fri, 2010-10-22 at 14:14 -0400, Varix wrote:
> Hallo,
> what is the best way to use nginx with python?
> I use python 2.6, nginx 0.8.53 and bluebream.
> Per FastCGI, WSGI or proxy_pass?
> What are the advantages and disadvantages for each way?
> Varix
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,143598,143598#msg-143598
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

More information about the nginx mailing list