Go Worker Pools: errgroup.SetLimit vs Channels vs semaphore.Weighted, Tested
Go worker pool patterns run side by side: errgroup.SetLimit, a channel pool and semaphore.Weighted. Error handling, a leak caught by goroutineleak, and memory.
Go worker pool patterns run side by side: errgroup.SetLimit, a channel pool and semaphore.Weighted. Error handling, a leak caught by goroutineleak, and memory.
An asyncio Queue worker pool ran 100,000 jobs with 100 tasks and flat memory, while gather() added 163 MB. Code for task_done, join, backpressure and shutdown.
asyncio TaskGroup vs gather, run side by side: gather leaves siblings running after a failure and silently drops later errors. TaskGroup cancels them all.
Python 3.14's free-threaded build is officially supported. Published benchmarks show ~3x speedups on 4 threads; which libraries break, how to install it.