Use your business data to your advantage with the help of Syncfusion’s new data science offerings. Discover how a custom big data solution can provide your company with valuable predictions about key market trends.

Mastering Apache Cassandra

Mastering

Nishant NeerajOctober 2013

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.

$26.99

$44.99

RRP $26.99

RRP $44.99

eBook

Print + eBook

Want this title & more?

$21.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782162681

Paperback340 pages

About This Book

Complete coverage of all aspects of Cassandra

Discusses prominent patterns, pros and cons, and use cases

Contains briefs on integration with other software

Who This Book Is For

This book is aimed at intermediate Cassandra users. It is best suited for startups where developers have to wear multiple hats: programmer, DevOps, release manager, convincing clients, and handling failures. No prior knowledge of Cassandra is required.

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

In Detail

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.

Authors

Nishant Neeraj

Nishant Neeraj is an independent software developer with experience in developing and planning out architectures for massively scalable data storage and data processing systems. Over the years, he has helped design and implement a wide variety of products and systems for companies ranging from small start-ups to large multinational companies. Currently, he helps drive WealthEngine's core product to the next level by leveraging a variety of big data technologies.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.