An Introduction to the Task Module

Learn about the task module in Elixir, which will help to run code concurrently.

Set up the tools

In this course, we cover the most popular tools for performing concurrent work using Elixir. We’ll learn about the pros and cons of each one and see how they work in practice. Like the Task module and GenServer, some of them come with Elixir. Other tools like GenStage, Flow, and Broadway are available as stand-alone libraries in the Hex.pm package registry. Knowing how to utilize each of these tools will help us leverage concurrency effectively. It will solve even the most challenging problems. Along the way, we’ll also learn to build fault-tolerant applications, recover from failures, use back-pressure to deal with limited system resources, and many more useful techniques.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy