DEV Community

FastAPI

The official tag for the FastAPI framework.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How Many Uvicorn Workers Do You Actually Need? (FastAPI Performance Guide)

How Many Uvicorn Workers Do You Actually Need? (FastAPI Performance Guide)

Comments
4 min read
Mastering FastAPI Error Handling Best Practices – A Hands‑On Guide

Mastering FastAPI Error Handling Best Practices – A Hands‑On Guide

Comments
6 min read
Supercharge Your API: FastAPI asyncpg Integration for High‑Performance PostgreSQL Access

Supercharge Your API: FastAPI asyncpg Integration for High‑Performance PostgreSQL Access

Comments
7 min read
Mastering FastAPI Async Logging: Structured, Rotating, and Worker‑Ready Logs for High‑Performance Apps

Mastering FastAPI Async Logging: Structured, Rotating, and Worker‑Ready Logs for High‑Performance Apps

Comments
8 min read
Mastering FastAPI Background Tasks: Real‑World Patterns, Testing, and When to Reach for Celery

Mastering FastAPI Background Tasks: Real‑World Patterns, Testing, and When to Reach for Celery

Comments
8 min read
Mastering FastAPI Deployment on Render – From Docker to CI/CD, Scaling & Cost‑Effective Tips

Mastering FastAPI Deployment on Render – From Docker to CI/CD, Scaling & Cost‑Effective Tips

Comments
8 min read
Mastering FastAPI Deployment on Railway – From Docker to CI/CD

Mastering FastAPI Deployment on Railway – From Docker to CI/CD

Comments
6 min read
AsyncSession Has No Attribute query in SQLAlchemy 2.0 (FastAPI Fix)

AsyncSession Has No Attribute query in SQLAlchemy 2.0 (FastAPI Fix)

Comments
2 min read
Why Your FastAPI App Works Locally But Fails in Production

Why Your FastAPI App Works Locally But Fails in Production

Comments
3 min read
FastAPI Lifespan vs Startup Events: The Mistake That Breaks Async Apps

FastAPI Lifespan vs Startup Events: The Mistake That Breaks Async Apps

Comments
3 min read
FastAPI Async vs Sync – When to Use Each, Benchmarks, and Real‑World Tips

FastAPI Async vs Sync – When to Use Each, Benchmarks, and Real‑World Tips

Comments
8 min read
Fixing “QueuePool limit reached”: Debugging DB Connection Leaks in FastAPI

Fixing “QueuePool limit reached”: Debugging DB Connection Leaks in FastAPI

Comments
4 min read
FastAPI WebSockets: Production-Ready Setup and Scaling

FastAPI WebSockets: Production-Ready Setup and Scaling

Comments
8 min read
Building a FastAPI Backend That Serves Live Satellite Imagery and Orbital Position

Building a FastAPI Backend That Serves Live Satellite Imagery and Orbital Position

Comments
11 min read
I built an AI powered API generator with FastAPI, PostgreSQL, Groq and Railway

I built an AI powered API generator with FastAPI, PostgreSQL, Groq and Railway

Comments 1
1 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.