~/talk

Better Rails by Knowing Better Database by Ding ding Ye

Talkat Rails Pacific 2014 · 2014-09-26..09-27· [databases]
links:none on file
slides:none on file

Slides and demos show databases cause roughly 44% of app performance bottlenecks versus 32% in app servers and 10% on the network, explain B+ tree index behavior and when indexes hurt, and recommend indexes only for large, non‑highly‑volatile fields. Concrete fixes include Rails 4.2 foreign key support for real referential integrity, using materialized views for reporting to avoid repeated joins, and preferring after_commit vs after_save visibility when enqueueing background jobs so jobs see committed rows.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Database knowledge for Rails
  3. 3:17Database performance bottleneck
  4. 4:01Data modeling in Rails
  5. 8:18Database views for queries
  6. 12:38How indexes work
  7. 21:17Database transactions and ACID
  8. 27:46Transaction isolation levels
  9. 32:20Summary
~/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.