Home / Applied AI / 02. AI Infrastructure / 00. AI Backend API Engineering AI Backend API Engineering¶ The chapters in this module, in reading order. # Chapter 00 Async Python & FastAPI for AI Services — The Five-Year-Old Version 01 Sync vs Async — why one slow spoon can stall the whole kitchen 02 Event Loop and Coroutines — the traffic police of waiting work 03 FastAPI Basics — clean routes for messy AI work 04 Async Endpoints — use async def where waiting matters 05 Streaming Responses — send tokens through the pass window 06 Background Tasks — move long work to the prep shelf 07 Concurrency Patterns — let many tickets move without kitchen fights 08 Error Handling and Retries — fail loudly, retry selectively 09 Cancellation and Timeouts — stop cooking when the table is gone 10 WebSockets and Bidirectional Channels — when both sides need to talk 11 Testing Async Code — trust only what you can await and verify 12 Deployment and Production — run the kitchen without drama 13 Honest admission — what async Python still does not make easy