Parallelism Shootout - Threads vs Asyncio vs Multiple Processes
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Syllabus
Parallelism Shootout threadsve multiple processes asyncio
Using three different modules: threading, multiprocessing and asyncio.
Break down the problem.
Before we begin...
Before we parallelise...
Sequential Approach
Actual real POSIX threads (pthreads) or Windows threads.
threading example to multiprocessing...
Convenient means of parallelising the execution of a function across multiple input values, distributing the input data across processes (data parallelism).
sequential example to multiprocessing...
Provides infrastructure for writing single- threaded concurrent code.
Basic asynio Concepts
The component that is in charge of keeping track of and scheduling all the coroutines that want time on the thread.
Drum roll
Taught by
EuroPython Conference
Related Courses
High Performance Computer ArchitectureGeorgia Institute of Technology via Udacity Master Network Automation with Python for Network Engineers
Udemy Deploying PyTorch Models in Production: PyTorch Playbook
Pluralsight 爬虫基础教学 Python Scraping 教程
YouTube Intermediate Python Programming Course
freeCodeCamp