📓 Python Concurrency with asyncio.



• Python is flexible, versatile, and easy to learn. It can also be very slow compared to lower-level languages. Python Concurrency with asyncio teaches you how to boost Python’s performance by applying a variety of concurrency techniques. You’ll learn how the complex-but-powerful asyncio library can achieve concurrency with just a single thread and use asyncio’s APIs to run multiple web requests and database queries simultaneously. The book covers using asyncio with the entire Python concurrency landscape, including multiprocessing and multithreading.



• Use coroutines and tasks alongside async/await syntax to run code concurrently;

• Build web APIs and make concurrency web requests with aiohttp;

• Run thousands of SQL queries concurrently;

• Create a map-reduce job that can process gigabytes of data concurrently;

• Use threading with asyncio to mix blocking code with asyncio code.



#Eng