Real Python: Speed Up Python With Concurrency
Concurrency is the act of having your computer do multiple things at the same time. If you’ve heard a lot of talk aboutasynciobeing added to Pythonbut 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, andmultiprocessinglibraries
Sample code was tested using Python 3.13. Since much of theasynciolibrary has been in flux since Python 3.4, it’s recommended to use at least Python 3.9 for theasyncioportions 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]