~/talk

Data indexing with RGB (Ruby, Graphs and Bitmaps)

Talkat RubyConf TH 2023 · 2023-10-06..10-07· [databases, ruby]
slides:none on file

Custom index stores respondent-level data as Roaring bitmaps and context as a property graph in Redis so queries become graph traversal + bitwise ANDs rather than deserializing many SQL pickles. Implementation uses redis roaring and RedisGraph; fetching an age bitmap for 3.6M respondents returns in ~9 ms, scoped product query shows ~495 ms versus 90 s previously (~180x speedup), and 40 studies compress from 3.5 GB to ~208 MB (~128x compression). The system runs in memory, supports bidirectional and directional harmonization edges, and serves real-time filtering and cross-measure joins.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Project origins
  3. 2:28Survey data processing
  4. 4:56Data indexing challenges
  5. 7:45Understanding harmonization in data relationships
  6. 9:32Measure Store solution
  7. 10:58Measure Store demo
  8. 13:49Cross-measure analysis
  9. 14:09Regional data harmonization
  10. 15:56Bitmap storage
  11. 19:03Graph database
  12. 23:16Redis tools
  13. 24:21Performance benchmarks
  14. 25:49Future plans
~/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.