Posts Tagged: asgi
-
FastAPI Framework: Python ASGI Microframework Tutorial
FastAPI tutorial: installation, hello world app, Pydantic models, databases, dependencies, testing, deployment. Benchmarks vs Flask and Django.
-
Scaling FastAPI WebSockets to 10,000 Concurrent Connections with Uvicorn
Configure Uvicorn to handle up to 10,000 concurrent WebSocket connections in FastAPI applications. Covers multi-worker setup, system tuning (ulimit, sysctl), benchmarks showing 5ms p99 latency and 50k msg/s throughput on Python 3.13, verified with websocket-bench. Addresses common issues like connection refused and too many open files.