gRPC-Python: Major Feature Updates
summary
gRPC‑Python adds no‑GIL support (tests: core interrupt suites 100% on free‑threaded Python 3.14, >96% unit tests passing; thread sanitizer in CI), enables EventEngine/fork support by default, and experiments with zero‑copy for large (>1GB) payloads (benchmarks show much larger gains than the stable ABI case). Type annotations land progressively (async complete, sync next), and moving to the stable ABI cuts wheel maintenance (≈180 wheels/release today) at a cost: ~3–4% throughput drop and ~4% latency increase; free‑threaded wheels target late 2027.
AI-written summary · about
chapters (8)
- 0:00Introduction and presenters
- 1:05Free-threaded Python overview
- 5:05Why free threading matters
- 8:44gRPC Python free threading status
- 13:36Type hints in gRPC Python
- 19:01Python Limited API and Stable ABI
- 25:46Fork support and zero-copy improvements
- 27:12Closing remarks and Q&A
related talks
14mChallenges and Learnings: Building gRPC Python AsyncIO Stack
30mFree threaded Python past, present and future
17mHigh Performance Python Microservice Communication
27mgRPC in Python. Build fast scalable APIs for your services
01h 00mKeynote: Python now and in the future
29mPython's Infamous GIL
44mUnraveling Community Support For Free-Threaded Python
01h 05mHigh-Performance Python: Faster Type Checking and Free Threaded Execution
