Last modified: 2014-04-16 21:25:22 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 T65737, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63737 - Limit what we serialize to celery via task.delay(...)
Limit what we serialize to celery via task.delay(...)
Status: NEW
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-09 17:30 UTC by Dan Andreescu
Modified: 2014-04-16 21:25 UTC (History)
5 users (show)

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


Attachments

Description Dan Andreescu 2014-04-09 17:30:30 UTC
Serialization to celery is expensive and unnecessary.  Our code is currently using the style:

    some_instance.task.delay(some_instance)

to pass itself to celery.  This is silly, cumbersome, and wrong.  We should fix it across the whole codebase.
Comment 1 Bingle 2014-04-09 17:35:17 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/cards/1536

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


Navigation
Links