So at work recently, we started looking at switching our django setups from mod_python to mod_wsgi, as we kept having memory and cpu use issues with mod_python, and mod_wsgi was supposed to be far better with performance.
Well, it’s only been a day so far, but the results have been very promising. Our memory usage was cut in half, and load bottomed out.
Edit: this is daemon mode with threads=1
Initial testing showed more drastic improvements, so for anyone else testing, take initial results with a grain of salt :)
With that said, here are the actual results:
Just after switching:
A day after switching:
Too early to be absolutely sure that everything is working well, but it’s all looking good so far :)