~/talk

Is FastAPI really fast ?

Talkat PyCon India 2025 · 2025-09-12..09-15· [python, web-platform]
slides:none on file

Benchmarks compare FastAPI (async vs sync) to Flask, Django, Express and Go Gin using WRK and TechEmpower suites, run on Dockerized EC2 4 vCPU / 8 GB with 60s tests. Results show Gin often leads (e.g. ~498,192 reqs in JSON test) while FastAPI async under gunicorn+uvicorn or uvloop hits the ballpark (example: sync ~149k vs async ~379k requests in a GET test). Repo with CSV, WRK Lua scripts, and ORM-backed CRUD workloads proves real endpoints, not hello‑world, and shows where FastAPI wins and where it lags.

AI-written summary · about

  1. 0:00Introduction to FastAPI
  2. 1:04Benchmarking frameworks overview
  3. 3:43TechEmpower benchmarking explained
  4. 7:39WRK benchmarking tool demo
  5. 8:45JSON serialization results
  6. 9:50Data updates benchmarking
  7. 10:36Real-world API workflow
  8. 11:41Custom benchmarking approach
  9. 13:52ORM and database setup
  10. 15:37Benchmarking environment details
  11. 16:20GET request performance results
  12. 17:25List product and delete results
  13. 18:07Post request performance results
  14. 18:50Final benchmarking verdict
  15. 19:54Uvloop performance boost
  16. 21:01Async vs sync API performance
  17. 21:45Development speed vs performance
  18. 23:33Pydantic and Rust serialization
  19. 24:19Automatic API documentation
  20. 25:20Django vs Flask vs FastAPI
  21. 26:49Choosing framework by use case
  22. 28:17Team expertise and deadlines
  23. 29:19Flask for lightweight needs
  24. 29:40Generative AI with FastAPI
  25. 30:00Final recommendations
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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.