On Thu, Jan 20, 2011 at 12:34 PM, Franck <[email protected]> wrote:
> Thanks Branko, I'll have a look !

Btw, Python interpreter on its own won't make good use of multi-core
CPUs. However, nginx can also serve as a load-ballancer, so it's
possible to start multiple instances of your app (say one per CPU
core) and let nginx load-ballance them[1]. I haven't tested this yet,
since in my case I run my app as a system service[2] and I'd have to
set up one service per instance.

[1] http://wiki.nginx.org/LoadBalanceExample
[2] 
http://www.brankovukelic.com/post/2743988069/running-web-apps-as-linux-system-service


-- 
Branko Vukelic

[email protected]
http://www.brankovukelic.com/

-- 
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