Hi Sam,

On May 28, 6:12 pm, SamDonaldson <[EMAIL PROTECTED]> wrote:
> Yes, lighttpd serving static and all dynamic requests forwarded to the
> paster process talking SCGI.  Should I make the switch to nginx as it
> seems like everybody has something good to say about nginx, and it's a
> good load balancer.

If your static content is served directly by Web server, I'd recommend
to remove Cascade middleware from WSGI chain of your Pylons
application. I doubt that switching to Nginx would make any difference
for dynamic content. And I would even argue on whether Nginx is any
better than Lighty in serving Pylons application, unless your server's
OS is Mac OS X or FreeBSD ;-)

> Also, is the fact that I'm only running a single paster process a
> problem?  I remember iwth RoR, mongrel started multiple child
> processes.

You can try to use both threads and multi-process if you start few app
instances in threaded mode bound to different ports and configure
Lighty/Nginx to do a load-balancing. Like others said, most Web
applications' bottleneck is database and not problems between fronend
and backend.

Cheers,
Alexander
--~--~---------~--~----~------------~-------~--~----~
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