Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Vnodes

Newer versions of Apache Cassandra have an option to use virtual nodes, better known as vnodes. Using vnodes, each node is assigned several non-contiguous token ranges. This helps the cluster to better balance its data load:

Node #

Token ranges

0

79935 to -92233, -30743 to -18446, 55341 to 67638

1

-92232 to -79935, -61488 to 61489, 43043 to 55340

2

-79934 to -67638, -43041 to -30744, 67639 to 79935

3

-67637 to -55340, 61490 to 18446,18447 to 30744

4

-55339 to -43042, -18445 to -61489, 30745 to 43042
Table 2.2: An example of the token range distribution for a five-node cluster using vnodes. Each node is assigned responsibility for three, non-contiguous token ranges. Smaller numbers were used in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content