×

Methods and apparatus for a distributed database within a network

  • US 10,318,505 B2
  • Filed: 07/08/2016
  • Issued: 06/11/2019
  • Est. Priority Date: 08/28/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving, at a first compute device from a plurality of compute devices, data associated with a first transaction, each compute device from the plurality of compute devices having a separate instance of a distributed database interconnected via a network operatively coupled to the plurality of compute devices;

    receiving, from a second compute device from the plurality of compute devices, data associated with a second transaction;

    defining a first database clone object associated with a state associated with the distributed database, the first database clone object including a first identifier and a pointer to a database in a memory storing an initial value of the state;

    defining a second database clone object associated with the state, the second database clone object including a second identifier different from the first identifier and a pointer to the database in the memory storing the initial value of the state;

    receiving an indication of an initial transaction order based on an event associated with the first transaction and an event associated with the second transaction;

    defining, at a first time, a first updated value of the state based on the initial value of the state and the initial transaction order;

    storing the first updated value of the state in the database and as associated with the first database clone object such that a request to read the state via the first database clone object and at a second time after the first time returns the first updated value of the state;

    receiving, after the first time, an indication of a consensus transaction order based on the event associated with the first transaction and the event associated with the second transaction;

    defining, at a third time after the first time, a second updated value of the state based on the initial value of the state and the consensus transaction order; and

    storing the second updated value of the state in the database and as associated with the second database clone object such that a request to read the state via the second database clone object and at a fourth time after the third time returns the second updated value of the state.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×