A day for reading and playing with Dave’s code.
I’ll be keeping the duper
source around for future reference to starting multiple servers.
Map.update/4
is something I wish I’d had in Python.A DynamicSupervisor starts an arbitrary number of workers at runtime.
When using DynamicSupervisor, you cannot name the children in the
start_link
function because the same module is run in multiple child servers.When initializing a server, don’t interact with anything that uses the server.
Each GenServer call or cast function has a default timeout of five (5) seconds.
All notes and comments are my own opinion. Follow me at @rgacote@genserver.social