×

Distributed graph databases that facilitate streaming data insertion and queries by reducing number of messages required to add a new edge by employing asynchronous communication

  • US 10,380,188 B2
  • Filed: 08/05/2016
  • Issued: 08/13/2019
  • Est. Priority Date: 08/05/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method to reduce number of messages required to add a new edge to a distributed graph database across a plurality of machines by employing asynchronous communication comprising:

  • receiving, by a first machine of the plurality of machines, a request to add a target vertex associated with a first shard of the first machine, wherein the first machine is operatively coupled to a processor;

    adding, by the first machine, the target vertex at the first machine;

    generating, by the first machine, a unique target vertex identifier (VIDT) associated with the target vertex;

    forwarding, by the first machine, the VIDT to a second machine, that initiates the second machine to;

    add a source vertex associated with a second shard of the second machine,generate a unique source vertex identifier (VIDS) associated with the source vertex, comprising the acts of;

    preparing a unique edge identifier (EID) as {ShardID, MAXEID}, where ShardID is a unique shard identifier, and MAXEID is a number,creating a label (LID),incrementing MAXEID,adding an outgoing edge {VIDS, VIDT, LID, EID} at the second machine, andforwarding {VIDS, VIDT, LID, EID} to the first machine; and

    adding, by the first machine, an incoming edge {VIDT, VIDS, LID, EID} at the first machine.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×