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

Make scheduler more precise #3734

Closed
mperham opened this issue Jan 26, 2018 · 0 comments
Closed

Make scheduler more precise #3734

mperham opened this issue Jan 26, 2018 · 0 comments

Comments

@mperham
Copy link
Collaborator

mperham commented Jan 26, 2018

I originally set the scheduler to fire within 15 seconds, because each Sidekiq process would check during that time and I didn't want someone with 100 Sidekiq processes slamming Redis.

Today the scheduler adapts for the number of processes in the cluster and randomly perturbs how often it checks to avoid overwhelming Redis; we should be able to safely lower it to something more precise.

I'd suggest we lower the average interval from 15 to 5 seconds.

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

No branches or pull requests

1 participant