Overview
Explore common pitfalls and challenges when working with asynchronous code in Python in this code::dive 2020 conference talk. Delve into the intricacies of asyncio, examining how to avoid potential mistakes and optimize performance. Learn from real-world examples, including number generation and cat-related scenarios, to gain practical insights into async programming. Compare asyncio with threads and multiprocessing, understanding their strengths and use cases. Benefit from speaker Oleksii Pilkevych's experience as a Python developer for test automation at Nokia, as he shares valuable lessons learned from debugging and optimizing async code.
Syllabus
Intro
The basics
Generating numbers
Snko
Threads
Performance
Performance with multiprocessing
Strengths of multiprocessing
Multiprocessing example
Cat example
Taught by
code::dive conference