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

Should gracefully handle a pool of nodes as well #3

Open
ixmatus opened this issue Jul 19, 2012 · 0 comments
Open

Should gracefully handle a pool of nodes as well #3

ixmatus opened this issue Jul 19, 2012 · 0 comments

Comments

@ixmatus
Copy link

ixmatus commented Jul 19, 2012

On creation of a pool, it would be nice to feed it a list of hosts; use case here would be if a connection slows - M/R throws a 500, or timeouts start occurring from heavy load on a specific node, riakpool can failover to a less busy node.

I'm thinking of adding in this code but it also requires being able to query a riaknode for its "load" which isn't currently possible. I may contribute a change that offers that through the Riak PBC API and then work on adding this functionality to RiakPool.

Making a ticket here so I don't forget about this project, as it would make more sense than a round-robin proxy sitting in front of the nodes because this would enable the riakpool manager to know the state of each cluster member and serve execution requests based on which member is most available. A powerful feature IMHO and very doable.

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