I'd add the following 2 reasons:

1. mod_security or its equivalent (sub-bullet of Mike's #1 but I think
it's important to call out)
2. if you light up paster with a load balancer on a quad core machine
(at least, if you did it two years ago like we did), only one CPU will
reach 100% utilization.  we were set up to proxy to four paster
instances per box, using apache as a front end.  worked like a dream.

cheers,
andre

On Tue, Oct 27, 2009 at 12:58 PM, Mike Orr <[email protected]> wrote:
>
> On Tue, Oct 27, 2009 at 12:47 PM, Jonathan Vanasco
> <[email protected]> wrote:
>>
>> many people serve moderately trafficked sites through paster, myself
>> included.
>>
>> the two things you'd need to do are:
>>
>> 1- Make a shell script to handle startup / shutdown
>> 2- install something like nginx on port 80 , and have that handle the
>> static files or file directories ( js / css /images / etc ); then just
>> proxy everything else to paster
>
> He was asking about using Paster alone without a webserver.  Yes, you
> can do this.  There are three reasons most people use Apache or Nginx:
>
> 1. To use its features: SSL, virtual hosts, rewriting, authentication,
> fast static files, caching, etc.
> 2. Apache is very widely used and has a long track record, so many
> people feel safer about letting it handle SSL.
> 3. Apache can clean up misformatted requests from substandard user
> agents, which might inconvenience or crash the Paster routine.
>
> I use Paster with ProxyPass, and run it under Supervisor rather than
> using a startup script.
>
> --
> Mike Orr <[email protected]>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to