# Async Routes: When They Help, and When They Don't

An async def route that calls other services with httpx's AsyncClient can ask them all at once with asyncio.gather and give up after a timeout with a 503, while routes with blocking code such as sqlite3 stay plain def, because one blocking call inside async def holds up every request.

![Cheat sheet: Async Routes: When They Help, and When They Don't](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/b229651622504638866805f064fa9610.webp)

- Category: FastAPI
- Level: Freelancer
- Tags: 503 Service Unavailable, async def, Event Loop and Blocking Calls, fastapi, httpx, rest-api, Timeout (rest-api)
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/fastapi-async-routes-when-they-help-cheat-sheet
