~/talk

How to Go Wrong with Concurrency

Talkat GoWayFest 3.0 2019 Β· on Friday, 2019-07-05Β· [concurrency, go]
links:none on file
slides:none on file

Go programs break when ownership and stop semantics are vague: channels block on full buffers so a slow consumer leaves senders stuck and goroutines leaked; sending pointers through channels shares mutable state and causes races unless copy-on-send is enforced; context cancellation doesn't terminate goroutines β€” it only signals, so cancel alone often leaves workers running. Demo is a file-reader pipeline that stalls on a 30-block burst and never recovers; fixes shown are bounded buffers, explicit drain/close protocols and choosing one clear ownership/stop pattern.

AI-written summary Β· about

  1. 0:00Introduction to concurrency pitfalls
  2. 2:13Common concurrency mistakes
  3. 5:47Race conditions in buffers
  4. 9:23Pointer misuse in concurrency
  5. 12:56Stopping concurrency issues
  6. 17:42File processing and concurrency
  7. 21:49Document handling in concurrency
  8. 25:21Exception handling in concurrency
  9. 28:59Monitoring concurrency problems
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← β†’
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.