Welcome! Log In Create A New Profile

Advanced

Re: What is the best way to use python ?

Alex Sergeyev
October 22, 2010 03:44PM
Varix,


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:

http://nichol.as/asynchronous-servers-in-python
http://nichol.as/benchmark-of-python-web-servers

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
historically).


Alex.



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@nginx.org
> http://nginx.org/mailman/listinfo/nginx



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

What is the best way to use python ?

Varix October 22, 2010 02:14PM

Re: What is the best way to use python ?

Alex Sergeyev October 22, 2010 03:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 124
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready