~/talk

Speed Up Your Data Processing

Talkat PyData Global 2020 · 2020-11-11..11-15· [python, developer-experience]
slides:none on file

Claims that parallel and asynchronous Python code speeds up pipelines and shows how. Uses pandas for in-memory work and the stdlib concurrent.futures with ThreadPoolExecutor for many IO-bound API requests (data.sg JSON) giving ~20.9× speedup: list comprehension 16.3 minutes versus 46.83 seconds with 40 threads. Uses ProcessPoolExecutor / multiprocessing for CPU-bound image resizing, cutting 29.6s to 6.98s on an 8‑core run (~4.3×). Notes limits: GIL and Amdahl overheads.

AI-written summary · about

  1. 0:00Introduction
  2. 3:1980-20 rule in data science
  3. 7:31Large datasets in pandas
  4. 10:43Small big data
  5. 11:28Parallel processing with toast
  6. 16:11Sync vs async with coffee
  7. 18:42Parallelism limits
  8. 24:23Multiprocessing vs multithreading
  9. 26:30concurrent.futures for tasks
  10. 27:56Parallel speedup case studies
  11. 29:46Key takeaways
~/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.