Cluster communication manager
First Claim
Patent Images
1. A method of managing internal cluster communications in a cluster of application server instances, comprising:
- executing a plurality of work processes in the application server instances;
establishing internal connections for internal cluster communication between a message server and each of the plurality of work processes executing in the application server instances, wherein internal cluster communication comprises internal communications relating to at least one of events occurring in the cluster and an exchange of messages between work processes executing in the application server instances, the internal connections separate from connections for external cluster communication;
providing a message service for the internal cluster communication, the internal cluster communication including inter-application server instance communication via the message server in accordance with a connection-based message passing protocol in which an internal connection established in the message server receives a notification message for each event occurring in the cluster and sends acknowledgement messages to internal connections established in the application server instances responsive to receiving messages being exchanged between work processes executing in the application server instances, the message server being shared by the application server instances through the established internal connections for internal cluster communication between the message server and each of the plurality of work processes executing in the application server instances;
operating a cluster manager to manage the internal cluster communication in accordance with the connection-based message passing protocol, the internal cluster communication sent over the established internal connections for internal cluster communications between the message server and each of the plurality of work processes executing in the application server instances, the cluster manager;
communicating an event in the cluster to the message server using an event handler, the event handler sending a notification message of the event to the message server;
relaying the notification message of the event in the cluster to one or more of the application server instances using a notification handler, the notification handler causing a function to be performed in one or more of the application server instances responsive to receiving the notification message; and
communicating messages to be exchanged between work processes executing in the application server instances to and from the message server using a message server communication handler, the message server communication handler;
acknowledging receipt of messages received from the work processes; and
relaying messages received from an originating work process to a destination work process, including replicating a multicast message received from the originating work process for broadcast to all otherwork processes executing in the application server instances.
2 Assignments
0 Petitions
Accused Products
Abstract
A cluster manager application program library includes an event handler to communicate an event from an application server instance to which the library is linked to a message server in a cluster of application server instances. The library further includes a notification handler to receive at the application server instance a notification of an event in the cluster from the message server, and a message server communication handler to exchange messages between the application server instance and other application server instances in the cluster via the message server.
55 Citations
20 Claims
-
1. A method of managing internal cluster communications in a cluster of application server instances, comprising:
-
executing a plurality of work processes in the application server instances; establishing internal connections for internal cluster communication between a message server and each of the plurality of work processes executing in the application server instances, wherein internal cluster communication comprises internal communications relating to at least one of events occurring in the cluster and an exchange of messages between work processes executing in the application server instances, the internal connections separate from connections for external cluster communication; providing a message service for the internal cluster communication, the internal cluster communication including inter-application server instance communication via the message server in accordance with a connection-based message passing protocol in which an internal connection established in the message server receives a notification message for each event occurring in the cluster and sends acknowledgement messages to internal connections established in the application server instances responsive to receiving messages being exchanged between work processes executing in the application server instances, the message server being shared by the application server instances through the established internal connections for internal cluster communication between the message server and each of the plurality of work processes executing in the application server instances; operating a cluster manager to manage the internal cluster communication in accordance with the connection-based message passing protocol, the internal cluster communication sent over the established internal connections for internal cluster communications between the message server and each of the plurality of work processes executing in the application server instances, the cluster manager; communicating an event in the cluster to the message server using an event handler, the event handler sending a notification message of the event to the message server; relaying the notification message of the event in the cluster to one or more of the application server instances using a notification handler, the notification handler causing a function to be performed in one or more of the application server instances responsive to receiving the notification message; and communicating messages to be exchanged between work processes executing in the application server instances to and from the message server using a message server communication handler, the message server communication handler; acknowledging receipt of messages received from the work processes; and relaying messages received from an originating work process to a destination work process, including replicating a multicast message received from the originating work process for broadcast to all other work processes executing in the application server instances. - View Dependent Claims (2, 3, 4, 5, 6, 15, 16)
-
-
7. A system for managing internal cluster communications in a cluster of application server instances, the system comprising:
-
server nodes operating in a cluster of application server instances; a plurality of work processes executing in processors of the server nodes operating in the cluster of application server instances; a message server providing internal cluster communication, the internal cluster communication including inter-application server instance communication in accordance with a connection-based message passing protocol for the internal cluster communication between the message server and the server nodes operating in the cluster of application server instances in which the message server receives and relays a notification message for each event occurring in the cluster and sends acknowledgement messages responsive to receiving messages being exchanged between work processes executing in processors of the server nodes operating in the application server instances, wherein each work process executing in a processor of a server node operating in the cluster of application server instances is communicatively coupled to the message server and each other via internal connections for the internal cluster communication, the internal connections having been established between the message server and each of the plurality of work processes executing in processors of the server nodes operating in the application server instances, the internal connections having been established separate from connections for external cluster communication, and wherein the internal cluster communication comprises internal communications relating to at least one of events occurring in the cluster and an exchange of messages between work processes executing in processors of the server nodes operating in the application server instances; a cluster manager executing in processors of the server nodes operating in the cluster of application server instances, the cluster manager to manage internal cluster communications in accordance with the connection-based message passing protocol, the internal cluster communication sent over the internal connections established for internal cluster communication between the message server and each of the plurality of work processes executing in processors of the server nodes operating in the application server instances wherein, on behalf of each application server instance of the cluster of application server instances, the cluster manager operates; an event handler to communicate an event in the cluster of application server instances from the application server instance to the message server, the event handler sending a notification message of the event to the message server; a notification handler to relay the notification message of the event in the cluster from the message server to one or more of the application server instances , the notification handler to cause a function to be performed in one or more of the application server instances responsive to receiving the relayed notification message; and a message server communication handler to communicate messages to be exchanged between the work processes executing in an application server instance and other application server instances in the cluster via the message server, the message server communication handler; acknowledging receipt of messages received from the work processes; and relaying messages received from an originating work process to a destination work process, including replicating a multicast message received from the originating work process for broadcast to all other work processes executing in the application server instances. - View Dependent Claims (8, 9, 10, 17, 18)
-
-
11. An article of manufacture, comprising:
a machine readable storage medium comprising instructions, that when executed by a processor, cause the processor to; execute a plurality of work processes in application server instances in a cluster of application server instances; establish internal connections for internal cluster communication between a message server and each of the plurality of work processes executing in the application server instances, wherein internal cluster communication comprises internal communications relating to at least one of events occurring in the cluster and an exchange of messages between work processes executing in the application server instances, the internal connections separate from connections for external cluster communication; provide a message service for the internal cluster communication, the internal cluster communication including inter-application server instance communication via the message server in accordance with a connection-based message passing protocol in which an internal connection established in the message server receives a notification message for each event occurring in the cluster and sends acknowledgement messages to internal connections established in the application server instances responsive to receiving messages being exchanged between work processes executing in the application server instances, the message server being shared by the application server instances through the established internal connections for internal cluster communication between the message server and each of the plurality of work processes executing in the application server instances; manage internal cluster communication in accordance with the connection-based message passing protocol, the internal cluster communication sent over the established internal connections for internal cluster communication between the message server and each of the plurality of work processes executing in the application server instances, including causing the processor to; communicate an event from an application server instance in the cluster of application server instances to the message server, including sending a notification message of the event to the message server; relay the notification message of the event in the cluster from the message server to one or more of the application server instances and cause a function to be performed in the one or more of the application server instances responsive to receiving the relayed notification message; and communicate messages being exchanged between the work processes executing in the application server instances in the cluster via the message server, including; acknowledge receipt of messages received from the work processes; and relay messages received from an originating work process to a destination work process, including replicating a multicast message received from the originating work process for broadcast to all other work processes executing in the application server instances. - View Dependent Claims (12, 13, 14, 19, 20)
Specification