Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kuritka/threading-go-demos


https://github.com/kuritka/threading-go-demos

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

## concurency z parallelism

Concurency = one task at time but multiple functions. Go channels always run asynchronously. To opn new thread we use go routines

Paralelism = multiple tasks at time (one therad of execution)

## ways of concurency implementation

- Processor threads
- Events
- Callback promises
- CSP (erlang, Go channels and actors)


## Anatomy of go channels
https://medium.com/rungo/anatomy-of-channels-in-go-concurrency-in-go-1ec336086adb

## Aanatomy of Go routines
https://medium.com/rungo/anatomy-of-goroutines-in-go-concurrency-in-go-a4cb9272ff88

## Context
https://golang.org/pkg/context/