Skip to content
O'Reilly home

Building Applications with Apache Cassandra

Published by O'Reilly Media, Inc.

A quickstart guide to Cassandra for Java developers and architects

Sep. 18 & 20, 2017

5 - 8 p.m. Coordinated Universal Time

This event has ended.

What you’ll learn and how you can apply it

By the end of this live, online course, you’ll understand:

  • Cassandra’s architecture and how it works
  • How Cassandra is different from traditional databases, and how those differences affect data modeling and application development
  • How to determine whether Cassandra is a good fit for your application
  • Cassandra’s features, especially as available through the client drivers
  • Configuration options

And you’ll be able to:

  • Design Cassandra data models that will perform/scale effectively
  • Create application programs using the DataStax Java Driver
  • Use tools including as cqlsh, nodetool, CCM, and DataStax DevCenter

This live event is for you because…

  • You are a developer looking to get started quickly building applications using Cassandra
  • You are an architect who's interested in understanding Cassandra's internals and data modeling in order to leverage it appropriately and guide development teams.


  • Background in Java development
  • Some familiarity with basic database concepts

Cassandra: The Definitive Guide, 2nd Ed.

Learning Apache Cassandra

Using the Java Development Kit

Day 1 preparation:

Read Cassandra: The Definitive Guide, 2nd Ed.: chapters 1 and 2 (all) and chapter 4 through “Cassandra’s Data Model”

  • Download VM for class activities (will be available prior to class), this is the preferred option.
  • Clone the repository
  • Use your own IDE, preferably IntelliJ IDEA (community edition is a free download).

The coding exercises for the course are based on the Reservation Service project which you can find on the instructor's GitHub at:

Day 2 preparation:

Read chapters 6 and 7 of Cassandra: The Definitive Guide, 2nd Ed.


The timeframes are only estimates and may vary according to how the class is progressing.

Day 1:

Unit 1: Introduction, install and cqlsh

Lecture: Introducing Cassandra (15 minutes)

Discussion: Is Cassandra a Good Fit for my project? (5 minutes)

Individual Activity: Installing Cassandra 15 minutes

Q&A: Installation (5 minutes)

Group Activity: Running cqlsh (15 minutes)

Q&A: cqlsh (5 minutes)

Break (5 minutes)

Unit 2: Data Modeling

Group Activity: Cassandra data types (15 minutes)

Q&A: data types (5 minutes)

Individual Activity: Query options (10 minutes)

Lecture: Cassandra Data Modeling Principles (15 minutes)

Individual Activity: Data modeling (10 minutes)

Discussion/Q&A: Data Modeling Debrief (5 minutes)

Break (10 minutes)

Unit 3: Client Development Individual Activity: DataStax Java Driver (15 minutes)

Q&A (5 minutes)

Individual Activity: Additional Statements (15 minutes)

Q&A (5 minutes)

Wrap up day 1

Day 1 review: Review chapters 3, 4 (remainder), 5 of Cassandra: The Definitive Guide, 2nd Ed., to reinforce concepts covered on Day 1

Day 2 preparation: Read chapters 6 and 7 of Cassandra: The Definitive Guide, 2nd Ed.

Day 2:

Unit 4: Architecture Concepts

Individual Activity: Creating a Cluster (10 minutes)

Lecture: Cassandra Clusters (10 minutes)

Individual Activity: Log inspection (5 minutes)

Q&A (5 minutes)

Lecture: Replication, consistency and the CAP theorem (10 minutes)

Group Activity: Cassandra statistics (10 minutes)

Q&A (5 minutes)

Break (5 minutes)

Unit 5: Advanced Client Development

Individual Activity: Batches and transactions (10 minutes)

Lecture: Batches, Lightweight transactions and Paxos (10 minutes)

Individual Activity: Paging (5 minutes)

Group Activity: Other Language Drivers (10 minutes)

Lecture: Other Driver Features (10 minutes)

Break (10 minutes)

Unit 6: Under the Hood: the Read and Write Paths

Individual Activity: Tracing (10 minutes)

Lecture: Cassandra Read Path (10 minutes)

Group Activity: Data files (5 minutes)

Lecture: Cassandra Write Path (10 minutes)

Individual Activity: Deleting Data (5 minutes)

Lecture: TTL, Deletion and Tombstones (5 minutes)

Q&A: Read, Write and Deletion (5 minutes)

Discussion: What’s next (10 minutes)

Day 2 review:

Read chapters 8 and 9 of Cassandra: The Definitive Guide, 2nd Ed., to reinforce concepts covered on Day 2

Your Instructor

  • Jeff Carpenter

    **Jeff Carpenter **is a developer advocate at DataStax, where he leverages his background in system architecture, microservices and Apache Cassandra to help empower developers and operations engineers build distributed systems that are scalable, reliable, and secure. Jeff has worked on projects ranging from a complex battle planning system in an austere network environment, to a cloud-based hotel reservation system. He the author of Cassandra: The Definitive Guide, 2nd Edition.

Start your free 10-day trial

Get started

Want to learn more at events like these?

Get full access to O'Reilly online learning for 10 days—free.

  • checkmark50k+ videos, live online training, learning paths, books, and more.
  • checkmarkBuild playlists of content to share with friends and colleagues.
  • checkmarkLearn anywhere with our iOS and Android apps.
Start Free TrialNo credit card required.