~/talk

Fast and Flexible JSON Retrieval in Cassandra Using SAI

Talkat Cassandra Summit 2023 · on Wednesday, 2023-12-13· at 11:10· LL20B (Lower Lobby Level)· [databases]
links:none on file
slides:none on file

Method stores the JSON blob and creates a “super‑shredded” row per document that indexes paths and typed values so CQL + SAI can answer filters like existence, numeric ranges and text on nested fields. Queries push multiple terms into one WHERE so SAI does parallel joins; maps and sets are indexable. Updates that need max/add-to-set require a select, modify and conditional write (read‑modify‑write) and inserts use lightweight transactions. Measured overhead: 3.5 ms extra for HTTP/JSON roundtrip and 1.4 ms coordinator read on a 3M‑row SAI index. SAI indexes on maps and sets and super-shredding enable the API but write cost and missing operators (eg not‑contains) remain.

AI-written summary · about

  1. 0:00JSON retrieval in Cassandra
  2. 2:23JSON data model
  3. 6:00JSON filtering expressions
  4. 10:16JSON updates and RMW
  5. 11:20Secondary indexes and LWT
  6. 15:13Super shredding for JSON
  7. 17:37Super shredding implementation
  8. 20:47Updating JSON docs
  9. 23:40SII and transaction improvements
  10. 24:42Performance benchmarks
  11. 26:28Demo and next steps
~/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.