~/talk

Django and Aiohttp: Migration Experience and Performance Comparison

TalkinRussianat PyCon Belarus 2018 · on Saturday, 2018-02-24· [django, python]
links:none on file
slides:none on file

A team migrated heavy Django pages (ratings, user profile) to aiohttp microservices using Redis, keeping most business logic and templates but parallelizing internal HTTP calls. Load tests showed about 10× more pages/second, ~6× faster full-page loads and ~5× faster template rendering; development speed remained similar after learning async, while pain points included migrating Python2/Django libraries, cascading dependency upgrades (e.g. yarl middleware), and internal services becoming new bottlenecks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Why async necessary
  3. 3:59Portal growth challenges
  4. 7:59Problematic page example
  5. 13:24Migration to aiohttp
  6. 16:25Dev experience comparison
  7. 17:32Overcoming migration hurdles
  8. 20:50Testing async strategies
  9. 24:51Load redistribution effects
  10. 26:46Unit testing async
  11. 29:00Q&A
~/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.