Go Practice: Concurrency
28mIntermediate2023-09-14
Authors

Miki Tebeka
CEO at 353Solutions
Course details
Being proficient in concurrency can enhance your employability as a developer. With the rise of multi-core devices, being able to write code that executes multiple tasks simultaneously is becoming a crucial concept in modern programming. One of the most attractive aspects of Go for developers is its built-in concurrency, and in this course, Miki Tebeka tests your Go concurrency skills with a series of challenges. Learn to work with goroutines, channels, and even lower-level concurrency primitives like sync.Mutex. Follow along with Miki, compare your solutions to his, and see how your concurrency skills match up.
Skills covered
GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
Introduction
- Concurrency in Go challenges
- What you should know
- A tour of CoderPad
Waiting for goroutines
- Solution - Timing HTTP calls
Getting Results from goroutines
- Solution - Digital signature check
Timeout and Cancellations
- Solution - Movie recommendation
Fixed Pool of goroutines
- Solution - Resizing images
Using the Sync Package
- Solution - Bounded cache
Conclusion
- Next steps