Follow

Today I learned about the GenServers and DynamicSupervisor in . The idea is to basically spin up new process for every user or request (whichever makes sense) and then supervise it using the Supervisor.

DynamicSupervisor just spins up a supervisor process without any child. You can spin new children by passing the child_spec to the start_child function.

· · Web · 1 · 0 · 0

I'm a bit confused now because I gave a constant id parameter to all the child_spec and it still worked. Is it just ignored for DynamicSupervisors?

Sign in to participate in the conversation
Args

Args is an open microblogging platform for my family and close friends to interact with the Fediverse.