
Concurrent Python with asyncio
Build Real-World Async Apps with Coroutines and FastAPIBy Lena IqbalLength7h 44m
About this audiobook
Are you ready to write fast, scalable Python that handles thousands of connections without breaking a sweat? Concurrent Python with asyncio is your hands-on guide to mastering asynchronous programming through clear, worked examples. Whether you're a beginner or a pro, you'll build real I/O-bound apps that truly scale.
Start with coroutines and tasks, then dive into event loops, futures, and synchronisation primitives. Learn to design non-blocking network clients and servers, handle timeouts and cancellation, and integrate asyncio with databases and web frameworks. Every concept is reinforced with practical code you can run and adapt.
By the end, you'll confidently build high-performance web scrapers, chat servers, and API gateways. You'll understand the asyncio ecosystem, including aiohttp, asyncpg, and uvloop, and know when to use threads vs. coroutines. This book doesn't just teach syntax—it teaches you how to think in async.
Packed with diagrams, debugging tips, and performance benchmarks, Concurrent Python with asyncio is the definitive resource for any Python developer who wants to level up. Compare with [placeholder] and [placeholder] to see why this book stands out.
This hands-on Python guide is written to be used at the keyboard: every concept is paired with something you can run, adapt, and keep. You move from first principles to real, working results, with the common errors and fixes called out along the way so you are never stuck for long.
Audiobook details
GenreTechnology
Length7 hrs 44 mins
Narrated byListen with 1,000+ voices
FormateBook with Audio
LanguageEnglish
Table of contents
1Concurrent Python with asyncio
2Preface
3Chapter 1 — The Blocking Problem and Your First Async Crawl
4Chapter 3 — Coroutines: The Heart of Cooperative Multitasking
5Chapter 4 — The Event Loop: Managing the Concurrency Orchestra
Show all chaptersShow less
6Chapter 5 — Async/Await in Practice: Writing Readable Concurrent Code
7Chapter 6 — Tasks and Futures: Orchestrating Concurrent Fetches
8Chapter 7 — Asyncio Streams and Network I/O
9Chapter 8 — Synchronization Primitives: Lock, Queue, Semaphore
10Chapter 9 — Producer-Consumer Architecture with Async Queues
11Chapter 10 — Asyncio vs. Threading vs. Multiprocessing
12Chapter 11 — Error Handling, Logging, and Resilience
13Chapter 12 — Testing Async Code
14Chapter 13 — Scaling with Async Web Frameworks (FastAPI)
15Chapter 14 — Structured Concurrency with TaskGroup (Python 3.11+)
16Chapter 15 — Advanced Patterns: Async Generators and Context Managers
17Chapter 16 — Real-Time Monitoring with WebSockets
18Chapter 17 — Production Deployment: Packaging and Performance Tuning
19Chapter 18 — Future Directions: Asyncio in Data Science and AI
20About the Author