<div dir="ltr"><br><br><div class="gmail_quote">2008/10/13 "Martin v. Löwis" <span dir="ltr"><<a href="mailto:martin@v.loewis.de">martin@v.loewis.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> How often do you run it ? I guess a daily update is enough for the grand total ?<br>
<br>
</div>I think it still runs daily. There was one complaint about that, but the<br>
user could accept that as a policy after understanding what happened (he<br>
thought the feature was broken as there was no immediate update).<br>
<div class="Ih2E3d"><br>
> 1/ each mirror maintain simple text-based stats pages, with the local<br>
> count, reachable from an url (/local_stats)<br>
> 2/ PyPI modifies its script so it injects its apache count + the<br>
> registered mirrors local counts<br>
> 3/ PyPI maintains a simple text stats page, with the grand count (/stats)<br>
<br>
</div>Sounds fine to me. Expect that to become a long file, though, with one<br>
line per file (roughly 20000 files with at least one download).</blockquote><div><br>Maybe we could use one subfolder per alphabet letter, like what is done in packages/ at PyPI<br>that would lower it down to roughly 1000 items per pages,<br>
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="Ih2E3d"><br>
> one stat page represents one day, and the stats are presented in<br>
> folders that represents the year and the month<br>
<br>
</div>I wonder whether it might be easier to have a single file, with the<br>
totals for that server.</blockquote><div><br>You would need to specify a timestamp for each single download though, to make sure PyPI<br>knows which hits to count, depending on the last date it checked the mirror. <br><br>
if we have 1000 downloads per day, that's a huge file after a while<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="Ih2E3d"><br>
> iw.recipe.fss/iw.recipe.fss-0.2.1.tar.gz = 123<br>
> foo.bar/foo.bar-0.3.tar.gz = 12<br>
<br>
</div>I would drop the "=" in that syntax.<br>
</blockquote><div><br>Ok<br><br>I'll upgrade the proposal, reflecting these infos<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Regards,<br>
Martin<br>
_______________________________________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Tarek Ziadé - Directeur Technique<br>INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632<br>Bureaux de la Colline - 1 rue Royale - Bâtiment D - 9ème étage<br>92210 Saint Cloud - France<br>
Phone : 01.78.15.24.00 / Fax : 01 46 02 44 04<br><a href="http://www.ingeniweb.com">http://www.ingeniweb.com</a> - une société du groupe Alter Way<br>
</div>