2 ms·
returning HTTP 500 as early as possible is an example of "let it crash" approach outside of Erlang.
by Muromec 1y ago
returning HTTP 500 as early as possible is an example of "let it crash" approach outside of Erlang.
- dns_snek 1y agoThat'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.