IP Library Granted Patent US 11,061,894
Granted Patent B2
US 11,061,894 · App. 16/176,992 · Granted Jul 13, 2021

Early detection and warning for system bottlenecks in an on-demand environment

Inventors: Pratheesh Ezhapilly Chennen (Union City, CA); Vishwajit Kumar (Fremont, CA); Siddharth Samant (Fremont, CA)
Assignee: salesforce.com, inc.
G06F16/2453G06F11/3055G06F11/327G06F11/3423G06F16/252G06K9/6267
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,061,894
App. No.
16/176,992
Granted
Jul 13, 2021
Kind
B2
Abstract

In accordance with embodiments, there are provided mechanisms and methods for facilitating early detection and warning for system bottlenecks in an on-demand services environment according to one embodiment. In one embodiment and by way of example, a method includes detecting waits during processing of a query within a processing pipeline, wherein the waits include one or more of application-specific waits and database-specific waits; diagnosing the waits to identify a wait that has turned into a bottleneck; classifying one or more types of issues causing the wait to turn into the bottleneck; generating an alert having associated information detailing the issues based on the one or more types and a location of the wait within the processing pipeline; and transmitting the alert to facilitate correction activities.

Claims (46)

1. A computer-implemented method comprising:

detecting waits during processing of a query within a processing pipeline, wherein the waits include one or more of application-specific waits and database-specific waits;

gathering one or more of 1) application metrics relating to one or more applications associated with the application-specific waits, and 2) database metrics relating to one or more databases associated with the database-specific waits;

diagnosing the waits to identify a wait that has turned into a bottleneck;

classifying one or more types of issues causing the wait to turn into the bottleneck; and

generating an alert having associated information detailing the issues based on the one or more types and a location of the wait within the processing pipeline; and

transmitting the alert to facilitate correction activities.

2. The method of claim 1 , further comprising gathering one or more of application metrics and database metrics, wherein the application metrics include processing data relating to one or more applications associated with the application-specific waits, and wherein the database metrics include processing data relating to one or more databases associated with the database-specific waits.

3. The method of claim 1 , further comprising detecting correlation between the application metrics and the database metrics,

wherein an application metric correlating with a database metric indicates the bottleneck is caused by a database-specific wait, and

wherein an absence of the correlation between the application metrics and the database metrics indicates the bottleneck is not caused by the database-specific waits.

4. The method of claim 3 , wherein the one or more types of issues are classified, and the alert is generated and transmitted if the bottleneck is caused by the database-specific wait, and

wherein the one or more types of issues are not classified, and the alert is not generated or transmitted if the bottleneck is not caused by the database-specific waits.

5. The method of claim 1 , wherein classifying further includes obtaining background data relating to the bottleneck and a database associated with the bottleneck, wherein the information associated with the alert further includes the background data, wherein the query includes one or more of a query request and a query response, wherein the query response is generated in response to the query request.

6. The method of claim 1 , wherein the alert is transmitted to a computing device offering access to the alert via a user interface including one or more of a graphical user interface (GUI), a web browser, and an application-based interface, and an application programming interface (API).

7. A database system comprising:

a server computing device having a processing device and memory having instructions, the processing device to execute the instructions to perform operations comprising:

detecting waits during processing of a query within a processing pipeline, wherein the waits include one or more of application-specific waits and database-specific waits;

gathering one or more of 1) application metrics relating to one or more applications associated with the application-specific waits, and 2) database metrics relating to one or more databases associated with the database-specific waits;

diagnosing the waits to identify a wait that has turned into a bottleneck;

classifying one or more types of issues causing the wait to turn into the bottleneck; and

generating an alert having associated information detailing the issues based on the one or more types and a location of the wait within the processing pipeline; and

transmitting the alert to facilitate correction activities.

8. The system of claim 7 , wherein the operations further comprise gathering one or more of application metrics and database metrics, wherein the application metrics include processing data relating to one or more applications associated with the application-specific waits, and wherein the database metrics include processing data relating to one or more databases associated with the database-specific waits.

9. The system of claim 7 , wherein the operations further comprise detecting correlation between the application metrics and the database metrics,

wherein an application metric correlating with a database metric indicates the bottleneck is caused by a database-specific wait, and

wherein an absence of the correlation between the application metrics and the database metrics indicates the bottleneck is not caused by the database-specific waits.

10. The system of claim 9 , wherein the one or more types of issues are classified, and the alert is generated and transmitted if the bottleneck is caused by the database-specific wait, and

wherein the one or more types of issues are not classified, and the alert is not generated or transmitted if the bottleneck is not caused by the database-specific waits.

11. The system of claim 7 , wherein classifying further includes obtaining background data relating to the bottleneck and a database associated with the bottleneck, wherein the information associated with the alert further includes the background data, wherein the query includes one or more of a query request and a query response, wherein the query response is generated in response to the query request.

12. The system of claim 7 , wherein the alert is transmitted to a computing device offering access to the alert via a user interface including one or more of a graphical user interface (GUI), a web browser, and an application-based interface, and an application programming interface (API).

13. A computer-readable medium having stored thereon instructions which, when executed, cause a computing device to perform operations comprising:

detecting waits during processing of a query within a processing pipeline, wherein the waits include one or more of application-specific waits and database-specific waits;

gathering one or more of 1) application metrics relating to one or more applications associated with the application-specific waits, and 2) database metrics relating to one or more databases associated with the database-specific waits;

diagnosing the waits to identify a wait that has turned into a bottleneck;

classifying one or more types of issues causing the wait to turn into the bottleneck; and

generating an alert having associated information detailing the issues based on the one or more types and a location of the wait within the processing pipeline; and

transmitting the alert to facilitate correction activities.

14. The computer-readable medium of claim 13 , wherein the operations further comprise gathering one or more of application metrics and database metrics, wherein the application metrics include processing data relating to one or more applications associated with the application-specific waits, and wherein the database metrics include processing data relating to one or more databases associated with the database-specific waits.

15. The computer-readable medium of claim 13 , wherein the operations further comprise detecting correlation between the application metrics and the database metrics,

wherein an application metric correlating with a database metric indicates the bottleneck is caused by a database-specific wait, and

wherein an absence of the correlation between the application metrics and the database metrics indicates the bottleneck is not caused by the database-specific waits.

16. The computer-readable medium of claim 15 , wherein the one or more types of issues are classified, and the alert is generated and transmitted if the bottleneck is caused by the database-specific wait, and

wherein the one or more types of issues are not classified, and the alert is not generated or transmitted if the bottleneck is not caused by the database-specific waits.

17. The computer-readable medium of claim 13 , wherein classifying further includes obtaining background data relating to the bottleneck and a database associated with the bottleneck, wherein the information associated with the alert further includes the background data, wherein the query includes one or more of a query request and a query response, wherein the query response is generated in response to the query request.

18. The computer-readable medium of claim 13 , wherein the alert is transmitted to a computing device offering access to the alert via a user interface including one or more of a graphical user interface (GUI), a web browser, and an application-based interface, and an application programming interface (API).

Assignments (2)
CHANGE OF NAME Recorded Dec 18, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069717/0383 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2018
From: CHENNEN, PRATHEESH EZHAPILLY; KUMAR, VISHWAJIT; SAMANT, SIDDHARTH
To: SALESFORCE.COM, INC.
Reel/Frame 047639/0731 →
Continuity (1)
Related Publication 20200134069A1 · Apr 30, 2020