2. The method of claim 1 , wherein the request for the primary query is received in a proxy to the IMDG that provides caching of query results in order to satisfy received query requests.
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.