cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Gilmore <e...@riptano.com>
Subject Re: How does Bootstrapping work in 0.7 ??
Date Thu, 20 Jan 2011 22:15:19 GMT
 Sorry, my comments were indeed a little short on elucidation.  :)

The cited doc suggest that setting initial_token to 0 on the first node
"simplifies load balancing as you later expand the cluster . . . .  If this
is unset (the default), Cassandra picks a token number randomly."

A more complete explanation might look something like:

. . . it is recommended to set the initial token's value to zero.  This
simplifies load balancing as you later expand the cluster, since the node
starting at 0 will never need to be moved to a new token.  Also, if this is
unset (the default), Cassandra picks a token number randomly, which can lead
to hot spots in the ring.


On Thu, Jan 20, 2011 at 12:59 PM, Brandon Williams <driftx@gmail.com> wrote:

> On Thu, Jan 20, 2011 at 2:14 PM, Robert Coli <rcoli@digg.com> wrote:
>
>> On Thu, Jan 20, 2011 at 11:55 AM, Eric Gilmore <eric@riptano.com> wrote:
>> > Also, in the Getting Started page, we note that it may be best to set
>> > initial_token to 0 on the very first node that you start.
>>
>> Could you expand a bit on the reasons for and implications of this,
>> for our collective elucidation? :)
>>
>
> Because then the node never has to move.  Same would be true of 2**127, but
> zero is mnemonically easier. :)
>
> -Brandon
>



-- 
*Eric Gilmore
*
Consulting Technical Writer
Riptano, Inc.
Ph: 510 684 9786  (cell)

Mime
View raw message