~/talk

HIGH-PERFORMANCE SQLALCHEMY

Talkat PyCon Ukraine 2014 · 2014-11-01..11-02· [databases]
links:none on file
slides:none on file

Claims a lightweight library that turns SQLAlchemy usage into declarative, import-time query descriptions so the app loads exactly the columns needed, collapses many lazy loads and n+1 patterns into a small set of SQL statements, and avoids creating heavy ORM objects (avoids the CPU hit when models have 50–100 columns and object construction pushes responses past ~100 ms). Implements constructors that return dictlike rows, a define decorator for reusable computed fields, and map/get operators for efficient related-data fetching.

AI-written summary · about

  1. 0:00Introduction to SQLAlchemy performance
  2. 1:24Optimizing database queries effectively
  3. 2:51Simplifying code for performance
  4. 8:31Lazy loading pitfalls and N+1 queries
  5. 11:41Introducing SQLConstruct library
  6. 25:48Motivation behind SQLConstruct
  7. 29:02Core vs SQLAlchemy levels
  8. 32:17Data transformation at database level
  9. 35:12Performance impact of ORM objects
  10. 37:20Handling complex queries and aggregations
  11. 40:14Q&A session
~/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.