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