
Explore Cassandra architecture and data modeling, including linear scalability, continuous availability, multi data centers, and real-time analytics with Spark and Hadoop, plus SQL basics and last write wins.
Explore Cassandra architecture, focusing on a masterless cluster with ring token ranges, replication factor of three, and a coordinator node to ensure fault-tolerant reads and writes.
Cassandra offers tunable consistency at runtime, writes to all replicas in parallel via a coordinator, and reads from the fastest node, balancing latency and accuracy.
Explore Cassandra data model, including memtables, commit logs, and the last write wins concept with inserts and updates. Understand denormalization, compaction, and the role of primary keys and clustered tables.
Explore Cassandra data modeling and queries, including exact and interval filters on login and message id, with partitions, clustering, and Solr for arbitrary where clauses.
Insert and update user defined types in Cassandra, mapping location to a user defined type. Note the lack of joins and integrity constraints, and the denormalization emphasis for query performance.
Explore Cassandra CQL in depth by examining data models, simple and cluster tables, and bucketing; understand partition keys, sorted maps, and native types, with practical insert, select, and bucketed queries.
Explore Cassandra data modeling concepts, including key spaces, column families, validators and comparators, TTL, time series, and an architecture ring topology overview with shopping cart and logging examples.
Explore Cassandra data modeling with column families, static and dynamic structures, denormalization to optimize reads, and a timeline table using partition and clustering keys, plus key spaces and replication.
Explore complex queries in Cassandra, covering partitioning and indexing with random and byte-ordered partitioners, surrogate keys, compound primary keys, and secondary indexes for ad hoc queries.
Explore advanced Cassandra data modeling by prioritizing denormalization, data optimized for read performance, and application requirements, balancing data duplication, absence of foreign keys, and wide-row structures for fast queries.
Explore time series data modeling in Cassandra, using wide rows, row partitioning, and slice queries to store sensor readings and weather data, with TTL-based data expiration.
Introduction
This comprehensive course is designed to take you from the basics to advanced topics in Apache Cassandra, one of the most powerful NoSQL databases for handling massive amounts of data across multiple servers. Whether you're a beginner or an experienced professional, this course equips you with the knowledge and skills to design robust data models and execute efficient CQL queries tailored to real-world applications.
Section 1: Cassandra Basics and Architecture
In this foundational section, students are introduced to Cassandra and its core agenda, including its purpose and why it’s ideal for distributed database solutions. The architecture of Cassandra is explored in depth, providing an understanding of its internal mechanisms, such as partitioning, replication, and fault tolerance, to ensure scalability and high availability.
Lecture 1: Agenda - Cassandra (Preview enabled)
Lecture 2: Architecture
Lecture 3: Architecture Continued (Preview enabled)
Section 2: Understanding the Cassandra Data Model
This section focuses on Cassandra’s data model, starting with its basic structure and transitioning into queries that manipulate and retrieve data effectively. You’ll learn how Cassandra handles wide-column storage and how to write queries using Cassandra Query Language (CQL).
Lecture 4: Introduction to Data Model
Lecture 5: Data Model Queries
Lecture 6: Data Model Queries Continued
Lecture 7: In-depth CQL
Section 3: Advanced Data Modeling and Query Optimization
This advanced section dives into the nuances of designing efficient and scalable data models in Cassandra. You'll learn to handle complex queries, optimize for performance, and use whiteboarding techniques for planning and visualizing data structures.
Lecture 8: Data Modeling Fundamentals
Lecture 9: Data Modeling Continued
Lecture 10: Complex Queries
Lecture 11: Data Modeling In-Depth
Lecture 12: Whiteboard Techniques
Conclusion
By the end of this course, you’ll be equipped with a comprehensive understanding of Cassandra’s architecture, data modeling, and CQL. You will have the confidence to design scalable, high-performing systems for modern applications.