Paweł Stradomski wrote: > W liście SamDonaldson z dnia czwartek 29 maja 2008: >> 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. >> >> Also, is the fact that I'm only running a single paster process a >> problem? I remember iwth RoR, mongrel started multiple child >> processes. >> > RoR is non-threadsafe and uses processes to allow concurrent access. Pylons, > on the other hand, uses threads. I don't know if starting multiple processes > would give much.
The default server(s) (Paste's and CherryPy's both) use threads, but Pylons is not particularly tied to threads. Multiple processes can definitely speed up your application on multi-processor/multi-core systems. And setups like that shouldn't really hurt on other systems. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
