~/talk

A deep dive and comparison of Python drivers for Cassandra and Scylla

Talkat PyCon India 2020 · 2020-10-02..10-05· [databases]
links:none on file
slides:none on file

Compares Python drivers for Cassandra and Scylla with concrete changes: a fork implements token->shard routing and opens one connection per core per node, detects Scylla via server options, and computes shard id locally; moving the shard-id computation into native code cuts its overhead by ~7x. Result: production shows 15–25% lower max latency, more open connections and slightly higher CPU, and an unexpected halve in required pod replicas; implementation is optimistic until Scylla 4.3’s deterministic source-port algorithm.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:34Cassandra and Scylla ring architectures
  3. 7:47Token-aware client routing
  4. 11:41Extending to Scylla shard awareness
  5. 13:53Python driver implementation details
  6. 19:32Performance results and expectations
  7. 24:25Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.