Learning Apache Cassandra Second Edition
內容描述
Key Features
Install Cassandra and use it to set up multi-node clusters
Design rich schemas that capture the relationships between different data types
Master the advanced features available in Cassandra 3.x through a step-by-step tutorial and build a scalable, high performance database layer
Book Description
Cassandra is a distributed database that stands out thanks to its robust feature set and intuitive interface, while still providing the high availability and scalability of a distributed store. This book will introduce you to the rich features offered by Cassandra, and empower you to create and manage a highly performant, fault-tolerant database layer.
The book starts by explaining the new features implemented in Cassandra 3.x, you'll see how to install Cassandra, and you'll understand Lightweight Transactions. Next you'll learn to create tables with composite partition keys, and get to know different methods to avoid denormalization of data. You will then proceed to create user-defined functions and data distribution in Cassandra. Finally, you will set up a multi node cluster and implement application-level optimization using a Java client.
By the end of this book, you'll be fully equipped to build powerful, scalable Cassandra database layers for your applications.
What you will learn
Install Cassandra and create your first keyspace
Create tables with multiple clustering columns to organize related data
Use secondary indexes and materialized views to avoid denormalization of data
Effortlessly handle concurrent updates with collection columns
Ensure data integrity with lightweight transactions and logged batches
Understand eventual consistency and use the right consistency level for your situation
Understand data distribution with Cassandra and get to know ways to implement application-level optimizations