Last modified: 2014-07-22 15:49:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69822, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67822 - Optimize JSON format of recurrent report output
Optimize JSON format of recurrent report output
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Nobody - You can work on this!
u=Kevin c=EEVS p=0 s=2014-07-10
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-10 19:49 UTC by Dan Andreescu
Modified: 2014-07-22 15:49 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Andreescu 2014-07-10 19:49:29 UTC
Currently, recurrent reports are outputting:

"date": { "SUM": { "submetric": value } },
"date": { "SUM": { "submetric": value } },
"date": { "SUM": { "submetric": value } }

And we can easily make it more efficient if we use the format we have for timeseries output:


"SUM": { "submetric": {
    "date": value,
    "date": value,
    "date": value
}

This also makes it possible for us to backfill the reports by using a single timeseries report instead of a set of reports for each day missesd.  That would improve performance of backfilling by orders of magnitude.
Comment 1 Gerrit Notification Bot 2014-07-15 19:15:29 UTC
Change 146521 had a related patch set uploaded by Milimetric:
Make coalesced report format more efficient

https://gerrit.wikimedia.org/r/146521
Comment 2 Gerrit Notification Bot 2014-07-18 09:24:24 UTC
Change 146521 merged by Nuria:
Make coalesced report format more efficient

https://gerrit.wikimedia.org/r/146521

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links