From 0 to 1: The Cassandra Distributed Database
4.5 (63 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,886 students enrolled
Wishlisted Wishlist

Please confirm that you want to add From 0 to 1: The Cassandra Distributed Database to your Wishlist.

Add to Wishlist

From 0 to 1: The Cassandra Distributed Database

A complete guide to getting started with cluster management and queries on Cassandra
4.5 (63 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,886 students enrolled
Created by Loony Corn
Last updated 10/2016
Curiosity Sale
Current price: $10 Original price: $50 Discount: 80% off
30-Day Money-Back Guarantee
  • 6 hours on-demand video
  • 93 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Set up a cluster, keyspaces, column families and manage them
  • Run queries using the CQL command shell
  • Design primary keys and secondary indexes with partitioning and clustering considerations
  • Use the Cassandra Java driver to connect and run queries on the cluster
View Curriculum
  • The basics of SQL and traditional relational databases
  • The basics of Java in order to use the Cassandra Java library

Taught by a team which includes 2 Stanford-educated, ex-Googlers  and 2 ex-Flipkart Lead Analysts. This team has decades of practical experience in working with large-scale data processing. 

Has your data gotten huge, unwieldy and hard to manage with a traditional database? Is your data unstructured with an expanding list of attributes? Do you want to ensure your data is always available even with server crashes? Look beyond Hadoop - the Cassandra distributed database is the solution to your problems.

Let's parse that.

  • Huge, unwieldy data: This course helps your set up a cluster with multiple nodes to distribute data across machines
  • Unstructured: Cassandra is a columnar store. There are no empty cells or space wasted when you store data with variable and expanding attributes
  • Always available: Cassandra uses partitioning and replication to ensure that your data is available even when nodes in a cluster go down

What's included in this course:

  •  The Cassandra Cluster Manager (CCM) to set up and manage your cluster
  •  The Cassandra Query Language (CQL) to create keyspaces, column families, perform CRUD operations on column families and other administrative tasks
  • Designing primary keys and secondary indexes, partitioning and clustering keys
  • Restrictions on queries based on primary and secondary key design
  • Tunable consistency using quorum and local quorum. Read and write consistency in a node
  • Architecture and Storage components: Commit Log, MemTable, SSTables, Bloom Filters, Index File, Summary File and Data File
  • A real world project: A Miniature Catalog Management System using the Cassandra Java driver

Using discussion forums

Please use the discussion forums on this course to engage with other students and to help each other out. Unfortunately, much as we would like to, it is not possible for us at Loonycorn to respond to individual questions from students:-(

We're super small and self-funded with only 2 people developing technical video content. Our mission is to make high-quality courses available at super low prices.

The only way to keep our prices this low is to *NOT offer additional technical support over email or in-person*. The truth is, direct support is hugely expensive and just does not scale.

We understand that this is not ideal and that a lot of students might benefit from this additional support. Hiring resources for additional support would make our offering much more expensive, thus defeating our original purpose.

It is a hard trade-off.

Thank you for your patience and understanding!

Who is the target audience?
  • Yup! Engineers and analysts who understand traditional, relational databases and want to move to big data storage systems
  • Nope! Students who are just starting out understanding databases and have no prior experience with one
Students Who Viewed This Course Also Viewed
Curriculum For This Course
46 Lectures
You, This Course and Us
1 Lecture 01:45
Introduction: Cassandra as a distributed, decentralized, columnar store
4 Lectures 31:56

Cassandra manages huge datasets using it's columnar layout which is more efficient and saves space.

Preview 10:39

What are our requirements of a product catalog system and why do we need a distributed, columnar, de-centralized database to manage this?

Requirements For A Product Catalog System

What use cases does Cassandra work with? When would you use Cassandra over other databases?

What Is Cassandra?

How does Cassandra stack up against HBase? HBase is the columnar store available in the Hadoop eco-system.

Cassandra Vs HBase
Install And Set Up
4 Lectures 17:39

Install and set up Cassandra on your machine.

Install Cassandra (Mac and Unix based systems)

Install the Cassandra Cluster Manager (Mac and Unix)

Install Maven On Your Machine

If you are unfamiliar with softwares that require working with a shell/command line environment, this video will be helpful for you. It explains how to update the PATH environment variable, which is needed to set up most Linux/Mac shell based softwares. 

[For Linux/Mac OS Shell Newbies] Path and other Environment Variables
The Cassandra Cluster Manager
2 Lectures 18:58

Get started using the Cassandra Cluster Manager

Preview 11:54

Basic CCM Commands
The Cassandra Data Model
3 Lectures 19:38

Cassandra does not have tables, it has column families instead!

Preview 08:02

Super Column Family And Keyspace

Comparing Cassandra With A Relational Database
Shell Commands
7 Lectures 01:00:21

All the configuration options available on a column family.

Column Families And Their Properties

Modify Column Families

Insert Data Into A Column Family

Collections and counters allow you to store rich data in your column family

Advanced Data Types: Collections And Counters

Update Simple And Collection Data Types

Manage Cluster Roles
Keys And Indexes: Primary Keys, Partition Keys, Clustering Key, Secondary Indexe
8 Lectures 01:04:39

Primary keys are made up of partition and clustering keys. Partition keys determine how data is distributed across a cluster.

Partition Keys: Distributing Data Across Cluster Nodes

Primary keys are made up of partition and clustering keys. Clustering keys determine how data is laid out on a single node.

Clustering Keys: Data Layout On A Node

The design of partition keys determine what queries are valid in your cluster. See the restrictions on queries based on partition keys.

Restrictions On Partition Keys

The design of clustering keys determine what queries are valid in your cluster. See the restrictions on queries based on clustering keys.

Restrictions On Clustering Keys

Allow querying on additional columns by enabling secondary indexes. There are trade-offs when using this though!

Secondary Indexes

Restrictions On Secondary Indexes

Allow Filtering
Tunable Consistency
3 Lectures 31:50
Write Consistency Levels And Hinted Handoff

Replication Factors And Quorum Value
Storage Systems
5 Lectures 35:33
Overview Of Cassandra Storage Components

The SSTable And Its Components

Anatomy Of A Write Request

Anatomy Of A Read Request And The Gossip Protocol
A Mini-Project: A Miniature Catalog Management System In Java
9 Lectures 01:12:16

Create A Session And Execute Our First Query

Create A Column Family

Check If A Column Family Has Been Created

Insert Data Into The Products Column Family

Search For Products

Delete A Listing

Update Mulitple Column Families Using Logged Batch
About the Instructor
Loony Corn
4.3 Average rating
5,071 Reviews
39,406 Students
78 Courses
An ex-Google, Stanford and Flipkart team

Loonycorn is us, Janani Ravi and Vitthal Srinivasan. Between us, we have studied at Stanford, been admitted to IIM Ahmedabad and have spent years  working in tech, in the Bay Area, New York, Singapore and Bangalore.

Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft

Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too

We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Udemy!

We hope you will try our offerings, and think you'll like them :-)