~/talk

µDjango, an Asynchronous Microservices Technique with Practical Examples

Talkat XtremePython 2024 Online Conference · on Tuesday, 2024-11-19· [microservices, python]
slides:none on file

Shows how to run a single-file Django app (one small settings + app file, optional Docker) using Django’s new async syntax and ASGI server (uvicorn/uorn). Uses Locust with 10 users for 20s to measure throughput: a simple endpoint reaches 400–500 req/s for the micro‑Django setup; FastAPI hits ~1,200–1,400 req/s with multiple workers but micro‑Django scales to comparable numbers when adding workers. Includes a real async DB example and notes that generic class‑based views still need work with async.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:28What is µDjango
  3. 8:54Live coding demo setup
  4. 13:17Running the µDjango app
  5. 15:07Performance comparison
  6. 20:41Real-world use cases
  7. 21:50Async limitations and conclusion
~/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.