Learning Apache Cassandra

Video description

In this Apache Cassandra training course, expert author Ruth Stryker teaches you the basics of working with Cassandra. This course is designed for the absolute beginner, meaning no experience with Cassandra is required. Experience with databases, SQL, and programming is recommended.
You will start by learning how to install Cassandra, and then move onto understanding ways to communicate with Cassandra. From there, Ruth will teach you how to create a database, create a table, and insert and model data. This video tutorial will also cover creating an application, updating and deleting data, selecting hardware, and adding nodes to a cluster. You will also learn how to monitor a cluster, repair and remove nodes, and redefine a cluster.
Once you have completed this video based training course, you will have a solid understanding of Cassandra, and be able to use Cassandra for your own development projects. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of contents

  1. Introduction To Cassandra
    1. Introducing The Course
    2. Understanding What Cassandra Is
    3. Learning What Cassandra Is Being Used For
    4. Understanding The System Requirements
    5. How To Access Your Working Files
    6. Opening The Main Virtual Machine
    7. Pop Quiz - Intro to Cassandra
  2. Getting Started With The Architecture
    1. Understanding That Cassandra Is A Distributed Database
    2. Learning What Snitch Is For
    3. Learning What Gossip Is For
    4. Learning How Data Gets Distributed
    5. Learning About Replication
    6. Learning About Virtual Nodes
    7. Pop Quiz - Getting Started with Architecture
  3. Installing Cassandra
    1. Downloading Cassandra
    2. Ensuring Oracle Java 7 Is Installed
    3. Installing Cassandra
    4. Viewing The Main Configuration File
    5. Providing Cassandra With Permission To Directories
    6. Starting Cassandra
    7. Checking Status
    8. Accessing The Cassandra system.log File
    9. Pop Quiz - Installing Cassandra
  4. Communicating With Cassandra
    1. Understanding Ways To Communicate With Cassandra
    2. Using CQLSH
    3. Pop Quiz - Communicating with Cassandra
  5. Creating A Database
    1. Understanding A Cassandra Database
    2. Defining A Keyspace
    3. Deleting A Keyspace
    4. Pop Quiz - Creating a Database
    5. Lab: Create A Second Database
  6. Creating A Table
    1. Creating A Table
    2. Defining Columns And Data Types
    3. Defining A Primary Key
    4. Recognizing A Partition Key
    5. Specifying A Descending Clustering Order
    6. Pop Quiz - Creating a Table
    7. Lab: Create A Second Table
  7. Inserting Data
    1. Understanding Ways To Write Data
    2. Using The INSERT INTO Command
    3. Using The COPY Command
    4. How Data Is Stored In Cassandra
    5. How Data Is Stored On Disk
    6. Pop Quiz - Inserting Data
    7. Lab: Insert Data
  8. Modeling Data
    1. Understanding Data Modeling In Cassandra
    2. Using A WHERE Clause
    3. Understanding Secondary Indexes
    4. Creating A Secondary Index
    5. Defining A Composite Partition Key
    6. Pop Quiz - Modeling Data
  9. Creating An Application
    1. Understanding Cassandra Drivers
    2. Exploring The DataStax Java Driver
    3. Setting Up A Development Environment
    4. Creating An Application Page
    5. Acquiring The DataStax Java Driver Files
    6. Getting The DataStax Java Driver Files Through Maven
    7. Providing The DataStax Java Driver Files Manually
    8. Connecting To A Cassandra Cluster
    9. Executing A Query
    10. Displaying Query Results - Part 1
    11. Displaying Query Results - Part 2
    12. Using An MVC Pattern
    13. Pop Quiz - Creating an Application
    14. Lab: Create A Second Application - Part 1
    15. Lab: Create A Second Application - Part 2
    16. Lab: Create A Second Application - Part 3
  10. Updating And Deleting Data
    1. Updating Data
    2. Understanding How Updating Works
    3. Deleting Data
    4. Understanding Tombstones
    5. Using TTLs
    6. Updating A TTL
    7. Pop Quiz - Updating and Deleting Data
    8. Lab: Update And Delete Data
  11. Selecting Hardware
    1. Understanding Hardware Choices
    2. Understanding RAM And CPU Recommendations
    3. Selecting Storage
    4. Deploying In The Cloud
    5. Pop Quiz - Selecting Hardware
  12. Adding Nodes To A Cluster
    1. Understanding Cassandra Nodes
    2. Having A Network Connection - Part 1
    3. Having A Network Connection - Part 2
    4. Having A Network Connection - Part 3
    5. Specifying The IP Address Of A Node In Cassandra
    6. Specifying Seed Nodes
    7. Bootstrapping A Node
    8. Cleaning Up A Node
    9. Using cassandra-stress
    10. Pop Quiz - Adding Nodes to a Cluster
    11. Lab: Add A Third Node
  13. Monitoring A Cluster
    1. Understanding Cassandra Monitoring Tools
    2. Using Nodetool
    3. Using JConsole
    4. Learning About OpsCenter
    5. Pop Quiz - Monitoring a Cluster
  14. Repairing Nodes
    1. Understanding Repair
    2. Repairing Nodes
    3. Understanding Consistency - Part 1
    4. Understanding Consistency - Part 2
    5. Understanding Hinted Handoff
    6. Understanding Read Repair
    7. Pop Quiz - Repairing Nodes
    8. Lab: Repair Nodes For A Keyspace
  15. Removing A Node
    1. Understanding Removing A Node
    2. Decommissioning A Node
    3. Putting A Node Back Into Service
    4. Removing A Dead Node
    5. Pop Quiz - Removing a Node
    6. Lab: Put A Node Back Into Service
  16. Redefining A Cluster For Multiple Data Centers
    1. Redefining For Multiple Data Centers - Part 1
    2. Redefining For Multiple Data Centers - Part 2
    3. Changing Snitch Type
    4. Modifying cassandra-rackdc.properties
    5. Changing Replication Strategy - Part 1
    6. Changing Replication Strategy - Part 2
    7. Pop Quiz - Redefining a Cluster
  17. Resources For FurTher Learning
    1. Accessing Documentation
    2. Reading Blogs And Books
    3. Watching Video Recordings
    4. Posting Questions
    5. Attending Events
    6. Wrap Up

Product information

  • Title: Learning Apache Cassandra
  • Author(s):
  • Release date: September 2014
  • Publisher(s): Infinite Skills
  • ISBN: 9781771372947