Finding and fixing a goroutine leak in a popular Go library
How a worker pool that nobody closed leaked goroutines on every call — and what the fix taught me about ownership of concurrency in library code.
4 min read · go · concurrency · open-source
How a worker pool that nobody closed leaked goroutines on every call — and what the fix taught me about ownership of concurrency in library code.
4 min read · go · concurrency · open-source
The first post in a series on concurrency in Go — what a worker pool is, why it protects you from goroutine leaks under load, its trade-offs, and a small runnable example with graceful shutdown.
5 min read · go · concurrency