~/talk

Testing in Production – Mirroring CQL Traffic to a Shadow Cassandra Deployment

Talkat Cassandra Summit 2023 · on Wednesday, 2023-12-13· at 11:50· LL20C (Lower Lobby Level)· [testing, kubernetes]
links:none on file
links:none on file
slides:none on file

A lightweight Rust TCP proxy duplicates CQL byte streams to per-node shadow clusters in Kubernetes, with online reconfiguration, per-session and global soft/hard limits, and Prometheus metrics. It handles thousands of sessions (about 150 MB per 10k sessions observed), supports multiple shadows, and adds negligible latency (typically <0.05 ms added latency). Buffering prevents primary stalls but drops slow shadows when limits hit. The system finds real bugs in pre‑release Cassandra (two discovered), runs in production since March, and will be open source.

AI-written summary · about

  1. 0:00Testing in production intro
  2. 1:52Test real workloads
  3. 3:44Shadow deployment approach
  4. 8:26Rust TCP proxy
  5. 13:30Run shadow proxy
  6. 21:41Deploy in Astra DB
  7. 25:20Shadow deployment lessons
  8. 27:54Open source shadow proxy
  9. 28:51Q&A Rust performance
  10. 31:52Q&A internode traffic
~/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.