Page MenuHomePhabricator

Track zim file downloads
Closed, InvalidPublic

Description

We'd like to be able to track downloads of ZIM files being served to the Android Wikipedia app. This could be done client-side or server-side, whichever makes most sense technically.

Basically, we just want track requests and (ideally) completed downloads of each compilation available via the end-point. Being able to sort that by country would also be useful.

This data will be used to determine impact of offline compilations work and inform product decisions around expanding or improving this feature.

As with page-views, its also potentially as a signal or feedback channel to communities about the kind of compilations user may want them to build or improve.

Event Timeline

Fjalapeno added a subscriber: Tbayer.

Once we figure out where we are hosting and how to get URLs, we can start work on this.

Also adding @Tbayer who will probably have some ideas here

Mholloway renamed this task from Track downloads of zim files from the compilations end point to Track zim file downloads.EditedJul 20 2017, 6:31 PM
Mholloway added a project: Analytics.

Edited slightly for clarity. The compilations endpoint we're building is really technically something more like a compilation info endpoint. The zim files will actually be served from somewhere else (tbd in T170843).

Analytics will probably have some ideas on how to count files served from wherever that ends up happening.

Analytics will probably have some ideas on how to count files served from wherever that ends up happening.

For reader data such as this one (file downloads really) we can count it with current infrastructure if it is served via varnish, given that these are simple file downloads I imagine you will have varnish caching them, correct?

I'm not sure what the caching situation will be. These files can be up to 10+ GB in size (I think we're saying up to as large as 20 GB), which is probably a concern.

@JMinor we're just putting this in radar for now, it looks like the project is stalled, let us know otherwise.

This is stalled, possibly indefinitely. Consider reopening if and when this work picks back up.