Showing posts with the label FastAPI

Fixing FastAPI and Async SQLAlchemy Connection Pool Exhausted Errors

If you are running a high-traffic FastAPI application with an asynchronous SQLAlchemy backend, you have likely encountered the dreaded sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflo…
Fixing FastAPI and Async SQLAlchemy Connection Pool Exhausted Errors

Build Asynchronous ML Inference with FastAPI and Celery

When you deploy a Large Language Model (LLM) or a heavy computer vision model, a single inference request can take anywhere from 2 to 30 seconds. In a standard synchronous web architecture, this bl…
Build Asynchronous ML Inference with FastAPI and Celery
OlderHomeNewest