US9251209B2

Autonomic caching for in memory data grid query processing

Summary by NHIP

Autonomic IMDG Query Caching

The method proactively executes sub-queries alongside primary queries within an in memory data grid. This occurs when monitored CPU, memory, or request processing capacity falls below a defined threshold, allowing the system to cache results without waiting for client requests.

Claim Score by NHIP

Read claim 1, the broadest

Abstract

A method, system and computer program product for autonomic caching in an IMDG has been provided. A method for autonomic caching in an IMDG includes receiving from a client of the IMDG a request for a primary query in the IMDG. The method also includes associating the primary query with a previously requested sub-query related to the primary query. Finally, the method includes directing the sub-query concurrently with a directing of the primary query without waiting to receive a request for the sub-query from the client. In this way, the method can proactively predict a receipt of the request for a sub-query following a request for a primary query prior the actual receipt of the request for the sub-query.

US9251209B2, drawing sheet 1
Sheet 1 of 3

Term

Projected expiry 11 June 2033.

  1. Priority and filed
  2. Granted
  3. Today
  4. Projected expiry

15 claims: 3 independent, 12 dependent

  1. 1
    Broadest claimClaim Score 52, average(NHIP)A method for autonomic caching in an in memory data grid (IMDG), the method comprising:receiving from a client of the IMDG a request for a primary query in the IMDG;monitoring resource utilization in the IMDG;associating the primary query with a previously requested sub-query related to the primary query in response to the monitored resource utilization falling below a threshold value indicating available resource utilization, wherein associating the primary query with the previously requested sub-query comprises determining that a sub-query uses a portion of a result set from a previously requested primary query and mapping the previously requested primary query to the sub-query, wherein the previously requested sub-query is associated with the primary query in reference to fields of the primary query upon which the sub-query is based;directing the sub-query concurrently with a directing of the primary query without waiting to receive a request for the sub-query from the client in response to the monitored resource utilization falling below the threshold value;and, caching query results of the sub-query subsequent to a completion of the primary query.
  2. 6
    An in memory data grid (IMDG) data processing system comprising:a host computing system comprising at least one computer with at least one processor and memory;an IMDG disposed in the host computing system;and, a proxy cache module comprising program code enabled to receive from a client of the IMDG a request for a primary query in the IMDG, to monitor resource utilization in the IMDG, to associate the primary query with a previously requested sub-query related to the primary query in response to the monitored resource utilization falling below a threshold value indicating available resource utilization, wherein associating the primary query with the previously requested sub-query comprises determining that a sub-query uses a portion of a result set from a previously requested primary query and mapping the previously requested primary query to the sub-query, wherein the previously requested sub-query is associated with the primary query in reference to fields of the primary query upon which the sub-query is based, to direct the sub-query concurrently with a directing of the primary query without waiting to receive a request for the sub-query from the client in response to the monitored resource utilization falling below the threshold value, and to cache query results of the sub-query subsequent to a completion of the primary query.
  3. 11
    A computer program product for autonomic caching in an in memory data grid (IMDG), the computer program product comprising:a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising: computer readable program code for receiving from a client of the IMDG a request for a primary query in the IMDG;computer readable program code for monitoring resource utilization in the IMDG: computer readable program code for associating the primary query with a previously requested sub-query related to the primary query in response to the monitored resource utilization falling below a threshold value indicating available resource utilization, wherein associating the primary query with the previously requested sub-query comprises determining that a sub-query uses a portion of a result set from a previously requested primary query and mapping the previously requested primary query to the sub-query, wherein the previously requested sub-query is associated with the primary query in reference to fields of the primary query upon which the sub-query is based;computer readable program code for directing the sub-query concurrently with a directing of the primary query without waiting to receive a request for the sub-query from the client in response to the monitored resource utilization falling below the threshold value;and, computer readable program code for caching query results of the sub-query subsequent to a completion of the primary query.