Detecting failure

Updated: April 19, 2023

There are a number of ways to detect process failure. The overlord process can do this, or, in the case of hot or warm standby, the standby process can do this.

If you don't have the source code for the process, you must resort to either polling periodically (to see if the process is still alive), or arranging for death notification via an obituary.

If you do have the source code for the process, and are willing to modify it, you can arrange for the process to send you obituaries automatically.