A Deep Dive and Comparison of Python Drivers for Cassandra and Scylla
Explore a comprehensive conference talk that delves into Python drivers for Cassandra and Scylla databases. Learn about cluster architecture, replication factors, and virtual nodes for improved data distribution. Discover the differences between naive and token-aware clients, and understand how routing keys and partition hashing work. Gain insights into Scylla's shard-aware drivers, including the implementation of shard-awareness in the Python driver. Examine the challenges of connecting to every core and how they were addressed. Investigate performance optimizations, such as moving shard ID calculations to Cython. Understand the core logic behind scylla-driver's shard-awareness and the importance of expectation checks in ensuring proper functionality.