http://land.overops.com/java-application-errors/
I have downloaded the interesting free PDF. In a nutshell:
NullPointerException are the most common type of exception - followed by NumberFormatException (IMHO both can be avoided by better checks of input data/parameters and configuration: the external world is your enemy, never trust it)
Pareto Law: 97% of error logs are caused by just 3% unique errors
Read Joshua Bloch "Effective Java 2nd Edition" on how to handle exceptions
Logging errors is expensive in term of disk space... it's cheaper to fix them than to ignore them!
Operational noise is a killer: make sure your logs are clean, and your exception contain all the context information necessary to troubleshoot them
Saturday, July 1, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment