Re:Onboarding to Elixir
by lolinder on Tuesday June 22, 2021 @10:11AM
(#27591829)
Yes, Kubernetes/ECS/whatever solve similar resiliency problems, but that also means that Erlang's supervision trees could be used as a substitute for Kubernetes in many cases. Having your language runtime take care of what would otherwise involve a lot of external configuration is a plus for many people.
[ Parent
| on HN ]
> Erlang's supervision trees could be used as a substitute for Kubernetes in many cases
I disagree, do they solve the same kind of problem? Yes. But the same problems? No.
If part of your application needs to be restarted, why would you restart the whole application?
Kubernetes is not an excuse to avoid application resiliency. Erlang/Elixir is not an excuse to avoid infrastructure resiliency.
Part of your program may crash, your node may crash. Both needs to be restarted.
Re:Onboarding to Elixir
by weatherlight on Tuesday June 22, 2021 @04:31PM
(#27596796)
Everytime, anyone on the internet compares the BEAM/OTP to K8s, i need you to pop out of the bushes and say this. Thank you :)
Re:Onboarding to Elixir
by wolf4earth on Tuesday June 22, 2021 @12:11PM
(#27593498)
I wonder how Kubernetes would look like if it was built on top of the BEAM.
I think Amy null is working on that. I got a taste of it since I wrote a vm orchestrator in elixir...
It should definitely be possible. With protocols and behaviours it should be easy to build plugins that "just work".
Re:Onboarding to Elixir
by bostonvaulter2 on Tuesday June 22, 2021 @03:11PM
(#27595841)
Is that project posted anywhere? Or is there a way to follow its development?
https://github.com/queer/mahou
There's a discord server, and a video about it too.
Re:Onboarding to Elixir
by bostonvaulter2 on Tuesday June 22, 2021 @03:46PM
(#27596273)
Ah, perfect. Thanks for the link!
But for people trying to sell enterprise consulting services, relying on Erlang is not that easy --although it can be done, been there!
Which goes on to say that there is no silver bullet but there is strength in using Kubernetes, it's kind of a lingua franca.