
2008/10/13 "Martin v. Löwis" martin@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
(/stats)
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.
Ok
I'll upgrade the proposal, reflecting these infos
Regards, Martin _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig