top band

Friday 3:15 p.m.–4 p.m.

Python Concurrency From the Ground Up: LIVE!

David Beazley

Audience level:
Intermediate
Category:
Python Core (language, stdlib, etc.)

Description

There are currently three popular approaches to Python concurrency: threads, event loops, and coroutines. Each is shrouded by various degrees of mystery and peril. In this talk, all three approaches will be deconstructed and explained in a epic ground-up live coding battle.

Abstract

There are currently three popular approaches to Python concurrency: threads, event loops, and coroutines. Each is shrouded by various degrees of mystery and peril. In this talk, all three approaches will be deconstructed in a epic ground-up live coding battle. The core topics to be covered include: - Introduction to concurrency with threads. - How an event loop works - How coroutine-based concurrency works - The effect of the GIL - The problem with blocking (and workarounds) - Coordination with process pools and worker tasks.
bottom band background