concurrency esay

https://medium.com/@trevor4e/learning-gos-concurrency-through-illustrations-8c4aff603b3arrow-up-right

Single-threaded

Concurrecny

goroutines = create independently working gophers(light-weight threads)

channels = a way for gophers to communicate to each other.

unbuffered, and buffered channels

unbuffered channels = one data fits through the channel at a time.

buffered channels = multiple data fits through the channel at a time.

Last updated