Taking Charge of Your Race Conditions
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore race conditions in concurrent programming and learn effective strategies to test and manage them in this 44-minute conference talk from EuroPython 2022. Dive into the challenges of working with threads, processes, and workers, and discover when implicit concurrency management falls short. Learn to craft critical sections carefully, avoiding deadlocks, and test programs with manufactured race conditions. Examine a server program called in parallel by multiple clients to illustrate common issues. Gain practical knowledge of Python standard library tools for handling race conditions, enabling you to exercise and counter them in your own projects. Cover topics including singletons, location APIs, concurrency basics, flag propagation, barriers, and various solution approaches.
Syllabus
Intro
Singletons
Location API
Concurrency
Race conditions
Running the code
The problem
Python tools
Flag propagation
Barriers
Steps
Solutions
Other solutions
Conclusion
Taught by
EuroPython Conference
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube