Hi,

If I understand correctly, web.py is multithreaded internally so
one web.py instance, when used with lighttpd in FastCGI mode, should
be able to serve multiple requests. However, Python does not use
native OS threads so its threading is not as efficient as other
languages such as C or Java. With lighttpd, I can also run multiple
web.py processes. I used to run 50-200 PHP processes on a physical
server but I can not really do this now because 1. Python takes a lot
of virtual memory and 2. I'm using a OpenVZ VE so the memory is limited
(the problem was discussed on this list earlier.)

I suppose I could start 5-10 Python processes but they suck lot of
memory. I'm still trying to determine the optimal configuration. Any
tip or guideline is appreciated.

Jack


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to