Don't “let it crash”, let it heal
zachdaniel.dev
Don't “let it crash”, let it heal
1–10 of 92 posts
Re: Don't “let it crash”, let it heal
#2Re: Don't “let it crash”, let it heal
#3Re: Don't “let it crash”, let it heal
#4I don't code in Erlang or Elixir, aside from messing about. But I've found that letting an entire application crash is something that I can do under certain circumstances, especially when "you have a very big problem and will not go to space today". For example, if there's an error reading some piece of data that's in the application bundle and is needed to legitimately start up in the first place (assets for my game…
Re: Don't “let it crash”, let it heal
#5The origin, as far as I know it. I think it still holds, is insightful, as a general case. Let it heal seems pretty close to what Joe was getting at.
Re: Don't “let it crash”, let it heal
#6Is this conceptually similar, but perhaps at code-level instead?
Re: Don't “let it crash”, let it heal
#7Question as a complete outsider: If I run idempotent Python applications in Kubernetes containers and they crash, Kubernetes will eventually restart them. Of course, knowing what to do on IO errors is nicer than destroying and restarting everything with a really bigger hammer (as the article also mentions, you can serve a better error message for whoever has to “deal” with the problem), but eventually they should end…
https://hexdocs.pm/elixir/1.18.4/Supervisor.html
BEAM apps run great on k8s.
Re: Don't “let it crash”, let it heal
#8Re: Don't “let it crash”, let it heal
#9Re: Don't “let it crash”, let it heal
#10Question as a complete outsider: If I run idempotent Python applications in Kubernetes containers and they crash, Kubernetes will eventually restart them. Of course, knowing what to do on IO errors is nicer than destroying and restarting everything with a really bigger hammer (as the article also mentions, you can serve a better error message for whoever has to “deal” with the problem), but eventually they should end…