The problem: a PDF ingest that blocks for minutes My ingest endpoint was synchronous. Upload a file, wait for OCR, wait for the LLM extraction pipeline, get a response. On a small note it took 3–5 seconds.

Source: [Dev.to](https://dev.to/yogeshchavan2008/sync-to-async-migrating-fastapi-endpoints-to-arqredis-3c29)

Sponsored