~/talk

Beyond Good and ORMs

Talkat Ancient City Ruby 2015 · 2015-03-25..03-27· [databases, ruby]
slides:none on file

Argues that ORMs hide built‑in database features and shows concrete alternatives: create database views to replace expensive joins (example: 50 restaurants returning 160 objects versus a view returning 50 rows), use materialized views for nightly reports, put logging and data transformation into stored procedures and triggers to avoid round trips, and exploit Postgres types like array data type, hstore/json, ranges, enums, UUIDs and geospatial functions. Claims Postgres can be an order of magnitude faster (roughly 100ms → 10ms) and ActiveRecord can map to these DB objects.

AI-written summary · about

  1. 0:00Start
  2. 2:35Shifting Viewpoint
  3. 17:12Materialized Views
  4. 18:29The Rabbit Duck
  5. 19:44Functional Fixedness
  6. 22:07Stored Procedures
  7. 24:08Postgres
  8. 25:43Triggers
  9. 27:10Active Record Data Types
  10. 35:22Enums
  11. 35:50Ip Addresses
~/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.