Concurrency and Parallelism with Python for Humans
summary
Covers when and how to use multithreading and multiprocessing in Python effectively, focusing on avoiding common mistakes. Reviews concurrency concepts and the standard modules concurrent.futures, multiprocessing, subprocess, and threading, with practical guidance and examples.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:53Computer architecture basics
- 7:03Processes and system ops
- 13:40Concurrency vs parallelism
- 16:51Python threads intro
- 19:10Thread safety and races
- 23:26Synchronization with locks
- 27:00Concurrent.futures for threads
- 30:10CPU-bound tasks and GIL
- 32:03Multiprocessing in Python
- 33:48Parallel library overview
related talks
31mPython Multithreading and Multiprocessing: Concurrency and Parallelism
35mWriting robust, readable, and maintainable concurrent programs in Python
02h 57mPython Concurrency: from beginner to pro
37mConcurrency vs Parallelism
10mRedlining Your CPU for Fun and Profit: Threading and Multiprocessing in Python
29mConcurrency and Parallelism From The Ground Up
32mWhat They Never Told You About Python
25mLet me sleep on it improving concurrency in unexpected ways
