Async Programming
Async Database Access
Using async database drivers for non-blocking I/O
Interview: Backend optimization — senior level
Async Databases
Using async database drivers prevents blocking the event loop during queries. The most popular async drivers are asyncpg (PostgreSQL), motor (MongoDB), and aiosqlite (SQLite).