~/talk

Building Scalable Web Apps

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

Uses Django with frozen requirements and setuptools packaging, powers a Twitter clone with Postgres primary store (Discuss hits ~3 billion page views and peaked ~25,000 req/s). Pushes state into Redis sorted sets, truncates timelines older than 30 days, and shards predictably into 64 nodes via ntis. Writes fan-out work to Celery/RabbitMQ workers, keeps one canonical object cache per ID, avoids DB triggers, prefers range queries over LIMIT/OFFSET, and treats queues and materialized views as the scaling levers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Scalability vs performance
  3. 3:11Common bottlenecks
  4. 10:59Database design
  5. 17:40Redis caching
  6. 25:07Task queues
  7. 35:22Refactoring for consistency
  8. 37:51Architecture best practices
  9. 43:27Scaling strategies
  10. 46:18Q&A
~/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.