Page MenuHomePhabricator

CCC: Start second instance of rcworker.py
Closed, ResolvedPublic

Description

Start a second instance of rcworker.py. Given that they pop pages off of the redis queue, they wouldn't conflict and would always have work. This would allow them to speed up in the coverage of uploaded content. Currently, there is a several hours' worth of backlog for rcworker to clear through as it crashed at some point last night before I could restart it.

This will require some changes to logging as to avoid overwrites or edit conflicts there. Perhaps refactor code?

Revisions and Commits

Event Timeline

TheSandDoctor created this task.
TheSandDoctor created this object with visibility "Public (No Login Required)".
TheSandDoctor updated the task description. (Show Details)
TheSandDoctor added a commit: Restricted Diffusion Commit.Feb 12 2020, 10:57 PM

Forward works, but backwards appears to get a empty page generator. Further investigation required.

TheSandDoctor added a commit: Restricted Diffusion Commit.Feb 12 2020, 11:42 PM
TheSandDoctor added a commit: Restricted Diffusion Commit.Feb 12 2020, 11:49 PM

Now going through both forwards and backwards :)

Started 5 total workers to process the queue faster and am looking into automating their deployment dependent on queue size.