Design your program to be monitored
Putting hocks in your program so that it can be easily monitored can greatly increase your confidence of the health of your system.
Three questions are to be answered at any time while the software is live:
- Is there a problem?
- Where's the problem?
- What's the problem?
After fixes have been done, you and your team should of course ask:
- Why did the problem occur?
- How can we prevent it next time?