Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce RQ status load time (Python 3) #4275

Closed
wants to merge 1 commit into from

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented Oct 22, 2019

What type of PR is this? (check all applicable)

  • Refactor

Description

The RQ job status page was loading job information for all queued jobs, but for those, we only care about the amount. This PR fixes this.

Running a small benchmark - for 60k queued jobs, this PR has reduced the load time from approx 34 seconds to 2 seconds.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

@rauchy rauchy requested a review from NicolasLM October 22, 2019 11:07
@arikfr
Copy link
Member

arikfr commented Oct 23, 2019

Let's finish reviewing/merging the RQ tasks and then create a single PR for all of them.

@rauchy rauchy closed this Oct 23, 2019
@rauchy rauchy removed the request for review from NicolasLM October 23, 2019 08:21
@rauchy rauchy deleted the python-3-reduce-rq-status-load-time branch October 23, 2019 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants