A Deep Dive and Comparison of Python Drivers for Cassandra and Scylla
EuroPython Conference via YouTube
AI Adoption - Drive Business Value and Organizational Impact
Gain a Splash of New Skills - Coursera+ Annual Just ₹7,999
Overview
Syllabus
Intro
A cluster is a collection of nodes
Replication Factor provides higher data availability
Virtual Nodes better partition distribution between nodes
Scylla's Virtual Nodes are split into shards bound to cores!
Rows are located on nodes by hashing their partition key
Naive clients route queries to any node (coordinator)
Token Aware clients route queries to the right node(s)!
TokenAware Policy Statement + routing key = node(s)
Scylla shard aware drivers: Python was missing!
Implementing shard-awareness for scylla-driver
scylla-driver shard-awareness detection
scylla-driver connections to shards/cores
The Connection to every core problem
scylla-driver enhanced connections to shards/cores
scylla-driver routing key token to core calculation
Performance concern move shard id calculation to Cython
At the heart of scylla-driver's shard-awareness logic
scylla-driver expectations checks
Taught by
EuroPython Conference