Using Names to Find Services

Let's learn how to name and access the process of our quiz.

When we have names in a concurrent system, handling failure is referencing our services by name and not pid. That’s important because, as processes fail, pids change. That means we’ll need strategies to find our process IDs by name.

Making our :via tuple

We need to implement the function to make our :via tuple and finally plug that function into our API. At the bottom of /lib/mastery/boundary/quiz_session.ex, we’ll add this function:

Get hands-on with 1200+ tech skills courses.