O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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