Welcome! Let's learn about Go/Golang Concurrency Patterns, this time we are covering examples using the errgroup package for implementing parallelization and comparing that to the sync package's WaitGroup type.
=== Relevant Links
Example code: https://github.com/MarioCarrion/video...
Documentation: https://pkg.go.dev/golang.org/x/sync@...
Learning Golang: Introduction to Concurrency Patterns, goroutines and channels: • Learning Golang: Introduction to Conc...
Learning Golang: Context package: Cancellations, Deadlines and Request-scoped values: • Learning Golang: Context package: Can...
Playlist "Software Architecture in Go": • Software Architecture and System Desi...
Playlist "Learning Go": • Learning Go/Golang
Playlist "Building Microservices in Go": • Building Microservices in Golang/Go
Playlist "GoTools and Packages": • Golang/Go Tools and Packages
Playlist "Testing in Go": • Testing in Golang/Go
00:00 Start
00:10 Introduction to the errgroup package in Golang
01:22 Example using sync and Waitgroup and errgroup
05:56 Example using context with errgroup
10:40 Conclusion
---
Who am I:
Hello👋🏼! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.
Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.
Subscribe if you like Software Development, Software Architecture and Systems Design!
Keep it up. Don't give up!
#golang #tutorial #concurrency
--- Our affiliate links below
Shop our Amazon favorites → https://www.amazon.com/shop/rubycarrion
Shop my IG feed on my LIKEtoKNOWit (LTK) page → https://www.liketoknow.it/RubyCarrion
Shop Top Deals and Featured Offers at Best Buy → https://bestbuy.7tiv.net/c/2558226/68...
Get a 30 day FREE Trial of Epidemic Sound → https://www.epidemicsound.com/referra...
Try Amazon Prime 30-day FREE Trial → https://amzn.to/3yf9a0f
I love getting Cash Back and think you will too! Join for FREE and get $30 when you spend $30. https://www.rakuten.com/r/RUBYRA132?e...
--- Our Vlog Channel
/ rubycarrion
Смотрите видео Learning Golang: Concurrency Patterns using errgroup package онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mario Carrion 03 Сентябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,117 раз и оно понравилось 165 людям.