Shared memory based monitoring for application servers
First Claim
Patent Images
1. A method, comprising:
- launching with a control unit of an application server (“
AS”
) instance at least two worker nodes within the AS instance, each of the launched worker nodes including a native wrapper providing a runtime environment, wherein each of the native wrappers includes one or more status information generators including a virtual machine (“
VM”
) monitor;
for each of the at least two worker nodes,establishing in the runtime environment provided by the native wrapper of the worker node a respective Java virtual machine (“
JVM”
), wherein each of the one or more status information generators of the native wrapper is a native code component of the native wrapper external to the JVM,each of the one or more status information generators of the worker node registering a slot in a different respective topic buffer of a plurality of topic buffers in a shared monitoring memory of the AS instance, wherein each of the topic buffers is assigned to storing status information of a particular type, and wherein each of the at least two worker nodes, the control unit and a network interface of the AS instance can access the shared monitoring memory with a function call of the shared memory API,processing by the JVM a work request received by the AS instance, andduring the processing the work request, the one or more status information generators calling a function of a shared memory application programming interface (“
API”
), wherein the function stores in one of the registered slots of the shared monitoring memory information describing an operational status of the worker node;
the network interface of the AS instance retrieving via the shared memory API information stored in the shared monitoring memory by the status information generators of the at least two worker nodes; and
the network interface of the AS instance transmitting the retrieved information for display by a management console.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method to monitor application servers using shared monitoring memory. An application server includes worker nodes having Java virtual machines to process work requests received by the application server. Status information is generated for each of the worker nodes while processing the work requests. The status information for each of the worker nodes is then stored into the shared monitoring memory while the worker nodes operate.
35 Citations
13 Claims
-
1. A method, comprising:
-
launching with a control unit of an application server (“
AS”
) instance at least two worker nodes within the AS instance, each of the launched worker nodes including a native wrapper providing a runtime environment, wherein each of the native wrappers includes one or more status information generators including a virtual machine (“
VM”
) monitor;for each of the at least two worker nodes, establishing in the runtime environment provided by the native wrapper of the worker node a respective Java virtual machine (“
JVM”
), wherein each of the one or more status information generators of the native wrapper is a native code component of the native wrapper external to the JVM,each of the one or more status information generators of the worker node registering a slot in a different respective topic buffer of a plurality of topic buffers in a shared monitoring memory of the AS instance, wherein each of the topic buffers is assigned to storing status information of a particular type, and wherein each of the at least two worker nodes, the control unit and a network interface of the AS instance can access the shared monitoring memory with a function call of the shared memory API, processing by the JVM a work request received by the AS instance, and during the processing the work request, the one or more status information generators calling a function of a shared memory application programming interface (“
API”
), wherein the function stores in one of the registered slots of the shared monitoring memory information describing an operational status of the worker node;the network interface of the AS instance retrieving via the shared memory API information stored in the shared monitoring memory by the status information generators of the at least two worker nodes; and the network interface of the AS instance transmitting the retrieved information for display by a management console. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A machine-accessible storage medium that provides instructions that, if executed by a machine, will cause the machine to perform operations comprising:
-
launching with a control unit of an application server (“
AS”
) instance at least two worker nodes within the AS instance, each of the launched worker nodes including a native wrapper providing a runtime environment, wherein each of the native wrappers includes one or more status information generators including a virtual machine (“
VM”
) monitor;for each of the at least two worker nodes, establishing in the runtime environment provided by the native wrapper of the worker node a respective Java virtual machine (“
JVM”
), wherein each of the one or more status information generators of the native wrapper is a native code component of the native wrapper external to the JVM,each of the one or more status information generators of the worker node registering a slot in a different respective topic buffer of a plurality of topic buffers in a shared monitoring memory of the AS instance, wherein each of the topic buffers is assigned to storing status information of a particular type, and wherein each of the at least two worker nodes, the control unit and a network interface of the AS instance can access the shared monitoring memory with a function call of the shared memory API, processing by the JVM a work request received by the AS instance, and during the processing the work request, the one or more status information generators calling a function of a shared memory application programming interface (“
API”
), wherein the function stores in one of the registered slots of the shared monitoring memory information describing an operational status of the worker node;the network interface of the AS instance retrieving via the shared memory API information stored in the shared monitoring memory by the status information generators of the at least two worker nodes; and the network interface of the AS instance transmitting the retrieved information for display by a management console. - View Dependent Claims (7, 8, 9)
-
-
10. A system, comprising:
-
a server node to execute an application server (“
AS”
) instance, the AS instance including logic executable by a processor of the server node to;launch with a control unit of an application server (“
AS”
) instance at least two worker nodes within the AS instance, each of the launched worker nodes including a native wrapper providing a runtime environment, wherein each of the native wrappers includes one or more status information generators including a virtual machine (“
VM”
) monitor;for each of the at least two worker nodes, establish in the runtime environment provided by the native wrapper of the worker node a respective Java virtual machine (“
JVM”
), wherein each of the one or more status information generators of the native wrapper is a native code component of the native wrapper external to the JVM,register, by each of the one or more status information generators of the worker node, a slot in a different respective topic buffer of a plurality of topic buffers in a shared monitoring memory of the AS instance, wherein each of the topic buffers is assigned to storing status information of a particular type, and wherein each of the at least two worker nodes, the control unit and a network interface of the AS instance can access the shared monitoring memory with a function call of the shared memory API, process with the JVM a work request received by the AS instance, and during the processing the work request, call with the one or more status information generators a function of a shared memory application programming interface (“
API”
), wherein the function stores in one of the registered slots of the shared monitoring memory information describing an operational status of the worker node;retrieve by the network interface of the AS instance information stored in the shared monitoring memory by the status information generators of the at least two worker nodes, the retrieving via the shared memory API; and transmitting the information retrieved by the network interface of the AS instance for display by a management console. - View Dependent Claims (11, 12, 13)
-
Specification