Is It Me, or the GIL
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore the impact of Python's Global Interpreter Lock (GIL) on application performance in this 37-minute EuroPython Conference talk. Delve into methods and tools for analyzing GIL contention, learn to identify actual performance bottlenecks, and discover strategies for improving Python application efficiency. Gain insights on when to consider refactoring, switching concurrency paradigms, or exploring alternative solutions. Follow along as the speaker shares real-world experiences and practical approaches to optimize performance-sensitive components without resorting to premature rewrites or major refactoring.
Syllabus
Introduction
Task Execution Framework
Semantic Visualization
Dave Paisley
concurrency visualization
GIL load
Pies Buyer
Event Handlers
Example
CPU bound
Latency
GIL Disadvantage
The Plan
Observations
Timelines
SystemTap
Pookie
Simple fixes
Additional ideas
Taught by
EuroPython Conference
Related Courses
Multithreaded Python without the GILEuroPython Conference via YouTube Extending Cython with GIL-Free Types
EuroPython Conference via YouTube Addressing Multithreading and Multiprocessing in Transparent and Pythonic Ways
EuroPython Conference via YouTube Running Python Code in Parallel and Asynchronously
EuroPython Conference via YouTube Fast Async Code with Cython and AsyncIO
EuroPython Conference via YouTube