Advantages of built-in :alarm_handler?

Chris Keathley (@keathley), in his great talk on Building Resilient Systems, mentions the usage of :alarm_handler.

As I understand, using the already built-in :alarm_handler saves some lines of (:gen_event) code. Are there further advantages to using Erlang’s built-in :sasl? Or, reiterating an existing comment on the video, “What’s the advantage of swapping :alarm_handler instead of just calling your own module?”

2 Likes