ElixirMix Podcast 064 - Refactoring Elixir with Hubert Lepicki Cleaning up your Elixir Code

DynamicManager on top of DynamicSupervisor

Tarearbol gets DynamicManager to ease building the collections of supervised workers with similar behaviours, e. g. watchers for different changing entities.

  • Scaffold for the supervised DynamicSupervisor
  • No code for managing processes required
  • Implementation is as easy as 4 callbacks
  • Extremely easy testing
  • Behaviour-driven consumers
  • Consistent state and callbacks on state changes (like restarting)

Implementation details and flow diagram.