~/talk

Algorithms

Talkat Rocky Mountain Ruby 2012 · 2012-09-19..09-21· [databases]
links:none on file
slides:none on file

A Sinatra app catalogs a record collection and builds pie charts for the frequency of every value across columns. The first implementation is a mapreduce-like threaded scan that takes about 23.5 seconds for 9,000 items; caching helps but doesn't scale. Replacing the Ruby aggregation with a single SQL GROUP BY query on Postgres drops the same job to ~0.5 seconds, showing use SQL for heavy counting and grouping rather than pulling everything into Ruby.

AI-written summary · about

  1. 0:00Start
  2. 1:31THE NEW SOLUTION
  3. 2:01THE BENEFITS
  4. 2:13THE TAKEAWAY
~/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.