Providing eventual consistency for multi-shard transactions
AssigneeFacebook, Inc.
InventorsNeil Earnest Chao, Daniel Nota Peek, Dmitri Perelman, Philippe Vincent Ajoux
Life of this patent
Estimating the term…
Loading patent…
AssigneeFacebook, Inc.
InventorsNeil Earnest Chao, Daniel Nota Peek, Dmitri Perelman, Philippe Vincent Ajoux
Estimating the term…
A multi-shard database system receives a transaction including multiple actions directed to different shards of the database system. The database system creates a transaction record including a transaction identifier and a transaction status for the transaction in a transaction database. The database system then executes, in parallel, the multiple actions on the different shards by associating with each data item involved in the transaction a data structure that includes the transaction identifier and new data to be applied to the data item. The database system then updates the transaction status in the transaction record for the transaction from pending to completed when each of the multiple actions is successfully executed on the corresponding shard. Consistency is eventually implemented when the data structures associated with the data items involved in the transaction are evaluated. The evaluation of a data structure can be triggered by a read request or other events.
A method of providing eventual consistency for a multi-shard transaction, comprising:
A database system configured to provide eventual consistency for a multi-shard transaction, comprising:
A computer-readable memory device storing instructions configured to, when executed by a computing device, cause the computing device to perform the method for providing eventual consistency for a multi-shard transaction, comprising:
Dependencies are inferred from the claim text.