0/14 уроков (0%)
– из 14
Parallelism Shootout - Threads vs Asyncio vs Multiple Processes
YouTube·EuroPython
Explore a comparative analysis of parallelism techniques in Python through this conference talk from EuroPython 2015. Dive into the mechanics and benchmarks of three different approaches to handling multiple URL downloads: using threads, multiple processes, and asyncio. Learn how to implement each method using the threading, multiprocessing, and asyncio modules. Understand the concepts of POSIX threads, data parallelism, and coroutines. Gain insights into breaking down parallelism problems, sequential approaches, and the basics of asyncio. Discover which technique performs best for handling concurrent I/O-bound tasks in Python.