Talk Python To Me

#533: Web Frameworks in Prod by Their Creators

12 snips
Jan 5, 2026
Join experts from the Python web framework universe: Carlton Gibson (Django core contributor), Sebastián Ramírez (creator of FastAPI), David Lord (lead maintainer of Flask), Janek Nouvertné, and Cody Fincher (Litestar maintainers). They dive into deploying applications in production, discussing everything from optimal database choices, like when to use SQLite versus Postgres, to deployment patterns with Kubernetes and Docker. Expect insights on avoiding blocking in async code, the performance boosts of upgrading Python, and deploying efficiently with FastAPI Cloud.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Nginx + WSGI With ASGI Sidecar

  • Run Nginx as a front-end reverse proxy and a pre-fork WSGI server behind it for synchronous workloads.
  • Use an ASGI sidecar for long-lived connections like WebSockets or SSE to keep the main app simple.
ANECDOTE

Pallets Site Uses SQLite For Speed

  • David Lord runs the Pallets website using SQLite for static markdown content loaded at runtime.
  • This approach gives very fast queries and a simple deployment for that site.
ADVICE

Abstract Infra Complexity For Faster Deploys

  • Use a managed abstraction (FastAPI Cloud or similar) to avoid infra complexity when deploying small to medium apps.
  • If self-hosting, prefer containers and simple providers like Render, Fly, or Railway before diving into Kubernetes.
Get the Snipd Podcast app to discover more snips from this episode
Get the app