Re: need help with enginx configuration with Pylons.

2011-04-25 Thread Gopalakrishnan S
I use 4 instances of paste with different local ports and using nginx to serve the static files and do the load balancing between the paste instances. Even-though I use single server, the performance difference is a lot when you run multiple instances of paste instances it may due to Python's lack

Re: need help with enginx configuration with Pylons.

2011-04-24 Thread Michael Merickel
The paste http server is capable of running on its own and handling traffic. This setup just uses nginx as a load balancer. I'm really not familiar with how fastcgi interacts with WSGI apps, someone else will have to answer that for you. Michael On Sun, Apr 24, 2011 at 2:50 PM, Krishnakant Mane

Re: need help with enginx configuration with Pylons.

2011-04-24 Thread Krishnakant Mane
Thanks Michael. So will just reverce proxy help me utilise the performance bennifits that nginx offers? Afterall this kind of setup will only help to proxy requests to python paist. But is paist itself good enough to handle loads of requests? I herd that fastcgi does some event based requesting

Re: need help with enginx configuration with Pylons.

2011-04-24 Thread Michael Merickel
I'm not sure what the pros/cons of fastcgi are, but I use nginx in production as a reverse proxy on several projects. This cookbook is for pyramid, but the configuration is framework-agnostic: http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment.html#nginx-paster-supervisord Obv

need help with enginx configuration with Pylons.

2011-04-24 Thread Krishnakant Mane
Hello all. Can some one help me out with a small problem? if any one has ever deployed an application in pylons 0.9.7 using nginx 1.0 or lower, then please give me an example of nginx.conf file and any other files I need to change. My application name is gnukhata and I will highly appreciate if