logoalt Hacker News

Muromeclast Sunday at 11:31 AM1 replyview on HN

returning HTTP 500 as early as possible is an example of "let it crash" approach outside of Erlang.


Replies

dns_sneklast Sunday at 9:07 PM

That's not what "let it crash" is about. Letting something crash in Erlang means that a process (actor) is allowed to crash, but then it gets restarted to try again, which would resolve the situation in case of transient errors.

The equivalent of "let it crash" outside of Erlang is a mountain of try-catch statements and hand-rolled retry wrappers with time delays, with none of the observability and tooling that you get in Erlang.