Graph processing system
AssigneethatDot, Inc.
InventorRyan Wright
Life of this patent
Estimating the term…
Abstract
A graph comprising nodes and edges is stored by a distributed system as a collection of nodes and half-edges stored with their respective nodes. A message processor is associated with a node as needed to process messages passed between nodes, such that a given node has zero or one message processor assigned to it at a given time. Queries of the graph are resolved by processing a first portion of the query at a first node, and forwarding the results with the remaining portions of the query to a node linked by an edge to the present node.
Claims20
A system, comprising:
- one or more processors;
- one or more memories having stored thereon instructions that, in response to execution by the one or more processors, cause the system to at least:
- receive a request to perform a query of a graph database with respect to a time period;
- generate results for the query of the graph database with respect to the time period, wherein to generate the results, the system at least:
- selects at least one node of the graph to process a portion of the query;
- replays events associated with the selected at least one node, the events corresponding to the time period;
- and
- evaluates a portion of the query applicable to the node based, at least in part, on the replayed events corresponding to the time period.
A computer-implemented method, comprising:
- receiving a request to perform a query of a graph database with respect to one or more indicated times;
- generating results for the query of the graph database with respect to the one or more indicated times, by at least:
- selecting at least one node of the graph to process a portion of the query;
- replaying events associated with the selected at least one node, the events corresponding to the one or more indicated times;
- and
- evaluating one or more portions of the query applicable to the node based, at least in part, on the replayed events corresponding to the one or more indicated times.
A non-transitory computer-readable medium comprising instructions stored thereon, wherein the instructions, when performed by one or more processors of one or more computing devices, cause the one or more computing devices to at least:
- receive a request to perform a query of a graph database with respect to a time period;
- generate results for the query of the graph database with respect to the time period by at least:
- selecting at least one node of the graph to process a portion of the query;
- replaying events associated with the selected at least one node, the events corresponding to the time period;
- and
- evaluating a portion of the query applicable to the node based, at least in part, on the replayed events corresponding to the time period.
Dependencies are inferred from the claim text.