3 ms·
Let's see: Cowboy uses try/catch because even with supervisors, if the child crashes enough, the supervisor will eventually crash too! LYSE talks about using
by davidw 13y ago
Let's see:
Cowboy uses try/catch because even with supervisors, if the child crashes enough, the supervisor will eventually crash too! LYSE talks about using try catch in the error kernel.
> db communicators. Can't crash. Very little code without bugs. This is one kernel
DB connections most certainly can go down. I do know a thing or two about that:
http://journal.dedasys.com/2014/04/27/an-erlang-postgres-driver-refurbishing-open-source/ http://journal.dedasys.com/2014/04/27/an-erlang-postgres-dri...
In any event, I think this is an under-documented part of Erlang: how to go beyond just letting everything crash, and design the whole system.