Skip to Content
Skip to content
Go Advanced: Performance, Concurrency, and Production
Advanced
Courses
Go Advanced: Performance, Concurrency, and Production

Check Yourself

Five scenario questions on bounded worker pools, sync.Mutex vs sync/atomic, and race detection.

Course content

Sign in to save your progress.

Course Home
1. You need to call an external API for 2,000 items, and the API allows at most 10 concurrent connections. Why is a fixed 5-worker pool better than `for _, item := range items { go fetch(item) }`?
3. You only need to increment a single `totalRequests` counter across 50 goroutines. Which primitive is cleanest and lock-free?
5. Which `go` flag instruments your tests or runs to catch unsynchronized concurrent memory reads/writes?

About

Five scenario questions on bounded worker pools, sync.Mutex vs sync/atomic, and race detection.

Duration
5 min
Last update
11/27/2026
Was this helpful?
​ 0 ​ 0

Comments

Sign in to comment

No comments yet.