~/talk

Making Data Dance

Talkat RailsConf 2015 · 2015-04-21..04-23· [databases, data-visualization]
slides:none on file

Rails apps push heavy queries into PostgreSQL using lead/lag window functions to mark message groups and indoor location transitions, then fold those results into D3 chord, heatmap and sunburst visuals; views and materialized views store reusable reports, with a rake job to pull production data for realistic benchmarking and a firm rule that queries over 500 ms are wrong. Postgres features used include PostGIS, arrays and range types, UUIDs, and JSONB, and Postgres 9.4 enables concurrent refresh of materialized views so periodic precomputation works in production.

AI-written summary · about

  1. 0:00Start
  2. 7:46Window Functions
  3. 11:18Practical Example Chat App
  4. 15:34Base Query
  5. 17:25Refactor
  6. 21:07My query is too slow
  7. 21:20Materialized View Stored Query And Data
  8. 29:34Recap
  9. 30:14Not saying do everything in the database
~/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.