A First asyncio Application
read this article now in
Manning's Free Content Center
Manning's Free Content Center
-
ch 1 audio
Resources
customers also reading
This book
1°
2°
3°
Matthew Fowler
- February 2022
- ISBN 9781617298660
- 376 pages
- printed in black & white
- available in Russian, Simplified Chinese
pro 24ドル.99 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose one free eBook per month to keep
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
lite 19ドル.99 per month
- access to all Manning books, including MEAPs!
team
5, 10 or 20 seats+ for your team - learn more
eBook
pdf, ePub, online
47ドル.99
print
includes eBook
59ドル.99
online + audio
read and listen
49ドル.99
with subscription
free or 50% off
24ドル.99
pro 24ドル.99 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose one free eBook per month to keep
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
lite 19ドル.99 per month
- access to all Manning books, including MEAPs!
team
5, 10 or 20 seats+ for your team - learn more
eBook
47ドル.99
print
59ドル.99
online + audio
49ドル.99
with subscription
24ドル.99
Look inside
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library.
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
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.eBook
pdf, ePub, online
47ドル.99
print
includes eBook
59ドル.99
online + audio
read and listen
49ドル.99
with subscription
free or 50% off
24ドル.99
pro 24ドル.99 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose one free eBook per month to keep
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
lite 19ドル.99 per month
- access to all Manning books, including MEAPs!
team
5, 10 or 20 seats+ for your team - learn more
eBook
47ドル.99
print
59ドル.99
online + audio
49ドル.99
with subscription
24ドル.99
A clear and practical guide to using asyncio to solve real-world concurrency problems.
Well organized and written...effectively guides the reader through a variety of impactful concurrency techniques.
If you want to efficiently take your Python skills to the next level, look no further. This is the book for you.
Provides a lot of insights into one of the trickier aspects of Python programming, namely asyncio.
related titles
related titles
choose your plan
pro
monthly
annual
24ドル.99
249ドル.99
only 20ドル.83 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Python Concurrency with asyncio ebook for free
team
monthly
annual
49ドル.99
399ドル.99
only 33ドル.33 per month
- five seats for your team
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Python Concurrency with asyncio ebook for free
choose your plan
pro
monthly
annual
24ドル.99
249ドル.99
only 20ドル.83 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Python Concurrency with asyncio ebook for free
team
monthly
annual
49ドル.99
399ドル.99
only 33ドル.33 per month
- five seats for your team
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Python Concurrency with asyncio ebook for free
choose your plan
pro
monthly
annual
24ドル.99
249ドル.99
only 20ドル.83 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Python Concurrency with asyncio ebook for free
team
monthly
annual
49ドル.99
399ドル.99
only 33ドル.33 per month
- five seats for your team
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Python Concurrency with asyncio ebook for free
Check your email for instructions on downloading Python Concurrency with asyncio.