3 ms·
> - (Elixir-specific) A lot of tools around fault tolerance and supervision trees. You can have static hierarchies and you can have dynamic ones (spawn children
by Jtsummers 4y ago
> - (Elixir-specific) A lot of tools around fault tolerance and supervision trees. You can have static hierarchies and you can have dynamic ones (spawn children, have them do work, have them shut down). You can register green threads by name and enforce limits on how many of them are around, you can also load-balance work between several nodes.
Maybe Elixir adds some tooling, but supervision trees comes from its Erlang/OTP heritage.
- pdimitar 4y agoI know that OTP is the primitive below but Elixir adds many interesting and useful tools on top e.g. DynamicSupervisor and even a partitioned supervisor (executing tasks among several nodes). It basically makes OTP even better by building several useful and often needed real-world tools on top of it.