[erlang-questions] Poll: How do you handle spurious messages?
Wed Aug 6 16:55:26 CEST 2014
I'm interested in how you deal with spurious messages to your servers i.e.
... your important messages here ...
Any -> ??? % we don't want crud to acrete in the mailbox
Or in gen_server speak: what goes into your catchall
handle_info(_Info, State) -> ???
1. log the messages
1a.) as info
1b.) as warning
1c.) as error
2. count them e.g. with folsom or similar -> then what do you do with
3. Ignore them without trace?
4. Crash the server (gasp)?
Did I forget something?
More information about the erlang-questions