Back on my "essays as commit messages" shithttps://github.com/rust-lang/crates.io/pull/2203 …
What do download counts even mean for http://lib.rs ? I didn't think you served crates directly?
-
-
Based on the 366, I'm guessing it's an in memory cache of 1 year of (upstream) daily download counts. As you said, since we have multiple servers updating the counts we can't cache much in process (plus Heroku can terminate us before we can write data out).
-
That's tough. But maybe you could use a more compact format in the db? Daily (version_id, date) adds ~200K identical dates every day. It could be (version_id, week_number) with a downloads[7] column, for example.
- 4 more replies
New conversation -
-
-
No, I just use crates-io data dump for display and stats.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.