Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuritka/threading-go-demos
https://github.com/kuritka/threading-go-demos
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kuritka/threading-go-demos
- Owner: kuritka
- Created: 2019-12-12T11:22:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-22T16:03:05.000Z (about 4 years ago)
- Last Synced: 2024-10-11T11:21:51.463Z (about 1 month ago)
- Language: Go
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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/