General improvments of the indexer: Schedule indexer tasks
As of today, the indexer tasks are scheduled through a volatile scheduler [1] to:
-
avoid cluttering the (scheduling) database (softwareheritage-indexer) with message too long (swh/devel/swh-indexer#991 (closed))
-
check multiple queues prior to scheduling new ones
The indexer stack has been developed prior to the scheduler. Now the orchestrator part seems redundant and induces quite some complexity. If this is replaced by the actual scheduling part, it seems the point 2. can be addressed simultaneously.
So to achieve the indexer task scheduling goal, address 1. and 2.
Migrated from T1227 (view on Phabricator)
Edited by Phabricator Migration user