Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Apache Cassandra - Second Edition

You're reading from  Learning Apache Cassandra - Second Edition

Product type Book
Published in Apr 2017
Publisher
ISBN-13 9781787127296
Pages 360 pages
Edition 2nd Edition
Languages
Concepts

Table of Contents (14) Chapters

Getting Up and Running with Cassandra The First Table Organizing Related Data Beyond Key-Value Lookup Establishing Relationships Denormalizing Data for Maximum Performance Expanding Your Data Model Collections, Tuples, and User-Defined Types Aggregating Time-Series Data How Cassandra Distributes Data Cassandra Multi-Node Cluster Application Development Using the Java Driver Peeking under the Hood Authentication and Authorization

3 - node cluster


So far, through our journey across using Cassandra, we have been working with a single instance to create tables and test all the cool features provided by Cassandra. We haven't taken advantage of the distributed nature of Cassandra. With a single-node cluster, most operations don't require any sort of tweaking or performance tuning. Even the configuration operations can be left as default for the most part. But with a multi-node cluster, quite a few changes are required in order to get a balance between throughput and availability as well as getting gossip and other internal Cassandra operations to work properly. In this section, we will set up a 3-node cluster.

Prerequisites

You can set up a single-node cluster on your personal laptop without making any network configuration changes since a single node requires a unique IP, and you can either use localhost or the public/private IP for gossip protocol and client communication. To run a multinode cluster, you would need to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}