Golang Concurrency #6 - Worker Pool Pattern
The Problem
You have many tasks (jobs) and want multiple workers processing them simultaneously instead of one-by-one.
The Solution
One shared job queue (channel)
Multiple workers (goroutines) all grabbing jobs from the same queue
Whoever is free ...
tigerabrodi.blog3 min read