WaitGroups - Part 2 (Concurrency in Go #3)

preview_player
Показать описание
In this video we'll continue exploring WaitGroups and dive into more complex examples and real world issues WaitGroups solve. By the end of this video you'll feel even more comfortable with WaitGroups and the way Rate Limiting works

#golang #steevehook #concurrency #waitgroups #rate_limiting

00:00 - Intro
01:02 - Rate Limiting Intro
02:09 - Limit Go Routines Example
14:06 - Outro

Enjoy 🚀💻🚀

✍ RESOURCES:

💰 Support me on Patreon:
💰 Paypal Donation:
💰 Buy me a Coffee:

🐧 FEEDBACK:

💬 COMMUNITY:

💻 GITHUB:

💻 Exercism:

📖 Medium:

💬 TWITTER:

💬 FACEBOOK:

💬 REDIT:

💬 INSTAGRAM:

✉️ EMAIL

⚡ WEBSITE:

🎧 Music:

🎥 Gear used:
► Sony 𝛼7III
► Rode NTG-3
► Golden Age Project Pre73-JR preamp

______________________________________________________________________________

Software engineering is one of the most accessible fields nowadays, but it's easy to get lost in the huge amount of technologies and ways to approach engineering problems. Lots of languages, frameworks, solutions and ways to be a productive engineer.

I share my own experience on what is like to be a software engineer and the skills required to be a productive one. On this channel I share my thoughts, opinions and video tutorials about topics related to a certain technology, to make it easier for you to ultimately make a choice or just get better at software engineering by learning from my mistakes/experience.

Make sure to also check out 5m Friday every Friday, where I share my thoughts and opinions about different engineering topics. I'll c you around 😎

Stay tuned!
🚀💻🚀
Рекомендации по теме
Комментарии
Автор

3 videos? Feels like christmas!
Love that you go beyond basics and provide useful examples

Marianodsr
Автор

Keep up the great content and fabulous editing work :-)

puneethshetty
Автор

not necessary but try adding "j < i+max && j < len(requests);" in the nested for loop. that will make the code work for odd number of max requests too!

mangatram
Автор

Very good video! Learn so much from your videos! Love it!

bryanchoong
Автор

you deserve a lot more views than this. This is awesome content:)

christanpauldsouza
Автор

great tutorial, but most efficient approach would be to not wait until all the `max` connections are done, but to send requests as soon as each connections are done

emptytextfield
Автор

DUDE! This is amazing, it is just what I was looking for. I was trying to find a way to use concurrency to read about 500k text files, then give them a format and upload them to a database in chunks of 10k minimum. I've been struggling with that and trying to use channels. You have saved me! Keep it up!!!

ricardoruiz
Автор

Very good work, ser. Thorough both in the code and the presentation. You must have very generous patreons / be a big philantropist to offer this for free. Keep it up, respect!

dinub
Автор

The limit-goroutines code, as presented in the video, generates a segmentation fault, but the code in the GitHub repository is correct. The problem is in the initial for loop at statement 12, which should be 'for i := 1; i <= 100; i++' which initialises 'requests [100]'

poweruser
Автор

3:26 can we just asign the i to a new value to capture it? like "a := i; requests[i] = func() { fmt.Println("request", a) };"

longfenglian
Автор

Steve do you have udemy courses? If not then it will be great if you create courses around golang. Your teaching is very excellent..I will buy your udemy courses

surajdeshmukh