course
Multiprocessing and Asynchronous Programming in Python
Explore the possibilities Python offers to parallelize your long running code or to execute it asynchronously
Description
In this course you will learn about the possibilities Python offers to make use of multiprocessing, multithreading and asynchronous programming. Multiprocessing is important to parallelize long running calculations by distributing work across multiple processors. It might also turn out to be benificial not to wait for these long running calculations to terminate. Therefor asynchronous programming with Futures is important.
At the end of the training you will be able to write Python code yourself that makes effective use of the possibilities the language offers to spread your workload across Processes and Threads. Also you can make a decision when to use multiple Processes or when to use multiple Threads.
Also the async/await idiom will be covered.
Prior Knowledge
Basic knowledge of Python
Subjects
- Introduction to Multiprocessing
- Multiprocessing in Python
- Global Interpreter Lock
- Pipes and Queues
- Shared Memory
- Process Pooling
- Multithreading
- Shared Data
- Thread Safe
- Synchronization
- Queues
- Threads in UI-code
- Asynchronous programming
- Futures
- ThreadPoolExecutor
- Coroutines
- Tasks
- async/await
- Asynchronous Generators
Schedule
Start date | Duration | Location | |
---|---|---|---|
December 9, 2024December 10, 2024 | 2 days | Veenendaal / Remote This is a hybrid training and can be followed remotely. More information Veenendaal / Remote This is a hybrid training and can be followed remotely. More information | Sign up |
March 24, 2025March 25, 2025 | 2 days | Veenendaal / Remote This is a hybrid training and can be followed remotely. More information Veenendaal / Remote This is a hybrid training and can be followed remotely. More information | Sign up |
All courses can also be conducted within your organization as customized or incompany training.
Our training advisors are happy to help you provide personal advice or find Incompany training within your organization.
Prior knowledge courses
"The instructor was clearly very experienced and had a lot of knowledge about the subject."Mika
-
Hoge waardering
-
Praktijkgerichte trainingen
-
Gecertificeerde trainers
-
Eigen docenten