Note that there are some explanatory texts on larger screens.

plurals
  1. POBuilding Django app using Comet/Orbited on Apache, use mod_wsgi or mod_python?
    primarykey
    data
    text
    <p>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. </p> <p>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. </p> <p>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 <a href="http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html" rel="nofollow noreferrer">Load spikes and excessive memory usage in mod_python</a></p> <p>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.</p> <p>I was considering implementing comet using the technique described by Dark Porter ( <a href="http://darkporter.com/?p=7" rel="nofollow noreferrer">http://darkporter.com/?p=7</a>) 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.</p> <p>So my questions:</p> <p>1) Is it possible to implement Dark Porter's method using mod_wsgi? </p> <p>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)</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload