Registry in Elixir 1.4
adam mokan

Hey! This was pretty useful, I’ve just started playing around with the Registry and this confirmed a bunch of thoughts. I have some questions, though:

  1. What’s the benefit of starting the Registry process as a supervisor vs a worker ?
  2. What benefits do we get from the via tuple? I saw the pattern in a blog entry that talked about gproc but I couldn’t find a reason / source for it.
  3. Why do we give the via tuple as the name? This might be something you answer as part of 2, but just in case you don’t…


Show your support

Clapping shows how much you appreciated Trevoke’s story.