Configuring Applications to Start Supervisors

Let's discuss the role of the GenServers in our Mastery project.

Building our supervisor and start links

Now that we’ve established some groundwork in vocabulary and we’ve seen how linked processes work, we should make a plan for what to do with Mastery. Before building out the different supervisors and start links, we need to look at our architecture and think logically about the lifecycles.

The role of our GenServers

We have two kinds of GenServers. We will have exactly one of these servers created per user:

  • QuizManager

  • QuizSession

Get hands-on with 1400+ tech skills courses.