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

Modified default scheduler to choose initial slave at random, instead of first in list #12

Merged
merged 1 commit into from
Mar 29, 2012

Conversation

loren
Copy link
Contributor

@loren loren commented Aug 18, 2011

Modified default scheduler to choose initial slave at random, instead of first in list. When using with Resque workers, when each worker starts up, it fires off the first query to the first slave in the list. If the first query to the worker is an expensive query, that first slave gets inundated while the others are idle.

schoefmann added a commit that referenced this pull request Mar 29, 2012
Modified default scheduler to choose initial slave at random, instead of first in list
@schoefmann schoefmann merged commit 94cebea into schoefmann:master Mar 29, 2012
airhorns referenced this pull request in airhorns/multi_db Jan 23, 2013
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