Building a Django app on a VPS. I am not very experienced with setting up my own server, but I decided to try a VPS this time around.
I have been doing a bunch of research to learn how to "properly" setup a LAMPython server using the Apache worker MPM. Naturally, the mod_python vs mod_wsgi debate came up.
Reading Graham Dumpleton's blog and his various mailinglist responses, I've learned quite a bit. Particularly, that the performance of mod_python could be greatly improved by using worker MPM - as described at Load spikes and excessive memory usage in mod_python
Regardless, I had decided to go with mod_wsgi(daemon mode) + worker MPM, but then I started looking into implementing Comet and I got a bit confused.
I was considering implementing comet using the technique described by Dark Porter ( http://darkporter.com/?p=7) because it looks like it optimizes the django setup a bit more by having it all in one process, but he specifically says that he uses mod_python and makes no mention of mod_wsgi.
So my questions:
1) Is it possible to implement Dark Porter's method using mod_wsgi?
2) If you were setting a server to support Django+Comet, what components would you use and why? (mod_python vs mod_wsgi / DarkPortersMethod vs MorbidQ vs RabbitMQ)
Thanks