Explore green threads in Python through this 27-minute conference talk from EuroPython 2017. Gain insights into scaling solutions and thread management, starting with an introduction to thread theory and its impact on operating systems. Compare Python's threading and multiprocessing APIs, then delve into green threads, their underlying principles, and their effects on system performance. Discover green thread patterns, tools like gevent and asyncio, and learn to differentiate between parallelism and asynchronism. Conclude by examining the complexities of multiprocessing, with practical examples of queue consumption and API interactions. Suitable for those with basic thread knowledge, this talk equips you to make informed decisions about multiprocessing techniques and tool selection for various scenarios.
Overview
Syllabus
Vinicius Pacheco - Green threads in Python
Taught by
EuroPython Conference