System and method for adaptively integrating a database state notification service with a distributed transactional middleware machine
First Claim
1. A method for handling various database state notifications in a transactional middleware machine environment, the method comprising:
- connecting a plurality of transaction servers to a database service, wherein the database service is associated with a notification service;
providing an application notification server;
storing database service state information in a database state table in a shared memory using the application notification server;
receiving, with the application notification server, a plurality of events from the notification service, wherein said plurality of events indicate one or more state changes in the database service;
wherein said plurality of events comprise a plurality of high availability (HA) events, each of which indicates an up/down for at least one of a service, an instance, and a host node associated with the database service;
making a plurality of modifications to said database service state information stored in said state table using the application notification server in response to said plurality of events from the notification service;
polling said database service state information stored in said database state table using said plurality of transaction servers; and
adaptively responding, with said plurality of transaction servers, to the plurality of modifications to said database state information stored in said database state table;
wherein said adaptively responding comprises rapid failure detection by said plurality of transaction servers in response to modifications to said database state information made in response to the plurality HA events which indicate a down without testing database connections, and removing one or more invalid database connections from said plurality of transaction servers to said database service and creating one or more valid database connections thereby supporting fast connection failover.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can handle various database state notifications in a transactional middleware machine environment. The system can connect one or more transaction servers to a database service, wherein the database service is associated with a notification service. Furthermore, a notification service client that is associated with said one or more transaction servers can receive one or more events from the notification service, wherein said one or more events indicates one or more state changes in the database service. Then, one or more transaction servers operate to adaptively respond to the one or more state changes in the database service.
57 Citations
20 Claims
-
1. A method for handling various database state notifications in a transactional middleware machine environment, the method comprising:
-
connecting a plurality of transaction servers to a database service, wherein the database service is associated with a notification service; providing an application notification server; storing database service state information in a database state table in a shared memory using the application notification server; receiving, with the application notification server, a plurality of events from the notification service, wherein said plurality of events indicate one or more state changes in the database service; wherein said plurality of events comprise a plurality of high availability (HA) events, each of which indicates an up/down for at least one of a service, an instance, and a host node associated with the database service; making a plurality of modifications to said database service state information stored in said state table using the application notification server in response to said plurality of events from the notification service; polling said database service state information stored in said database state table using said plurality of transaction servers; and adaptively responding, with said plurality of transaction servers, to the plurality of modifications to said database state information stored in said database state table; wherein said adaptively responding comprises rapid failure detection by said plurality of transaction servers in response to modifications to said database state information made in response to the plurality HA events which indicate a down without testing database connections, and removing one or more invalid database connections from said plurality of transaction servers to said database service and creating one or more valid database connections thereby supporting fast connection failover. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for handling various database state notifications in a transactional middleware machine environment, comprising:
-
a plurality of transaction servers each comprising a microprocessor and a memory, wherein the plurality of transaction servers are connected to a database service, wherein the database service is associated with a notification service; an application notification server comprising a microprocessor and a memory; wherein the application notification server is configured to store database service state information in a database state table in a shared memory; wherein the application notification server is configured to receive a plurality of events from the notification service, wherein each of said plurality of events indicates one or more state changes in the database service; wherein said plurality of events comprise a plurality of high availability (HA) events, each of which indicates an up/down for at least one of a service, an instance, and a host node associated with the database service; wherein the application notification server is configured to make a plurality of modifications to said database service state information stored in said state table in response to said plurality of events received from the notification service; wherein the plurality of transaction servers are configured to poll said database service state information stored in said database state table; and wherein the plurality of transaction servers are configured to adaptively respond to the plurality of modifications to said database state information stored in said database state table; wherein the plurality of transaction servers are configured to adaptively respond to the modifications to said database state information made in response to the plurality HA events which indicate a down without testing database connections, and support fast connection failover by removing one or more invalid database connections to said database service and creating one or more valid database connections to said database service. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory machine readable storage medium having instructions stored thereon for handling various database state notifications in a transactional middleware machine environment, which instructions, when executed, cause a system to perform steps comprising:
-
connecting a plurality of transaction servers to a database service, wherein the database service is associated with a notification service; providing an application notification server; storing database service state information in a database state table in a shared memory using the application notification server; receiving, with the application notification server, a plurality of events from the notification service, wherein each of said plurality of events indicate one or more state changes in the database service; wherein said plurality of events comprise a plurality of high availability (HA) events, each of which indicates an up/down for at least one of a service, an instance, and a host node associated with the database service; making a plurality of modifications to said database service state information stored in said state table using the application notification server in response to said plurality of events from the notification service; polling said database service state information stored in said database state table using said plurality of transaction servers; and adaptively responding, with said plurality of transaction servers, to the plurality of modifications to said database state information stored in said database state table; wherein said adaptively responding comprises rapid failure detection in response to modifications to said database state information made in response to the plurality HA events which indicate a down without testing database connections, and removing one or more invalid database connections from said plurality of transaction servers to said database service and creating one or more valid database connections thereby supporting fast connection failover. - View Dependent Claims (17, 18, 19, 20)
-
Specification