Dive deep into Python concurrency with this comprehensive tutorial aimed at beginners. Learn the fundamentals of concurrency, including its importance and the role of operating systems in computing and parallelism. Explore processes, threads, and Python's multithreading and multiprocessing modules. Understand race conditions, synchronization primitives, and threadsafe collections. Gain insights into the Global Interpreter Lock (GIL) and its impact on code performance. Participate in hands-on coding examples and activities, including building a web server using both multithreading and multiprocessing techniques. By the end, confidently determine when to use concurrency, choose between threads and processes, and ensure code safety in concurrent environments. Access the code repository on GitHub for additional resources and practice.
Overview
Syllabus
Tutorial: Santiago Basulto - Python Concurrency: from beginner to pro
Taught by
PyCon US