~/talk

Challenges in developing a large Django site

Talkat EuroPython 2011 · 2011-06-20..06-26· [python, django]
slides:none on file

Lanyrd is a Django site that sends about 3,000 emails a day using signed JSON unsubscribe links and uses signed cookies to avoid per-page session lookups; fragment caching keys include a conference.cache_version integer to invalidate templates. Redis stores follow and attendee sets for fast set intersections (Redis handles ~100,000 ops/sec) and Solr indexes sessions, slides and 20,000+ speakers for faceted and “appears with” queries. Assets are minified, SHA1-hashed, pushed to S3/CloudFront so deployments can ship assets before code; major challenges are safe HTTP fetching, production profiling and zero-downtime schema changes.

AI-written summary · about

  1. 0:00Tricks & challenges developing a large Django application
  2. 5:00Signing uses
  3. 6:43Signing in Django 1.4
  4. 10:53Bulk Invalidation
  5. 15:19Our redis sets...
  6. 22:20Benefits
  7. 24:53Talking to an API?
  8. 26:40Safe URL consumption Connection timeouts
  9. 28:00Debugging in development rocks!
  10. 33:32Django Improvements
  11. 37:21Read-only mode
  12. 40:19Global settings are BAD
~/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.