Concurrency is the act of having your computer do multiple things at the same time. If you’ve heard lots of talk about asyncio
being added to Python but are curious how it compares to other concurrency methods or are wondering what concurrency is and how it might speed up your program, you’ve come to the right place.
In this course, you’ll learn the following:
- How I/O bound programs are effected by latency
- Which concurrent programming patterns to use
- What the differences are between the Python concurrency libraries
- How to write code that uses the
threading
,asyncio
, andmultiprocessing
libraries
Sample code was tested using Python 3.8.5. Much of the asyncio
library has been in flux since Python 3.4, it is recommended to use at least Python 3.7 for the asyncio
portions of the course.
[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]
from Real Python
read more
No comments:
Post a Comment