github.com/hoffmann Peter Hoffmann on Stackoverflow @peterhoffmann on twitter Peter Hoffmann on Facebook Contact me per email Subscribe to Atom Feed

Peter Hoffmann

Software Engineer
prev page next page

How to make Ruby or Python web sites to use multiple cores?

Posted on August 31, 2008
#stackoverflow #python

This my Answer to the stackoverflow question: How to make Ruby or Python web sites to use multiple cores?:

I'm not totally sure which problem you want so solve, but if you deploy your python/django application via an apache prefork MPM using mod_python apache will start several worker processes for handling different requests.

If one request needs so much resources, that you want to use multiple cores have a look at pyprocessing. But I don't think that would be wise.