~/talk

Data indexing with RGB (Ruby, Graphs and Bitmaps)

Talkat RubyConf 2022 · 2022-11-29..12-01· [databases, ruby]
links:none on file
slides:none on file

A production in‑memory index called the measure store uses Ruby plus RedisGraph and redis roaring bitmaps to harmonize and scope survey measures by walking graph edges for context then fetching compressed bitmaps and combining them with bitwise ops. It replaces slow deserialize‑and‑concat SQL workflows: a 1.5M respondent query drops from 90 seconds to 495 ms (~180×), a 5M read returns in 9 ms, and 3.6 GB of serialized frames compresses to about 27 MB (~128×).

AI-written summary · about

  1. 0:00Intro
  2. 1:15Data Indexing with RGB
  3. 2:07The world before the MeasureStore
  4. 5:21Context
  5. 6:51Storage
  6. 10:00Introducing MeasureStore
  7. 11:12Cross market analysis
  8. 12:53Cross comparison
  9. 14:08Harmonisation
  10. 16:08The bitmap store
  11. 18:51The graph
  12. 23:06Architecture
  13. 23:59Performance
  14. 25:30Next 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.