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)

All-in-one Docker

All the preceding applications are really hard to get working with all the integrations locally. To make it simple for testing locally, a Docker image is built with all the monitoring setup, except logging. An Elasticsearch cluster is a heavy application, which would not be sufficient for running log stack with this. This all-in-one Docker is built on CentOS 7 community Docker with all the following applications with corresponding versions:

  • Cassandra 3.11.2
  • Influxdb 1.6.2
  • Grafana 5.2.4
  • Telegraf 1.7.4
  • JMXTrans 270
  • Spark 2.3.1
  • Python 2.7.15
  • R 3.5.1
Prerequisite: Docker should be installed. Refer to Docker CE (Community Edition) installation at Docker-Get Docker CE for CentOS: https://docs.docker.com/install/linux/docker-ce/centos/.

All the required configs for the preceding applications are already preconfigured. This makes it very simple to run this complex...