Guest User

Untitled

a guest
May 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. # Healthcheck
  2.  
  3. ## Classification of health check errors
  4.  
  5. ### Transient
  6. Temporary errors due to some networking issues or load could be handled by the module itself through retries, processing request queue, emptying connection pool
  7. and etc.
  8. As errors could lead to inconsistent state or unavailability, requests to the service should be avoided until the problem is fixed by module
  9.  
  10. Examples:
  11. A database connection is broken, a connection pool is full, message broker connection is broken for a long time
  12.  
  13. ### Manageable
  14. Some errors that are not related to infrastructure problems but happen to be a result of some implementation or configuration errors in third-party service. Still could be fixed by module through retries.
  15. As this kind of errors could impact all instances of the service it is very dangerous to avoid requests or stop service as it could lead to overall unavailability
  16.  
  17. Examples:
  18. Configuration update parsing, external service response parsing error
  19.  
  20. ### Fatal
  21. Some errors could not be fixed by module, lead to service unavailability or to unaffordable inconsistent state.
  22.  
  23. Examples:
  24. Initial state load error, connection to a database could not be established due to a configuration error, code unexpected errors
Add Comment
Please, Sign In to add comment