Mastering Apache Cassandra

Learn how to build more robust, scalable databases using Cassandra. From beginners to intermediates, this practical guide covers all the bases to help you get the most out of your infrastructure and using the full potential of Cassandra.

Mastering Apache Cassandra

Nishant Neeraj

1 customer reviews
Learn how to build more robust, scalable databases using Cassandra. From beginners to intermediates, this practical guide covers all the bases to help you get the most out of your infrastructure and using the full potential of Cassandra.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781782162681
Paperback340 pages

Book Description

Apache Cassandra is the perfect choice for building fault tolerant and scalable databases. Implementing Cassandra will enable you to take advantage of its features which include replication of data across multiple datacenters with lower latency rates. This book details these features that will guide you towards mastering the art of building high performing databases without compromising on performance.

Mastering Apache Cassandra aims to give enough knowledge to enable you to program pragmatically and help you understand the limitations of Cassandra. You will also learn how to deploy a production setup and monitor it, understand what happens under the hood, and how to optimize and integrate it with other software.

Mastering Apache Cassandra begins with a discussion on understanding Cassandra’s philosophy and design decisions while helping you understand how you can implement it to resolve business issues and run complex applications simultaneously.

You will also get to know about how various components of Cassandra work with each other to give a robust distributed system. The different mechanisms that it provides to solve old problems in new ways are not as twisted as they seem; Cassandra is all about simplicity. Learn how to set up a cluster that can face a tornado of data reads and writes without wincing.

If you are a beginner, you can use the examples to help you play around with Cassandra and test the water. If you are at an intermediate level, you may prefer to use this guide to help you dive into the architecture. To a DevOp, this book will help you manage and optimize your infrastructure. To a CTO, this book will help you unleash the power of Cassandra and discover the resources that it requires.

Table of Contents

Chapter 1: Quick Start
Introduction to Cassandra
A brief introduction to a data model
Installing Cassandra locally
CRUD with cassandra-cli
Cassandra in action
Summary
Chapter 2: Cassandra Architecture
Problems in the RDBMS world
Enter NoSQL
Cassandra
Cassandra architecture
Summary
Chapter 3: Design Patterns
The Cassandra data model
Patterns and antipatterns
Summary
Chapter 4: Deploying a Cluster
Evaluating requirements
System configurations
The required software
Installing Cassandra
Configuring a Cassandra cluster
Authorization and authentication
Summary
Chapter 5: Performance Tuning
Stress testing
Performance tuning
Summary
Chapter 6: Managing a Cluster – Scaling, Node Repair, and Backup
Scaling
Replacing a node
Backup and restoration
Load balancing
Priam – managing large clusters on AWS
Summary
Chapter 7: Monitoring
Cassandra JMX interface
Cassandra nodetool
DataStax OpsCenter
Nagios – monitoring and notification
Cassandra log
Troubleshooting
Summary
Chapter 8: Integration
Using Hadoop
Hadoop and Cassandra
Cassandra with Hadoop MapReduce
Cassandra and Hadoop in action
Hadoop in Cassandra cluster
Integration with Pig
Cassandra and Solr
Summary
Chapter 9: Introduction to CQL 3 and Cassandra 1.2
CQL – the Cassandra Query Language
CQL 3 for Thrift refugees
CQL 3 basics
What's new in Cassandra 1.2?
Support for programming languages
Summary

What You Will Learn

  • Write programs using Cassandra’s features more efficiently
  • Learn how to get the most out of a given infrastructure and Improve performance, tweak JVM
  • Manage clusters and perform housekeeping activities
  • Keep an eye on Cassandra processes and machines that hold the data store – get to know simple monitoring mechanisms, such as open sourced and proprietary ones
  • Squeeze the value of the data that you hold in Cassandra
  • Learn CQL 3 quickly and use Cassandra with Java, Python, NodeJS, Scala, and PHP

Authors

Table of Contents

Chapter 1: Quick Start
Introduction to Cassandra
A brief introduction to a data model
Installing Cassandra locally
CRUD with cassandra-cli
Cassandra in action
Summary
Chapter 2: Cassandra Architecture
Problems in the RDBMS world
Enter NoSQL
Cassandra
Cassandra architecture
Summary
Chapter 3: Design Patterns
The Cassandra data model
Patterns and antipatterns
Summary
Chapter 4: Deploying a Cluster
Evaluating requirements
System configurations
The required software
Installing Cassandra
Configuring a Cassandra cluster
Authorization and authentication
Summary
Chapter 5: Performance Tuning
Stress testing
Performance tuning
Summary
Chapter 6: Managing a Cluster – Scaling, Node Repair, and Backup
Scaling
Replacing a node
Backup and restoration
Load balancing
Priam – managing large clusters on AWS
Summary
Chapter 7: Monitoring
Cassandra JMX interface
Cassandra nodetool
DataStax OpsCenter
Nagios – monitoring and notification
Cassandra log
Troubleshooting
Summary
Chapter 8: Integration
Using Hadoop
Hadoop and Cassandra
Cassandra with Hadoop MapReduce
Cassandra and Hadoop in action
Hadoop in Cassandra cluster
Integration with Pig
Cassandra and Solr
Summary
Chapter 9: Introduction to CQL 3 and Cassandra 1.2
CQL – the Cassandra Query Language
CQL 3 for Thrift refugees
CQL 3 basics
What's new in Cassandra 1.2?
Support for programming languages
Summary

Book Details

ISBN 139781782162681
Paperback340 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You