Subscribe for only $15 to access all of our content

#109: DynamicSupervisor and Registry

For this episode, let’s update our application to use a different process for each shopping cart. Instead of starting up a single CartAgent process here when our application starts, we’ll start them dynamically as users add items to their shopping carts.

In order to start children processes dynamically we’ll need to use the DynamicSupervisor behavior and Elixir’s Registry to…

Join to Subscribe

More Episodes

#110: Job Processing with Oban

Oban is a job processing library that uses Postgres. In this episode we’ll add Oban to an existing Elixir project and use it to move some work to the background.

Watch episode
Alchemist's Edition

#108: Shopping Cart Part 2

In part 2 of this series we’ll add to our existing shopping cart by allowing users to remove items from their existing carts.

Watch episode
Alchemist's Edition

#107: Shopping Cart Part 1

There are many ready-made ecommerce solutions, but sometimes you need to write your own. In this episode we’ll start building custom shopping cart functionality into an existing application with OTP.

Watch episode