~/talk

ORMs are Killing Your Performance

Talkat Big Sky Dev Con 2026 · 2026-07-24..07-25· [databases]
links:none on file
slides:none on file

ORMs load entire result sets into objects, creating a memory reservoir and increasing latency and CPU cycles (about 1.5× in his example), promoting short-lived allocations into old GC generations and causing noticeable GC pauses and cache misses. Instead, stream records as key-value pairs and perform all transforms while each row is hot in L1 cache. A single SQL query can render a nested dynamic form by pivoting parent/child rows; careless parameter binding forces bad plans on partitioned tables. Convergence implements this streaming, config-driven approach and cuts boilerplate (Pet Clinic: 2,256→525 LOC).

AI-written summary · about

  1. 0:00Introduction and the Hidden Costs of ORMs
  2. 2:00How ORMs Increase Latency and Memory Use
  3. 4:19Garbage Collection Pauses and CPU Cache Misses
  4. 7:44The Fix: Stream Records as Key-Value Pairs
  5. 11:20Why Streaming Objects Is Not Enough
  6. 13:28Building a Dynamic Form with One SQL Query
  7. 19:42The Query Parameterization Performance Trap
  8. 24:24A Configuration-Driven Alternative to ORMs
  9. 28:22Q&A: Gradually Replacing an ORM
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.