Build a Thread Pool

worker pool with futures

Challenge 1 of Async & MessagingIntermediate~55 minFree

Build a worker pool that runs queued jobs and returns results through futures. Handle exceptions per job, add a map() convenience, and distribute work across N workers round-robin.

5 steps

  1. 1Futures
  2. 2Submit and Run
  3. 3Per-Job Exceptions
  4. 4map()
  5. 5Distributing Across Workers
Start step 1