Skip to content

Case Study of golang concurrency in go-academy seminar

Notifications You must be signed in to change notification settings

takesei/go-concurrency-patterns

 
 

Repository files navigation

Golang Concurrency Patterns

Common and useful golang concurrency patterns I implemented from Rob Pike's famous 2012 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

References

About

Case Study of golang concurrency in go-academy seminar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%