incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Haddad <...@jonhaddad.com>
Subject Re: vnode and NetworkTopologyStrategy: not playing well together ?
Date Tue, 05 Aug 2014 15:45:07 GMT
* When I say wild imbalance, I do not mean all tokens on 1 node in the
cluster, I really should have said slightly imbalanced

On Tue, Aug 5, 2014 at 8:43 AM, Jonathan Haddad <jon@jonhaddad.com> wrote:
> This is incorrect.  Network Topology w/ Vnodes will be fine, assuming
> you've got RF= # of racks.  For each token, replicas are chosen based
> on the strategy.  Essentially, you could have a wild imbalance in
> token ownership, but it wouldn't matter because the replicas would be
> distributed across the rest of the machines.
>
> http://www.datastax.com/documentation/cassandra/2.0/cassandra/architecture/architectureDataDistributeReplication_c.html
>
> On Tue, Aug 5, 2014 at 8:19 AM, DE VITO Dominique
> <dominique.devito@thalesgroup.com> wrote:
>> Hi,
>>
>>
>>
>> My understanding is that NetworkTopologyStrategy does NOT play well with
>> vnodes, due to:
>>
>> ·         Vnode => tokens are (usually) randomly generated (AFAIK)
>>
>> ·         NetworkTopologyStrategy => required carefully choosen tokens for
>> all nodes in order to not to get a VERY unbalanced ring like in
>> https://issues.apache.org/jira/browse/CASSANDRA-3810
>>
>>
>>
>> When playing with vnodes, is the recommendation to define one rack for the
>> entire cluster ?
>>
>>
>>
>> Thanks.
>>
>>
>>
>> Regards,
>>
>> Dominique
>>
>>
>>
>>
>
>
>
> --
> Jon Haddad
> http://www.rustyrazorblade.com
> skype: rustyrazorblade



-- 
Jon Haddad
http://www.rustyrazorblade.com
skype: rustyrazorblade

Mime
View raw message