Introduction to Cassandra for Developers


Course Number: CASS-100

Duration: 4 days (26 hours)

Format: Live, hands-on

Cassandra Training Overview

Accelebrate's Introduction to Cassandra 4 for Developers training course teaches attendees how to work with this distributed, open source NOSQL database management system.  Attendees learn Cassandra architecture and how to query the database using CQL (Cassandra Query Language), as well as how to use the Java client library to query Cassandra in a production environment.

This course includes coverage of Cassandra 4.x, but is also suitable for users of Cassandra 3.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

Objectives

  • Understand the needs that C* addresses
  • Be familiar with the operation and structure of C*
  • Be able to install and set up a C* database
  • Use the C* tools, including cqlsh, nodetool, and ccm (Cassandra Cluster Manager)
  • Be familiar with the C* architecture, and how a C* cluster is structured
  • Understand how data is distributed and replicated in a C* cluster
  • Understand core C* data modeling concepts, and use them to create well-structured data models
  • Use data replication and eventual consistency intelligently
  • Understand and use CQL to create tables and query for data
  • Know and use the CQL data types (numerical, textual, uuid, etc.)
  • Understand the various kinds of primary keys available (simple, compound, and composite primary keys)
  • Use more advanced capabilities like collections, counters, secondary indexes, CAS (Compare and Set), static columns, and batches

Prerequisites

Students should have reasonable Java experience and some knowledge of databases.

Outline

Expand All | Collapse All

Cassandra Overview
  • Why We Need Cassandra
  • High level Cassandra Overview
  • Cassandra Features
  • Basic Cassandra Installation and Configuration
Cassandra Architecture and CQL Overview
  • Cassandra Architecture Overview
  • Cassandra Clusters and Rings
  • Data Replication in Cassandra
  • Introduction to CQL
  • Defining Tables with a Single Primary Key
  • Using cqlsh for Interactive Querying
  • Selecting and Inserting/Upserting Data with CQL
  • Data Replication and Distribution
  • Basic Data Types (including uuid, timeuuid)
  • C* 4.x Improvements
Data Modeling and CQL Core Concepts
  • Defining a Compound Primary Key
    • CQL for Compound Primary Keys
    • Partition Keys and Data Distribution
    • Clustering Columns
    • Overview of Internal Data Organization
  • Additional Querying Capabilities
    • Result Ordering - ORDER BY and CLUSTERING ORDER BY
    • UPDATE and DELETE Queries
    • Result Filtering, ALLOW FILTERING
    • Batch Queries
  • Data Modeling Guidelines
    • Denormalization
    • Data Modeling Workflow
    • Data Modeling Principles
    • Primary Key Considerations
  • Composite Partition Keys
    • Defining with CQL
    • Data Distribution with Composite Partition Key
    • Overview of Internal Data Organization
Additional CQL Capabilities
  • Indexing
    • Primary/Partition Keys and Pagination with token()
    • Secondary Indexes and Usage Guidelines
  • Cassandra Counters
    • Counter Structure and Definition
    • Using Counters
    • Counter Limitations
  • Cassandra collections
    • Collection Structure and Uses
    • Defining Collections (set, list, and map)
    • Querying Collections (Including Insert, Update, Delete)
    • Limitations
    • Overview of Internal Storage Organization
  • Static Column: Overview and Usage
  • Static Column Guidelines
  • Materialized View: Overview and Usage
  • Materialized View Guidelines
Data Consistency In Cassandra
  • Overview of Consistency in Cassandra
  • CAP Theorem
  • Eventual (Tunable) Consistency in C* - ONE, QUORUM, ALL
  • Choosing CL ONE
  • Choosing CL QUORUM
  • Achieving Immediate Consistency
  • Using other Consistency Levels
  • Internal Repair Mechanisms (Read Repair, Hinted Handoff)
Lightweight Transactions (LWT)/ Compare and Set (CAS)
  • Overview of Lightweight Transactions
  • Using LWT, the [applied] Column
  • IF EXISTS, IF NOT EXISTS, Other IF conditions
  • Basic CAS Internals
  • Overhead and Guidelines
Practical Considerations
  • Dealing with Write Failure
    • Unavailable Nodes and Node Failure
    • Requirements for Write Operations
  • Key and Row Caches
    • Cache Overview
    • Usage Guidelines
  • Multi-Data Center Support
    • Overview
    • Replication Factor Configuration
    • Additional Consistency Levels - LOCAL/EACH QUORUM
  • Deletes
    • CQL for Deletion
    • Tombstones
    • Usage Guidelines
New C* 4 Features
  • Virtual Tables
  • Audit and Query Logging
  • Transient Replication
Conclusion

Training Materials

All Cassandra training students receive comprehensive courseware.

Software Requirements

VirtualBox 5.0 or later in a Windows, Linux, or Mac environment with at least 8GB of physical RAM. Accelebrate provides a virtual machine with everything necessary for this class.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan