ORES/Multiscore problem

From MediaWiki.org
Jump to navigation Jump to search

This page describes a problem we have in celery around dependent sub-tasks.

ORES multiscore pattern breakdown. ORES scoring activity broken down into 4 diagrams: (A) A simple request for a single score without worrying about celery can be split into IO and CPU work. (B) Requesting multiple scores for a single revision adds a minimal amount of IO and CPU. (C) This is decomposed by celery into two types of job -- one job for doing the real work and N jobs for return the result. (D) This decomposition lets parallel request de-duplicate requests for the same score. This is a common pattern.