~/talk

Mastering Concurrency in Go: From Patterns to Production

Talkat GopherCon India 2024 · 2024-11-11..11-13· [go, concurrency]
name:Joobi SB
links:none on file
slides:none on file

Explains concrete concurrency recipes in Go with code and production uses: a worker pool implemented with goroutines plus waitgroups and a buffered semaphore channel to cap concurrency without idle workers; graceful shutdown driven by context and waitgroup when consuming from Kafka; pipeline stages wired by channels for image processing; fan-out/fan-in that aggregates per-task channels and preserves ordering with a channel-of-channels ordering trick used in Kubernetes; examples show these patterns running in real services and writing results to S3.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:33Go concurrency foundations
  3. 2:23Worker pool patterns
  4. 9:26Practical worker applications
  5. 11:45Pipeline pattern
  6. 16:02Fan-out and fan-in
  7. 19:49Maintaining order with channels
  8. 23:24Conclusion and wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.