×

System and method for adaptively integrating a database state notification service with a distributed transactional middleware machine

  • US 9,569,224 B2
  • Filed: 01/22/2015
  • Issued: 02/14/2017
  • Est. Priority Date: 05/06/2014
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×