chore: add files from master-wiki repo
This commit is contained in:
parent
f99a9ae2ac
commit
1847f6bf28
315 changed files with 1047341 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
# Practical Concurrency in Go - GoRoutines, Mutexes, Channels and More
|
||||
|
||||

|
||||
|
||||
## Metadata
|
||||
- Author: [[eldr-io]]
|
||||
- Full Title: Practical Concurrency in Go - GoRoutines, Mutexes, Channels and More
|
||||
- Category: #articles
|
||||
- Document Tags: [[dev]] [[dev/go]]
|
||||
- URL: https://youtube.com/watch?v=X24qXb4uWms&si=rsxeM5e_FgY5RCIg
|
||||
- Archive: https://web-archive.alecodes.page/bookmarks?bf=1&search=&title=Practical%20Concurrency%20in%20Go%20-%20GoRoutines%2C%20Mutexes%2C%20Channels%20and%20More
|
||||
> [!tldr]
|
||||
> The video tutorial demonstrates how to create a concurrent currency exchange API using Go. It explains how to fetch currency rates simultaneously by utilizing goroutines and channels. The goal is to efficiently manage multiple API calls to retrieve currency data.
|
||||
|
||||
## Highlights
|
||||
We don't really want to spin up a thousand threads just to do API calls. What we want instead is we want a worker pool of threads that can basically, whenever they're available, pick up work, and then they can do the work and then return a result, and then they can pick up the next work until there's no more work to be done. And this is a great pattern called a worker pattern or worker pool pattern. [View Highlight](https://read.readwise.io/read/01j7ngcdm7y0mhae1x7a524k9q))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue