IP Library Granted Patent US 11,165,857
Granted Patent B2
US 11,165,857 · App. 16/660,904 · Granted Nov 2, 2021

Connection pool anomaly detection mechanism

Inventors: Olumayokun Obembe (Concord, CA); Da Zhao (San Mateo, CA); Fabio Meireles Fernandez Valbuena (Alpharetta, GA); Ping-Hsiu Hsieh (San Francisco, CA); Xiaodan Wang (Dublin, CA); Vijayanth Devadhar (Fremont, CA); Jason Woods (Toronto, CA); Ashwini Bijwe (Hayward, CA); Yichuan Cai (Bellevue, WA); Paul E. Jatkowski (Clinton Township, MI); Kin Lun Wong (Hillsborough, CA); Sidarth Conjeevaram (San Jose, CA); Zeyu Zheng (Hayward, CA); Jae Young Park (San Francisco, CA)
Assignee: salesforce.com, inc.
H04L67/101G06F11/3006G06F16/252
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 11,165,857
App. No.
16/660,904
Granted
Nov 2, 2021
Kind
B2
Abstract

Techniques and structures to prevent exhaustion of a database connection pool, including retrieving data from the database connection pool, monitoring the data to determine whether the connection pool is at risk of an exhaustion condition, analyzing the data to determine whether one or more clients accessing the database connection pool are offenders upon determining that the connection pool is at risk and throttling access to the one or more clients accessing the database connection pool upon determining the one or more clients to be offenders.

Claims (26)

1. A method to prevent exhaustion of a database connection pool, comprising:

retrieving data from the database connection pool;

monitoring the data to determine whether the connection pool is at risk of an exhaustion condition;

analyzing the data to determine whether one or more clients accessing the database connection pool are offenders upon determining that the connection pool is at risk, wherein the database connection pool is determined to be at risk upon a determination that utilization of the database connection pool is greater than a threshold utilization value and determined to be at sustained risk upon a determination that the database connection pool has been at risk for more than a first threshold percentage of intervals;

determining that the client is a sustained offender upon a determination that the client is an offender having a utilization greater than a second threshold percentage of intervals; and

throttling access to the one or more clients accessing the database connection pool upon determining the one or more clients to be offenders.

2. The method of claim 1 , wherein the database connection pool is determined to be at intermittent risk upon a determination that the database connection pool has been at risk for more than a third threshold percentage of intervals, wherein the second threshold percentage is less than the first threshold percentage of intervals.

3. The method of claim 2 , further comprising determining that a client is an intermittent offender upon a determination that the client is an offender having a client weight greater than a predetermined threshold weight.

4. The method of claim 1 , wherein access is throttled to the one or more clients based on one or more throttling rules providing a throttle access rate limit.

5. The method of claim 4 , further comprising removing the throttle upon a determination that the connection pool is no longer at risk of the exhaustion condition.

6. A computing device comprising:

at least one physical memory device to store a connection pool manager; and

one or more processors coupled with the at least one physical memory device, the one or more processors configurable to execute the connection pool manager to retrieve data from the database connection pool, monitor the data to determine whether the connection pool is at risk of an exhaustion condition, analyze the data to determine whether one or more clients accessing the database connection pool are offenders upon determining that the connection pool is at risk and throttle access to the one or more clients accessing the database connection pool upon determining the one or more clients to be offenders and determine that the client is a sustained offender upon a determination that the client is an offender having a utilization greater than a second threshold percentage of intervals, wherein the database connection pool is determined to be at risk upon a determination that utilization of the database connection pool is greater than a threshold utilization value and determined to be at sustained risk that upon a determination that the database connection pool has been at risk for more than a first threshold percentage of intervals.

7. The computing device of claim 6 , wherein the database connection pool is determined to be at intermittent risk upon a determination that the database connection pool has been at risk for more than a third threshold percentage of intervals, wherein the third threshold percentage is less than the first threshold percentage of intervals.

8. The computing device of claim 7 , further comprising the connection pool manager determining that a client is an intermittent offender upon a determination that the client is an offender having a client weight greater than a predetermined threshold weight.

9. The computing device of claim 6 , wherein access is throttled to the one or more clients based on one or more throttling rules providing a throttle access rate limit.

10. The computing device of claim 9 , wherein the connection pool manager removes the throttle upon a determination that the connection pool is no longer at risk of the exhaustion condition.

11. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, are configurable to cause the one or more processors to:

retrieve data from the database connection pool;

monitor the data to determine whether the connection pool is at risk of an exhaustion condition;

analyze the data to determine whether one or more clients accessing the database connection pool are offenders upon determining that the connection pool is at risk, wherein the database connection pool is determined to be at risk upon a determination that utilization of the database connection pool is greater than a threshold utilization value and determined to be at sustained risk upon a determination that the database connection pool has been at risk for more than a first threshold percentage of intervals;

determine that the client is a sustained offender upon a determination that the client is an offender having a utilization greater than a second threshold percentage of intervals; and

throttle access to the one or more clients accessing the database connection pool upon determining the one or more clients to be offenders.

12. The computer-readable medium of claim 11 , wherein the access is throttled to the one or more clients based on one or more throttling rules providing a throttle access rate limit.

13. The computer-readable medium of claim 12 , having stored thereon instructions that, when executed by one or more processors, are configurable to further cause the one or more processors to remove the throttle upon a determination that the connection pool is no longer at risk of the exhaustion condition.

14. The computer-readable medium of claim 11 , wherein the database connection pool is determined to be at intermittent risk upon a determination that the database connection pool has been at risk for more than a third threshold percentage of intervals, wherein the third threshold percentage is less than the first threshold percentage of intervals.

Assignments (2)
CHANGE OF NAME Recorded Dec 18, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069717/0452 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 22, 2021
From: OBEMBE, OLUMAYOKUN; ZHAO, DA; VALBUENA, FABIO MEIRELES FERNANDEZ; HSIEH, PING-HSIU; DEVADHAR, VIJAYANTH; WANG, XIAODAN; WOODS, JASON; CAI, YICHUAN; WONG, KIN LUN; JATKOWSKI, PAUL; CONJEEVARAM, SIDARTH; ZHENG, ZEYU; PARK, JAE YOUNG; BIJWE, ASHWINI
To: SALESFORCE.COM, INC.
Reel/Frame 055352/0818 →
Continuity (1)
Related Publication 20210126964A1 · Apr 29, 2021
Cited By (2)
US 12,210,540 US 12,423,356