Python Concurrency with asyncio you own this product

Matthew Fowler
  • February 2022
  • ISBN 9781617298660
  • 376 pages
  • printed in black & white
filed under

placing your order...

Don't refresh or navigate away from the page.
eBook Our eBooks come in DRM-free Kindle, ePub, and PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $23.99 $47.99 you save $24 (50%)
Python Concurrency with asyncio (eBook) added to cart
continue shopping
adding to cart

print + eBook Receive a print copy shipped to your door + the eBook in Kindle, ePub, & PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $29.99 $59.99 you save $30 (50%)
FREE domestic shipping on orders of three or more print books
Python Concurrency with asyncio (print + eBook) added to cart
continue shopping
adding to cart

A clear and practical guide to using asyncio to solve real-world concurrency problems.

Didier Garcia, Software Sushi
Look inside
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library.

  • 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

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.

about the technology

It’s easy to overload standard Python and watch your programs slow to a crawl. Th e asyncio library was built to solve these problems by making it easy to divide and schedule tasks. It seamlessly handles multiple operations concurrently, leading to apps that are lightning fast and scalable.

about the book

Python Concurrency with asyncio introduces asynchronous, parallel, and concurrent programming through hands-on Python examples. Hard-to-grok concurrency topics are broken down into simple flowcharts that make it easy to see how your tasks are running. You’ll learn how to overcome the limitations of Python using asyncio to speed up slow web servers and microservices. You’ll even combine asyncio with traditional multiprocessing techniques for huge improvements to performance.

what's inside

  • 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

about the reader

For intermediate Python programmers. No previous experience of concurrency required.

about the author

Matthew Fowler has over 15 years of software engineering experience in roles from architect to engineering director.

FREE domestic shipping on orders of three or more print books

Well organized and written…effectively guides the reader through a variety of impactful concurrency techniques.

Dan Sheikh, BCG Digital Ventures

If you want to efficiently take your Python skills to the next level, look no further. This is the book for you.

Eli Mayost, IBM

Provides a lot of insights into one of the trickier aspects of Python programming, namely asyncio.

Peter White, Charles Sturt University
RECENTLY VIEWED