Apache Cassandra with Python
2026 Edition. A technical podcast series exploring the distributed architecture of Apache Cassandra and how to interact with it using the DataStax Python Driver. Covers data modeling, execution profiles, LWTs, async queries, and the cqlengine Object Mapper.
Episodes
The Big Picture
3m 12sAn introduction to Apache Cassandra. Learn why global-scale applications choose this distributed NoSQL database and how it differs from traditional relational systems.
Consistent Hashing and The Ring
3m 40sDive into the architecture of Cassandra. We explore consistent hashing, the token ring, and how data is partitioned across multiple nodes without a master server.
Query Driven Data Modeling
3m 01sUnlearn everything you know about relational databases. Learn how Cassandra's query-driven modeling requires denormalization, and the crucial difference between partition keys and clustering keys.
Connecting with Python
3m 44sGet started with the DataStax Python Driver. Learn how to instantiate a Cluster, connect to a Session, and establish communication with your Cassandra nodes.
Execution Profiles
3m 39sManage complex workloads seamlessly by using Execution Profiles. Learn how to configure load balancing, timeouts, and consistency levels per-query without polluting your cluster setup.
Prepared Statements
2m 53sLearn how to execute CQL commands from Python. We cover simple statements and the critical performance benefits of using Prepared Statements for frequent queries.
Paging Large Queries
3m 26sNever crash your app by loading a massive dataset into memory. Discover how the Python driver automatically pages large query results and how to manage fetch sizes.
High Throughput Async Queries
3m 57sMaximize your application's throughput. Learn how to use execute_async, ResponseFutures, and callbacks to run concurrent requests against Cassandra.
Lightweight Transactions
3m 38sImplement compare-and-set operations safely. Learn how Lightweight Transactions (LWTs) work in Cassandra and how to inspect the specialized applied column in your Python results.
The Object Mapper Models
3m 36sAvoid raw CQL strings and model your data using Python classes. Learn how to use cqlengine to define tables, specify primary keys, and synchronize your schema.
Making Queries with cqlengine
3m 55sRetrieve and filter data fluently using QuerySet objects in the cqlengine Object Mapper. We cover filtering operators, immutability, and limitations on ordering.
Vector Search for AI
3m 25sFuture-proof your skill set with Cassandra 5.0's Vector Search. Discover how to store and query high-dimensional vectors to power modern AI and machine learning applications.