thanks, for your replys. If mod_python is the best option for hcoop, how would I go setting it up to run in the background?<br clear="all">-----------------------------------------------------------------<br><a href="http://eyecreate.googlepages.com/quotes">http://eyecreate.googlepages.com/quotes</a><br>
<br><br>
<br><br><div class="gmail_quote">On Thu, May 7, 2009 at 9:41 AM, Benjamin Hell <span dir="ltr"><<a href="mailto:beni@hcoop.net">beni@hcoop.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Adam Chlipala wrote:<br>
<div class="im">> Benjamin Hell wrote:<br>
>> I have a Django-powered site on hcoop, running my own apache daemon<br>
>> with mod_python. I don't really know whether this is needed at our<br>
>> setup, since Django can be run in different ways:<br>
>><br>
</div><div class="im">>> Maybe mod_wsgi or FastCGI are possibilities on the "generic" hcoop<br>
>> apache instance.<br>
><br>
> Do you know enough about Django to explain why they don't offer a simple<br>
> CGI deployment scenario?<br>
<br>
</div>I'm afraid, not really. I just know that they recommended mod_python<br>
in the past and mod_wsgi nowadays. Maybe looking at a major<br>
difference between FastCGI and "normal" CGI gives a clue, though:<br>
FastCGI allows the code to stay in memory as I understand it,<br>
whereas CGI does a complete startup from scratch each time a request<br>
is served. Taken that Django is a rather complex environment with a<br>
lot of individual files to be read, compiled to byte code if<br>
necessary and executed, the startup time for a Django application<br>
serving a request might just get too long.<br>
<br>
But this is just a guess - I've already had mod_python running<br>
before I looked at Django, so there was no real need to think about<br>
these issues.<br>
<br>
Cheers,<br>
<br>
Beni<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
HCoop-Help mailing list<br>
<a href="mailto:HCoop-Help@lists.hcoop.net">HCoop-Help@lists.hcoop.net</a><br>
<a href="https://lists.hcoop.net/listinfo/hcoop-help" target="_blank">https://lists.hcoop.net/listinfo/hcoop-help</a><br>
</div></div></blockquote></div><br>