Page MenuHomePhabricator

Upgrade jobrunners to redis 2.8
Closed, DeclinedPublic

Description

This allows the use of efficient SCAN commands, which could replace the ugly wiki type/dbname tracking in the code now.

If the root job keys were moved to another redis db (e.g. not DB 0), then finding the queues with jobs to recycle/undelay could be faster that pinging all the ones that might exist.

The denormalized aggregator hash (listing which queues have jobs) could probably also be removed.

Event Timeline

aaron raised the priority of this task from to Needs Triage.
aaron updated the task description. (Show Details)
aaron added a project: Sustainability.
aaron added subscribers: aaron, Joe.
aaron set Security to None.
aaron updated the task description. (Show Details)
Joe triaged this task as Low priority.Feb 13 2016, 8:34 AM
Joe added a project: SRE.
Krinkle added a project: WMF-JobQueue.
Krinkle subscribed.

I'm assuming this is obsolete given there are no longer JobQueue redis instances.