course

NL/EN
This training is available in Dutch and English. More information

Multiprocessing and Asynchronous Programming in Python

Explore the possibilities Python offers to parallelize your long running code or to execute it asynchronously

March 24, 2025
- Veenendaal / Remote
2 days
1480 (excl. VAT)

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.

Learning Goals

This training covers the following learning goals:

CheckmarkUnderstand why and when multiprocessing has benefits in Python.
UnderstandLogo InfoSupport
CheckmarkApply multiprocessing in Python
ApplyLogo InfoSupport
CheckmarkUnderstand multithreading in Python.
UnderstandLogo InfoSupport
CheckmarkUnderstand the problems multithreading can cause and their solutions.
UnderstandLogo InfoSupport
CheckmarkUnderstand asynchrounous programming in Python
UnderstandLogo InfoSupport
CheckmarkUnderstand coroutines in Python
UnderstandLogo InfoSupport
For the above learning goals we use Bloom's Taxonomy

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 dateDurationLocation
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
Keep me posted on new sessions

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
  • icon

    Hoge waardering

  • icon

    Praktijkgerichte trainingen

  • icon

    Gecertificeerde trainers

  • icon

    Eigen docenten