All Projects → kevchn → Go Concurrency Patterns

kevchn / Go Concurrency Patterns

Go concurrency patterns from Rob Pike's 2012 Google I/O talk

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Golang Concurrency Patterns

Common and useful golang concurrency patterns I implemented from Rob Pike's famous 2012 Google I/O talk.

Google I/O Talk

Common Patterns

  • Generator: function that runs goroutine and returns channel
  • Multiplexing (fan-in): function that takes multiple channels and pipes to one channel, so that the returned channel receives both outputs
  • Daisychaining: functions whose I/O are daisy-chained with channels together
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].