Golang concurrency patterns from Rob Pike Google I/O 2012.
Concurrency is not parallelism, although it enables parallelism. See golang.org/s/concurrency-is-not-parallelism
Go is the latest on the Newsqueak-Alef-Limbo branch, distinguished by first-class channels.
Point | Files |
---|---|
Goroutine basics | goroutine1 goroutine2 |
Channel basics | channel1.go channel2.go |
Generator and multiplexing | generator2.go generator3.go generator4.go |
Channel chain | daisychain.go |
Select basics | select1.go select2 select3.go select4.go |
Concurrent Requests | google1.go google2 google3 google4 |