Dynamic data batching for graph-based structures
AssigneeRed Hat, Inc.
InventorsManyanda Chitimbo, Wojciech Julian Trocki
Life of this patent
Estimating the term…
Abstract
A data query for data is received that is associated with a first data node managed by a first executable service and a second data node managed by a second executable service. The data query comprises a subquery that is directed to the second executable service for access to the second data node. From the data query, a selection set is determined. The selection set includes the first data node and the second data node. In view of the selection set, a batch access request is generated to the second executable service that retrieves data for the subquery from the second data node in a single access request.
Claims20
A method comprising:
- receiving a data query to retrieve first data associated with a first data node managed by a first executable service and to retrieve second data associated with a second data node managed by a second executable service, wherein the first executable service comprises first computer instructions to execute to retrieve the first data of the first data node in response to at least a portion of the data query, wherein the data query comprises a subquery that is directed to the second executable service for access to the second data node, wherein the second executable service comprises second computer instructions to execute to retrieve the second data of the second data node in response to the subquery, and wherein the subquery comprises a data request for the second data from the second executable service to be performed for each resulting first data from the first executable service;
- determining from the data query a selection set of the data query, the selection set comprising the first data node and the second data node;
- and
- aggregating query parameters of the data query to generate, by a processing device and in view of the selection set, a batch access request to the second executable service that retrieves data for the subquery from the second data node in a single access request.
An apparatus comprising:
- a memory;
- and
- a processing device, operatively coupled to the memory, to:
- receive a data query to retrieve first data associated with a first data node managed by a first executable service and to retrieve second data associated with a second data node managed by a second executable service, wherein the first executable service comprises first computer instructions to execute to retrieve the first data of the first data node in response to at least a portion of the data query, wherein the data query comprises a subquery that is directed to the second executable service for access to the second data node, wherein the second executable service comprises second computer instructions to execute to retrieve the second data of the second data node in response to the subquery, and wherein the subquery comprises a data request for the second data from the second executable service to be performed for each resulting first data from the first executable service;
- determine from the data query a selection set of the data query, the selection set comprising the first data node and the second data node;
- and
- aggregate query parameters of the data query to generate, in view of the selection set, a batch access request to the second executable service that retrieves data for the subquery from the second data node in a single access request.
A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
- receive a data query to retrieve first data associated with a first data node managed by a first executable service and to retrieve second data associated with a second data node managed by a second executable service, wherein the first executable service comprises first computer instructions to execute to retrieve the first data of the first data node in response to at least a portion of the data query, wherein the data query comprises a subquery that is directed to the second executable service for access to the second data node, wherein the second executable service comprises second computer instructions to execute to retrieve the second data of the second data node in response to the subquery, and wherein the subquery comprises a data request for the second data from the second executable service to be performed for each resulting first data from the first executable service;
- determine from the data query a selection set of the data query, the selection set comprising the first data node and the second data node;
- and
- aggregate query parameters of the data query to generate, by the processing device and in view of the selection set, a batch access request to the second executable service that retrieves data for the subquery from the second data node in a single access request.
Dependencies are inferred from the claim text.