Mengu, it would be awesome if you could expand on this and put in the
pyramid cookbook, I'd love to hear more.

Thanks for sharing,
Iain

On Wed, Oct 5, 2011 at 2:52 PM, Mengu <whalb...@gmail.com> wrote:

> that is called learning from the experience, chris. yes, his server
> specifications may vary, his db of choice may vary but in the end this
> is all the same.
>
> @sam,
>
> proxying nginx to paster is not a good idea. been there, done that. do
> not do that if you are not going to get max 1K-5K "daily" unique
> traffic. in the cookbook it should say, "this is how to do it, but
> don't do it." i'd recommend that only for intranet use for small sized
> company.
>
> if you are going to get good amount of traffic like 5K - 10K reqs/min,
> go with apache and mod_wsgi. apache is great and can handle that
> traffic smoothly. you can use 2 web servers if needed.
>
> if you are going to get great traffic that you need to handle more
> than 20K concurrent users,  i'd suggest going with nginx + uwsgi.
> however in such deployments do not use one server. get min. 2 servers,
> 1 db. server and have a load balancer. in my next wsgi deployment, i
> will give nginx + gevent a try.
>
> and finally, i will recommend you watching this[1] django deployment
> workshop by jacob kaplan moss of django. it applies to every wsgi app.
>
> [1]
> http://blip.tv/pycon-us-videos-2009-2010-2011/django-deployment-workshop-3651591
>
> On Oct 5, 4:15 pm, Chris McDonough <chr...@plope.com> wrote:
> > On Wed, 2011-10-05 at 05:42 -0700, Sam wrote:
> > > I'm trying to decide between deploying using Nginx + paster +
> > > supervisord as described here:
> > >https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployme.
> ..
> >
> > > Or using apache + mod_wsgi as described here:
> > >https://docs.pylonsproject.org/projects/pyramid/1.0/tutorials/modwsgi.
> ..
> >
> > > Is one of the ways significantly faster? more reliable? able to handle
> > > more load?
> >
> > > Or is it pretty much a wash?
> >
> > It'll be more or less a wash for you if your traffic profile is such
> > that you're willing to rely on input from folks here rather than
> > benchmarking on your own systems.
> >
> > - C
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-devel?hl=en.
>
>

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

Reply via email to