Tá FastAPI i measc na frameworks Python is tapa toisc go bhfuil sé tógtha ar Starlette (framework ASGI éadrom) agus tá sé async-native, ag láimhseáil go héifeachtach go leor iarratas I/O-bound comhthréimhseacha. Ach a choinneáil tapa a bhíonn sé gá a úsáid async i gceart — is é an earráid is coitianta ná bac a chur ar an lúp imeachta.
Cén fáth a bhíonn sé tapa
✓ ASGI + Starlette — a modern async foundation (vs older WSGI sync frameworks)
✓ Async-native — one process handles thousands of concurrent I/O-bound requests
by overlapping wait times, instead of one-at-a-time
✓ Pydantic v2 — validation/serialization core is now in Rust (very fast)
✓ Minimal overhead per request
