×

Hybrid quorum policies for durable consensus in distributed systems

  • US 9,723,064 B1
  • Filed: 09/02/2014
  • Issued: 08/01/2017
  • Est. Priority Date: 09/02/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • at least one processor;

    a memory comprising program instructions, wherein the program instructions when executed by the at least one processor, cause the at least one processor to;

    receive an indication of an update to a state maintained in a distributed system for a client, wherein the distributed system comprises a plurality of nodes that maintain the state for the client;

    in response to the receipt of the indication, send a request to update the state according to the indicated update to different ones of the plurality of nodes in order to satisfy a hybrid quorum policy for updating the state maintained in the distributed system, wherein the hybrid quorum policy comprises individual quorum policies for a plurality of different quorum sets, wherein each quorum set includes one or more nodes of the plurality of nodes such that a given node of the plurality of nodes is included in at least one quorum set of the plurality of quorum sets;

    receive a plurality of acknowledgments from at least some of the different nodes sent the request indicating that the update to the state is performed;

    in response to the receipt of the plurality of acknowledgments, determine that the plurality of acknowledgements satisfy the hybrid quorum policy for updating the state maintained in the distributed system, wherein the determination evaluates the plurality of acknowledgments with respect to the individual quorum policies for the plurality of different quorum sets and with respect to an indication in the hybrid quorum policy of which individual quorum policies are to be satisfied; and

    in response to the determination that the plurality of acknowledgments satisfy the hybrid quorum policy, provide an indication that the update to the state is durably performed for the client.

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