Best practices
This section describes High Availability best practices. They have been categorized into application, deployment, data management, and monitoring.
Application High Availability
An application should be built keeping High Availability as one of the important architectural concerns. Some of the important application related High Availability practices are mentioned next:
- An application should implement appropriate exception handling to gracefully recover and inform stakeholders about the issue
- An application should try to perform the same operation again in the fixed interval for a certain number of times before exiting in an event of an error or exception
- An application should have inbuilt timeout capability to decide that an exception cannot be recovered from
- Maintaining logs and writing logs for all errors, exceptions, and execution should be adopted within the application
- Applications should be profiled to find their actual resource requirements in terms of compute, memory and...