Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python FastAPI Tutorial - Sync vs Async - Converting Your App to Asynchronous - Part 7

Corey Schafer via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn the differences between synchronous and asynchronous programming in FastAPI through a comprehensive 32-minute tutorial that covers when to use async routes versus synchronous routes. Explore the practical implementation of converting an entire FastAPI application from synchronous to asynchronous architecture, including updating database configuration to use async SQLAlchemy with aiosqlite. Master the conversion of all routes to use async/await patterns, handle eager loading for database relationships, and update exception handlers for asynchronous operations. Gain understanding of when asynchronous programming actually provides performance benefits and discover how to implement it correctly in FastAPI projects. Follow along with hands-on examples that demonstrate the complete transformation process from a traditional synchronous FastAPI application to a fully asynchronous one, with access to the complete source code for practical implementation.

Syllabus

Python FastAPI Tutorial (Part 7): Sync vs Async - Converting Your App to Asynchronous

Taught by

Corey Schafer

Reviews

Start your review of Python FastAPI Tutorial - Sync vs Async - Converting Your App to Asynchronous - Part 7

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.