Asyncio and Async/Await
Master Python's async/await model - coroutines, tasks, gather, event loop, async context managers, and building high-performance I/O-bound applications.
Master Python's async/await model - coroutines, tasks, gather, event loop, async context managers, and building high-performance I/O-bound applications.
Apply asyncio in production - async FastAPI routes, background tasks, async database access, connection pools, and handling concurrency in a real API service.
Two production-style concurrency engineering projects - a concurrent web scraper and an async API system.
Master Python synchronization primitives - Lock, RLock, Semaphore, Event, Condition, and Barrier - and when to use each to build correct concurrent systems.
Master concurrency in Python - threading, multiprocessing, asyncio, event loops, race conditions, locks, and building production async systems.
Bypass the GIL with multiprocessing - Process, Pool, shared memory, queues, pipes, and when to use processes instead of threads.
Build an async FastAPI service that aggregates data from multiple external APIs concurrently - with caching, rate limiting, circuit breaking, and background refresh.
Build a production-grade concurrent web scraper using ThreadPoolExecutor and asyncio - rate limiting, retry logic, robots.txt compliance, and structured output.
Solve 11 Python asyncio and async/await problems. Covers asyncio practice, async await, asyncio gather. Hints and solutions.
Solve 11 Python building an async api service problems. Covers async api, fastapi async, async database. Hints and solutions.
Solve 11 Python locks, semaphores, and synchronization problems. Covers lock practice, semaphore exercises, threading lock. Hints and solutions.
Solve 11 Python multiprocessing in python problems. Covers multiprocessing practice, process pool, shared memory. Hints and solutions.
Solve 11 Python race conditions and thread safety problems. Covers race condition, thread safety, data race. Hints and solutions.
Solve 11 Python the event loop explained problems. Covers event loop, asyncio event, call_soon call_later. Hints and solutions.
Solve 11 Python threading in python problems. Covers threading practice, thread creation, daemon thread. Hints and solutions.
Solve 11 Python threadpoolexecutor and processpoolexecutor problems. Covers ThreadPoolExecutor practice, concurrent futures. Hints and solutions.
Understand race conditions at the CPU level - why they happen, how to detect them, and how to write thread-safe Python code that behaves correctly under concurrency.
Understand Python's asyncio event loop at engineering depth - how it works, selectors, callbacks, handles, and debugging event loop issues in production.
What the GIL is, why it exists, how it works in CPython 3.12+, its performance impact, and the Python 3.13 free-threaded mode.
Master Python threading - Thread creation, daemon threads, thread lifecycle, sharing state, the GIL's real impact, and when threading actually helps performance.
Master concurrent.futures - ThreadPoolExecutor, ProcessPoolExecutor, Future objects, as_completed, and building production-grade concurrent task pipelines.