IP Library Granted Patent US 9,665,391
Granted Patent B2
US 9,665,391 · App. 13/473,782 · Granted May 30, 2017

Automated transaction tuning in application servers

Inventors: Rudranil Das Gupta (Kolkata, IN); Kaushik Lahiri (Kolkata, IN)
Assignee: International Business Machines Corporation
G06F9/466H04L67/325
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,665,391
App. No.
13/473,782
Granted
May 30, 2017
Kind
B2
Abstract

The transaction timeout values for applications deployed in an enterprise application server are dynamically adjusted for each application request made by each of multiple applications. Transaction timeout values are dynamically determined based upon known load and status of database and enterprise network connection conditions and historical data related to the application database requests. Time increments are appended to timeout values as needed and when a transaction timeout event occurs.

Claims (56)

1. A method for automatically tuning transaction timeout values in an application server, the method comprising:

determining an initial transaction timeout value for return of an enterprise application request based upon known load and status of database and network connection conditions used to respond to the enterprise application request;

determining a new transaction timeout value for said transaction timeout value of said transaction request based upon network characteristics, database characteristics and queue characteristics;

determining that a first instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the first instance, determining that the timeouts are due to a database issue: and

responsive to the determination that the timeouts giving rise to the first instance are due to a database issue, applying a database related timeout adjustment algorithm.

2. The method claim 1 wherein the application of the database related timeout adjustment program includes:

collecting a plurality of queries executed within a current transaction;

for each query of the plurality of queries, analyzing and executing the query to determine a maximum time taken value; and

setting the database related timeout to the maximum time taken value.

3. The method of claim 2 further comprising:

determining that a second instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the second instance, determining that the timeouts are due to a network issue: and

responsive to the determination that the timeouts are due to a network issue, notifying a network administrator.

4. The method of claim 1 further comprising:

determining that a second instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the second instance, determining that the timeouts giving rise to the second instance are due to a network issue; and

responsive to the determination that the timeouts are due to a network issue, notifying a network administrator.

5. A computer program product for automatically tuning transaction timeout values in an application server, the computer program product comprising:

a machine readable storage device; and

computer code stored on the machine readable storage device, with the computer code including instructions for causing a processor set to perform operations including the following:

determining an initial transaction timeout value for return of an enterprise application request based upon known load and status of database and network connection conditions used to respond to the enterprise application request,

determining a new transaction timeout value for said transaction timeout value of said transaction request based upon network characteristics, database characteristics and queue characteristics,

determining that a first instance of a number of timeouts has exceeded a predetermined threshold,

responsive to the determination of the first instance, determining that the timeouts are due to a database issue, and

responsive to the determination that the timeouts giving rise to the first instance are due to a database issue, applying a database related timeout adjustment algorithm.

6. The computer program product of claim 5 wherein the application of the database related timeout adjustment program includes:

collecting a plurality of queries executed within a current transaction;

for each query of the plurality of queries, analyzing and executing the query to determine a maximum time taken value; and

setting the database related timeout to the maximum time taken value.

7. The computer program product of claim 6 wherein the computer code further includes instructions for causing the processor set to perform the following operations:

determining that a second instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the second instance, determining that the timeouts are due to a network issue; and

responsive to the determination that the timeouts are due to a network issue, notifying a network administrator.

8. The computer program product of claim 5 wherein the computer code further includes instructions for causing the processor set to perform the following operations:

determining that a second instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the second instance, determining that the timeouts giving rise to the second instance are due to a network issue; and

responsive to the determination that the timeouts are due to a network issue, notifying a network administrator.

9. A computer system for automatically tuning transaction timeout values in an application server, the computer system comprising:

a processor set; a machine readable storage device; and computer code stored on the machine readable storage device, with the computer code including instructions for causing the processor set to perform operations including the following:

determining an initial transaction timeout value for return of an enterprise application request based upon known load and status of database and network connection conditions used to respond to the enterprise application request,

determining a new transaction timeout value for said transaction timeout value of said transaction request based upon network characteristics, database characteristics and queue characteristics,

determining that a first instance of a number of timeouts has exceeded a predetermined threshold, responsive to the determination of the first instance, determining that the timeouts are due to a database issue, and

responsive to the determination that the timeouts giving rise to the first instance are due to a database issue, applying a database related timeout adjustment algorithm.

10. The computer system of claim 9 wherein the application of the database related timeout adjustment program includes:

collecting a plurality of queries executed within a current transaction;

for each query of the plurality of queries, analyzing and executing the query to determine a maximum time taken value; and

setting the database related timeout to the maximum time taken value.

11. The computer system of claim 10 the computer code further includes instructions for causing the processor set to perform the following operations:

determining that a second instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the second instance, determining that the timeouts are due to a network issue; and

responsive to the determination that the timeouts are due to a network issue, notifying a network administrator.

12. The computer system of claim 9 the computer code further includes instructions for causing the processor set to perform the following operations:

determining that a second instance of a number of timeouts has exceeded a predetermined threshold;

responsive to the determination of the second instance, determining that the timeouts giving rise to the second instance are due to a network issue; and

responsive to the determination that the timeouts are due to a network issue, notifying a network administrator.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 15, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: AIRBNB, INC.
Reel/Frame 056427/0193 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 17, 2012
From: DAS GUPTA, RUDRANIL; LAHIRI, KAUSHIK
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 028224/0909 →
Continuity (1)
Related Publication 20130311622A1 · Nov 21, 2013