Book Image

Mastering Apache Cassandra

By : Nishant Neeraj
Book Image

Mastering Apache Cassandra

By: Nishant Neeraj

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p> <p>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.</p> <p>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.</p>
Table of Contents (17 chapters)
Mastering Apache Cassandra
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

What's new in Cassandra 1.2?


At the time of writing this book, Cassandra 1.2 is released with massive improvements over its precursor. Cassandra version 2.0 is set to release in August 2013, which is Cassandra 1.2 plus a few major features such as improvements in repair and compaction, triggers (as an RDBMS provides), eager retries, and compare and set (CAS) features. Version 1.2, with all its disruptive changes, can be thought of as a step to version 2.0. However, by the time this book is available to you, you might want to use Cassandra 2.0 or Cassandra 1.1.x for your production setup. This section will briefly cover new features in 1.2. It does not break the concepts that we learned throughout this book; it adds some more to that.

Virtual Nodes

Virtual Nodes (VNodes) are introduced to solve two major problems of previous versions:

  • Change in cluster leads to heavy load on some nodes: The addition, removal, or restoration of a node causes heavy data transfer on the nodes that share the...