jdlrobson / weekipedia

11 stars 2 forks source link

Use production trending endpoint #144

Closed jdlrobson closed 6 years ago

jdlrobson commented 7 years ago

When https://phabricator.wikimedia.org/T156411 is resolved we'll be able to display hourly and daily views using it.

The weekly view can be provided temporarily (until we take care of this in the service itself) by combining results every 24 hours. Push notifications could also be done by checking the endpoint every 30 minutes (not quite real time but probably worth the saving in maintenance cost)

jdlrobson commented 7 years ago

Not quite sure how to do this.

Two issues here: 1) How to do the weekly results? I can setup a script that checks trending every 30 minutes and merges results... but how can I track an accurate picture of the total number of edits and editors and how can I handle renames? I could get a rough idea from taking the top article from each but it's not likely to be as useful as the current view.

2) Push notifications This can be done by polling every 30 minutes and changing the evaluator to work with just a score and edit total. It will no longer be instant but it's better than nothing.

jdlrobson commented 6 years ago

It's being decommissioned :( so this is no longer happening