Learn how concurrency works in Go

Beginner
Developer
Student
Azure

Understand more about concurrency, one of the most unique features in Go.

Learning objectives

In this module, you'll learn about:

  • How concurrency works in Go.
  • The difference between concurrency and parallelism.
  • How communication works in a concurrent program by using channels.
  • How to write a program that runs faster by implementing concurrency.
  • How to write dynamic programs that can use buffers to take advantage of concurrency when you want to launch a limited number of concurrent calls.

Prerequisites

  • A Go environment that's ready to create applications. Ideally, you should have installed and configured Go locally and installed Visual Studio Code with the Go extension.
  • The ability to create and modify .go files.
  • The ability to run Go applications by using the terminal prompt.
  • Knowledge of basic data types like string, int, and boolean.
  • Knowledge of how to write basic data control flows like if and for statements.
  • Knowledge of how to write functions.
  • Knowledge of how to use libraries like net/http.