~/talk

Parallel computing in Python: Current state and recent advances

Talkat EuroPython 2019 · 2019-07-08..07-14· [python]
links:none on file
slides:none on file

Shows concrete fixes and numbers: multiprocessing (process pools) beats threads because of the GIL, four-worker benchmarks approach ideal speedups for many scikit-learn estimators but threads produce outliers. Introduces loky + joblib for robust interactive pools, persistent memoization on disk, and optimized NumPy transfers. Explains serialization: cloudpickle C-extension is ~30× faster than pure Python, and pickle protocol 5 adds zero-copy buffer support and shared-memory facilitation (Python 3.8+) that tools like dask, ray and pyspark adopt to cut memory copies and latency.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why parallel computing matters
  3. 3:33Thread vs process parallelism
  4. 8:28Process-based parallelism limits
  5. 9:10Standard library solutions
  6. 13:26Third-party libraries overview
  7. 17:25Recent advances in Python
  8. 27:54Key takeaways and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.