You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/05/28 19:12:38 UTC
[jira] Resolved: (CASSANDRA-1086) Token range calculator
[ https://issues.apache.org/jira/browse/CASSANDRA-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-1086.
---------------------------------------
Fix Version/s: (was: 0.6.3)
Resolution: Won't Fix
What would be interesting is a calculator that computes the minimum number of moves to get to where the heaviest-loaded node is within N% of the least-loaded. (I'd also like to see it in Java so you don't have to hardcode your ip/load info.) I don't see how this script improves on the built-in bootstrap algorithm, since it's still single-node-oriented.
> Token range calculator
> ----------------------
>
> Key: CASSANDRA-1086
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1086
> Project: Cassandra
> Issue Type: Improvement
> Components: Contrib
> Reporter: Suhail Doshi
> Priority: Trivial
>
> We found loadbalance and autobootstrapping to be sub-par in production; also very risky too if it guesses anything wrong.
> We created a simple Python script that I am sure can be greatly improved to be more automated but thought we'd throw it up here anyway:
> http://gist.github.com/399336
> In a nutshell: give it your current token ranges, the load for that range, and it'll suggest you the best token to help load balance your cluster when you decide to add a new node. We've used it countless times in production ourselves. Our way of contributing some small back to the community.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.