Book Image

Mastering Apache Cassandra 3.x - Third Edition

By : Aaron Ploetz, Tejaswi Malepati, Nishant Neeraj
Book Image

Mastering Apache Cassandra 3.x - Third Edition

By: Aaron Ploetz, Tejaswi Malepati, Nishant Neeraj

Overview of this book

With ever-increasing rates of data creation, the demand for storing data fast and reliably becomes a need. Apache Cassandra is the perfect choice for building fault-tolerant and scalable databases. Mastering Apache Cassandra 3.x teaches you how to build and architect your clusters, configure and work with your nodes, and program in a high-throughput environment, helping you understand the power of Cassandra as per the new features. Once you’ve covered a brief recap of the basics, you’ll move on to deploying and monitoring a production setup and optimizing and integrating it with other software. You’ll work with the advanced features of CQL and the new storage engine in order to understand how they function on the server-side. You’ll explore the integration and interaction of Cassandra components, followed by discovering features such as token allocation algorithm, CQL3, vnodes, lightweight transactions, and data modelling in detail. Last but not least you will get to grips with Apache Spark. By the end of this book, you’ll be able to analyse big data, and build and manage high-performance databases for your application.
Table of Contents (12 chapters)

Troubleshooting

We have learned a lot about monitoring, alerting, and logging tools, which can be used for troubleshooting an unexpected issue and resolving it faster and more easily. In distributed systems such as Cassandra, it would be very hard to find which node has the issue and whether it's related to the application, resource cap, resource steal, network outage, disk corruption, inappropriate Cassandra parameters, and so on. Going through all the nodes with a checklist is also tiresome. But with this kind of setup, we would be notified of any key issues that get triggered with alerting, and we can pinpoint the corresponding node. This reduces the effort of digging through all the nodes. With all this set up, it would a piece of cake to run productions environments without any outage, which in turn wouldn't cause any business loss. But once issues come up, based...