Last modified: 2014-07-15 20:38:38 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 T69543, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67543 - Performance of Recurrent Reports
Performance of Recurrent Reports
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
u= c=EEVS p=0 s=2014-07-10
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-04 18:07 UTC by Dan Andreescu
Modified: 2014-07-15 20:38 UTC (History)
7 users (show)

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


Attachments

Description Dan Andreescu 2014-07-04 18:07:52 UTC
While testing how many instances of recurring reports we could spawn as part of the daily run, we discovered a lack of understanding around wikimetrics database performance and queue concurrency.  We want to address that as follows:

* find out why, if we run more than about 100 report instances at the same time, we get mysql errors about QueuePool limit.
* if this QueuePool error is completely fixable with configuration, great
* if configuration doesn't completely solve our problem, look into throttling the number of parallel tasks that we can submit to the queue from the recurrent_reports() function.  Right now, it's unlimited and that's not great.  Celery has lots of constructs like chords and groups that can help us batch things up better.
Comment 1 Gerrit Notification Bot 2014-07-07 16:44:08 UTC
Change 142007 had a related patch set uploaded by Milimetric:
Remove limit on recurrent, add throttling

https://gerrit.wikimedia.org/r/142007
Comment 2 Gerrit Notification Bot 2014-07-08 10:13:29 UTC
Change 142007 merged by jenkins-bot:
Remove limit on recurrent, add throttling

https://gerrit.wikimedia.org/r/142007
Comment 3 Dan Andreescu 2014-07-15 20:38:38 UTC
All the research and fixing has been done or split up into these two related issues:

https://bugzilla.wikimedia.org/show_bug.cgi?id=67823
https://bugzilla.wikimedia.org/show_bug.cgi?id=67822

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


Navigation
Links