~/talk

Improving App Performance with Snapshots

Talkat PyCon US 2022 · 2022-04-27..05-03· [python, web-performance]
links:none on file
slides:none on file

Claim: an open source library named snapshot-queries captures every ORM query, the triggering Python line and full stack trace, groups similar queries to surface N+1 patterns, prints readable summaries, and plugs into tests as query snapshot testing. Built at Cedar for Django/SQLAlchemy workloads in 2019 and run in CI it reduces database load and catches regressions before deployment. Watch if concrete tooling and testable, repeatable fixes that actually worked at scale matter.

AI-written summary · about

  1. 0:00Improving app performance with snapshots
  2. 0:56application is unique
  3. 3:57Query tuning is hard
  4. 4:41But it can be worth it
  5. 6:02ORMs are great...
  6. 6:23You make the perfect restaurant app
  7. 6:54You need to save it to your database
  8. 9:58ORM problem
  9. 12:28But query tuning can be easy
  10. 13:16Query snapshots
  11. 15:40Top 5 features
  12. 16:34Beautiful summaries of all
  13. 17:30See the full stacktrace for each
  14. 18:28Group together similar SQL
  15. 19:41Query Snapshot automated testing
  16. 22:54Questions?
~/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.