Skip to main content Link Search Menu Expand Document (external link)
Last updated: | Permalink

Lecture 3: Python Parallel Processing

Learning objectives:

In this lecture, you will learn:

  • the basics of parallelism in Python.
    • Process-level parallelism
    • Thread-level parallelism
    • Task-level parallelism
  • how to calculate speedup and the definition of strong scaling and weak scaling.
  • task-level parallelism in Dask.

Lecture slides

Readings

Recordings

  • Lec3a (A1 walkthru + caching worksheet + process parallelism): video
  • Lec3b (thread parallelism + task parallelism + demo): video

Quiz


© 2024 Yue Cheng. Released under the CC BY-SA license