Let me sleep on it improving concurrency in unexpected ways
summary
Explains techniques for improving concurrency in Python by using cooperative multitasking and sleeping strategies; covers practical use of generators, greenlets/gevent, and asyncio to reduce contention and simplify concurrent code; shows concrete patterns for yielding/sleeping to make IO-bound and cooperative tasks more efficient.
AI-written summary · about
chapters (7)
- 0:00Start
- 7:37HOW OPERATION MUTEX WORKS
- 8:32OPERATION MUTEX [1/3]
- 15:15TESTING REFRESH FLOW
- 17:11FAILING TESTS ARE GOOD
- 17:29TEST FAILURE LOG
- 24:41MORE INFO
related talks
20mIt's Critical: Concurrent programming as a sane programming model
32mEnhancing AsyncIO for Complex Applications
01h 29mStandardised Coroutine Concurrency in Python 3
29mConcurrency and Parallelism From The Ground Up
36mConcurrency and Parallelism with Python for Humans
25mThe hitchhiker's guide to asyncio
37mConcurrency vs Parallelism
31mA Really Gentle Introduction to Asyncio
