[erlang-questions] Poll: How do you handle spurious messages?

Loïc Hoguin <>
Wed Aug 6 18:07:03 CEST 2014


On 08/06/2014 04:55 PM, Peer Stritzinger wrote:
> 1. log the messages

For the few processes that can receive more than 
calls/casts/monitors/exits I want to know what's being dropped in case 
it's something important.

> 3. Ignore them without trace?

For everything else, which is the majority of the processes.

*Never* crash. Because if you do, then you can easily mess up your 
system through the shell (like using sys:get_state on a normal process, 
kaboom).

-- 
Loïc Hoguin
http://ninenines.eu



More information about the erlang-questions mailing list