Start-up and Shutdown
When a developer starts up an application and it bonks, the developer sees the error, kills the app, and fixes the error. When a host gets rebooted in the middle of the night and an application fails on start-up, nobody is going to know unless the application itself announces the problem. This can be as simple as an error in a log file, if a monitoring system (see Chapter 17, Transparency) is already in place. Of course, for the application to announce that it failed to start up correctly, it first has to know that it failed to start up correctly.
Build a clean start-up sequence into applications to ensure that components are started in the right order and that the start-up sequence must complete successfully before ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access