Autonomic caching for in memory data grid query processing
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
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.
15 Citations
15 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5)
-
-
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. - View Dependent Claims (7, 8, 9, 10)
-
-
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. - View Dependent Claims (12, 13, 14, 15)
-
Specification