Curated Tech Reading Map

Find your next tech book to read

Book

Concurrency in Go

Concurrency in Go

Katherine Cox-Buday

Buy on Amazon* The link above is an advertisement via Amazon Associates.

Summary

Katherine Cox-Buday assumes you already write Go and focuses entirely on getting its concurrency model right. The book explains why Go builds concurrency on Communicating Sequential Processes rather than shared-memory locking, then works from goroutines, channels, and the sync package up to patterns for composing them into pipelines and fan-out/fan-in systems that stay simple as they grow. A recurring theme is that Go gives you the primitives but not the judgment: much of the book is about where a goroutine leak, a deadlock, or a data race actually comes from, and how to design around each. It closes by looking at how the Go runtime schedules goroutines under the hood.

Target Readers

  • Go developers who already use goroutines and channels but keep hitting deadlocks or leaks they can't explain
  • Engineers moving from thread-and-lock concurrency in another language and needing the CSP model explained on its own terms
  • Developers building a data pipeline in Go who need composable patterns, not just the primitives, to keep it correct as it grows

Tags

#go#async-processing#goroutine

Colophon

Publisher
オライリー・ジャパン
ISBN
978-4873118468
Published
Oct 2018
List price
¥3,080incl. taxMay differ from the actual selling price on Amazon

Get this book

* The link above is an advertisement via Amazon Associates.

Next Books