Re: application deployment question about nginx and pylons

2010-04-27 Thread Terry Schmitt
Krishnakant,
I can't speak to the best method with Pylons, as I'm just learning
Python and Pylons, but to me, the main benefit of using Nginx and
reverse proxy is:
1. You can load balance between several instances of your pylons app.
2. Nginx can serve all your static content for you, which reduces the
load on the app server.

Thanks,
Terry

--
Thanks, but what bennifit will we get by reverce proxy with nginx?
Isn't there a way like apache uses mod_python?
Happy hacking.
Krishnakant.

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: application deployment question about nginx and pylons

2010-04-27 Thread Terry Schmitt
cd34,

Thanks for that link about mod_wsgi. Very informative.
Like Weixi Yen, my preference is the simplicity of using reverse proxy
with Nginx. I've used this in the past for Java based apps. It's fast,
easy to configure and I will probably use that as my first choice as I
venture into the Python world.


On Apr 27, 11:41 am, cd34 mcd...@gmail.com wrote:
 I've been using nginx with uwsgi:http://projects.unbit.it/uwsgi/as
 documented here:  
 http://tonylandis.com/python/deployment-howt-pylons-nginx-and-uwsgi/
 I had problems using using 0.9.5.rc1, but, 0.9.4.4 worked fine.

 I would not recommend nginx's mod_wsgi as it has problems with
 blocking 
 applications:http://blog.dscpl.com.au/2009/05/blocking-requests-and-nginx-version-...
 This is NOT Graham Dumpleton's apache mod_wsgi, it just shares the
 name and they appear to have used some of the handler code.

 You could also use phusion passenger:http://www.modrails.com/install.html
 which queues requests to avoid the blocking experienced with nginx's
 mod_wsgi.

 --
 You received this message because you are subscribed to the Google Groups 
 pylons-discuss group.
 To post to this group, send email to pylons-disc...@googlegroups.com.
 To unsubscribe from this group, send email to 
 pylons-discuss+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/pylons-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.