On Tue, Jun 29, 2010 at 3:50 PM, &quot;Martin v. Löwis&quot; <span dir="ltr">&lt;<a href="mailto:martin@v.loewis.de">martin@v.loewis.de</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">&gt; * Move the PyPI installation to mod_wsgi (I believe it is using FCGI<br>
&gt; now?)<br>
<br>
</div>For the latter: correct.<br>
<br>
For the former (use mod_wsgi): I had actually implemented it, but needed<br>
to revert to FCGI, because mod_wsgi would cause too many hanging servers.<br></blockquote><div><br>I&#39;m surprised, what specific mod_wsgi configuration did you try?  I&#39;ve had good luck with a using a daemon process and making sure no process lives too long.  There&#39;s another configuration of mod_wsgi that runs Python in the Apache process, which I&#39;ve never used and doesn&#39;t seem like a good idea to me.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
&gt; This is largely work that would have to happen to move to a CDN, but<br>
&gt; it&#39;s simpler (given how PyPI works now) and I believe will relieve most<br>
&gt; of the problems we&#39;ve seen.<br>
<br>
</div>As for the switch to WSGI: it will *introduce* new problems.<br>
<div class="im"><br>
&gt; PyPI right now is really quite reliable,<br>
&gt; these small changes would I think be low-risk and less likely to<br>
&gt; introduce new problems while addressing what I suspect is the source of<br>
&gt; problems.<br>
<br>
</div>I disagree that these are small and low-risk. The WSGI switch will risk<br>
stability; the others (generate static pages) will not be small, and<br>
risk correctness.<br></blockquote></div><br>I don&#39;t really know how to describe &quot;small&quot; or &quot;low-risk&quot;... maybe I should say &quot;smaller&quot; and &quot;lesser-risk&quot; than the full CDN proposal.<br clear="all">

<br>-- <br>Ian Bicking  |  <a href="http://blog.ianbicking.org">http://blog.ianbicking.org</a><br>