Tag: fastapi
All the articles with the tag "fastapi".
Python API Framework Benchmark: FastAPI vs Django vs Litestar on Real Database Workloads
I benchmarked the major Python web frameworks against real PostgreSQL workloads. The 20x performance gap you see in JSON benchmarks collapses to 1.3x once the database gets involved.
ChanX: Structured, Type-Safe WebSockets for Django and FastAPI
A batteries-included WebSocket framework: automatic message routing with Pydantic, mypy/pyright type safety, auto-generated AsyncAPI docs, and testing utilities — one codebase for Django Channels and FastAPI.
fast-channels: Django Channels for FastAPI
Bringing Django Channels' battle-tested consumer patterns and channel layers to FastAPI, Starlette, and any ASGI framework — group messaging, background workers, and cross-process communication included.