incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <ran...@gmail.com>
Subject Re: 3-node balanced system
Date Thu, 17 Jun 2010 19:15:20 GMT
+ user, - dev (bcc actually)

If you use a random partitioner use the following InitialToken for your
nodes:

$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
(2^127)/3
*56713727820156410577229101238628035242*
((2^127)/3)*2
*113427455640312821154458202477256070484*
((2^127)/3)*3
*170141183460469231731687303715884105726*


On Thu, Jun 17, 2010 at 10:08 PM, Lev Stesin <lev.stesin@gmail.com> wrote:

> Hi,
>
> What is the correct procedure to create a well balanced cluster (in
> terms of key distribution). From what I understand whenever I add a
> new node its takes half from its neighbor. How can I make each node to
> contain 1/3 of the keys in a 3 node cluster? Thanks.
>
> --
> Lev
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message