Explore the intricacies of Go's concurrency model through a visually engaging conference talk. Dive into various concurrency patterns and their visual representations, starting with basic concepts and progressing to more complex scenarios. Learn how to create and interpret concurrency diagrams, beginning with a simple "Hello, World!" example and advancing to sophisticated implementations like concurrent prime sieves. Gain insights into timers, ping-pong patterns, fan-in/fan-out techniques, and server-worker models. Understand the differences between parallelism and concurrency, and discover how to identify and address goroutine leaks. Enhance your understanding of Go's concurrent programming capabilities through clear, illustrative examples and expert explanations.
Overview
Syllabus
Intro
NUMBER FORMS
VISUALIZATIONS
HELLO, WORLD!
TIMER
PING-PONG #36
FAN-IN
SERVERS
WORKERS / FAN-OUT
SERVER+WORKER
CONCURRENT PRIME SIEVE
GOROUTINES LEAK
THAT IS PARALLELISM
AND THAT IS CONCURRENCY
Taught by
Gopher Academy