Application health checks
First Claim
1. A method in a computing device with a processor for determining whether application components are healthy based on formulating a complete address of test points of application components, the method comprising:
- determining from each application component a relative address of a test point for that application component, the relative address being an address that is relative to the actual address at which the application component is deployed, the test point for an executing instance of an application component providing a way for determining whether that executing instance of the application program is healthy;
determining from an abstract configuration of a system the machines on which the application components are to be deployed within the system, the abstract configuration specifying addresses of machines and locations within the machines where each application component is to be deployed, the address of a machine and the location within the machine where the application component is to be deployed forming an actual address of where the application component is deployed;
for each executing instance of each application component, formulating by the processor a complete address of the test point for that executing instance of that application component from the relative address of the test point for that application component and the actual address of where the application component is deployed; and
probing each of the test points of the executing instances of the application components to determine the health of the application components byretrieving contents of the test point using the formulated complete address for the executing instance of the application component, the contents of the test point being a performance counter that is incremented by the application component as part of its normal execution;
checking the contents of the test point to determine whether the executing instance of the application component is healthy based on whether the performance counter has been incremented by the application component as part of its normal execution; and
when it is determined that executing instance of the application component is not healthy, notifying a user that the executing instance of the application component is not healthy.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for determining a complete address of a test point of an application from a relative address of the test point and a configuration of a system are provided. An application component that defines the application includes a relative address of the test point. An abstract configuration of a system specifies a location where an instance of the application is to be deployed within the system. The complete address of the test point is then formulated using the relative address of the test point and the indication of the location where an instance of the application is to be deployed within the system. The complete address of the test point can then be used to perform a health check of the instance of the application.
-
Citations
17 Claims
-
1. A method in a computing device with a processor for determining whether application components are healthy based on formulating a complete address of test points of application components, the method comprising:
-
determining from each application component a relative address of a test point for that application component, the relative address being an address that is relative to the actual address at which the application component is deployed, the test point for an executing instance of an application component providing a way for determining whether that executing instance of the application program is healthy; determining from an abstract configuration of a system the machines on which the application components are to be deployed within the system, the abstract configuration specifying addresses of machines and locations within the machines where each application component is to be deployed, the address of a machine and the location within the machine where the application component is to be deployed forming an actual address of where the application component is deployed; for each executing instance of each application component, formulating by the processor a complete address of the test point for that executing instance of that application component from the relative address of the test point for that application component and the actual address of where the application component is deployed; and probing each of the test points of the executing instances of the application components to determine the health of the application components by retrieving contents of the test point using the formulated complete address for the executing instance of the application component, the contents of the test point being a performance counter that is incremented by the application component as part of its normal execution; checking the contents of the test point to determine whether the executing instance of the application component is healthy based on whether the performance counter has been incremented by the application component as part of its normal execution; and when it is determined that executing instance of the application component is not healthy, notifying a user that the executing instance of the application component is not healthy. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computing device for specifying a complete address of a test point, the system comprising:
-
a memory storing computer-executable instructions that implement; an application component that defines an application entity, the application component comprising an indication of a relative address of a test point for determining the health of an instance of the application entity; an abstract configuration of a system, the abstract configuration specifies at least one machine on which to deploy the application component; a component that formulates a complete address for the test point from the relative address of the test point and the specification of the at least one machine on which to deploy the application component as indicated by an actual address of the machine; and a component that probes the test point to determine the health of the application entity by retrieving contents of the test point using the formulated complete address; checking the retrieved contents of the test point to determine whether the application entity is healthy; and when it is determined that the application entity is not healthy, notifying a user that the application entity is not healthy; a processor for executing the computer-executable instructions stored in the memory. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method in a computing system with a processor for performing a health check of an application, the method comprising:
-
determining a relative address of a test point of an application from an application component that defines the application; determining from an abstract configuration of a system a location where an instance of the application is to be deployed; formulating by the processor a complete address of the test point from the relative address of the test point and the location where an instance of the application is to be deployed as indicated by an actual address of the location; probing the test point using the complete address of the test point to determine the health of the application based on checking contents retrieved from the test point; and when it is determined that the application is not healthy, notifying a user that the application is not healthy. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification