×

Replication protocol with consensus for a decentralized control plane in a computer system

  • US 10,481,821 B2
  • Filed: 06/28/2016
  • Issued: 11/19/2019
  • Est. Priority Date: 06/28/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method of replicating service state among a plurality of nodes in a computer system, comprising:

  • sending a request for a service to an owner node of the plurality of nodes, the owner node being selected based on the service targeted by the request;

    receiving a completion of the request after execution of a handler of a service instance on the owner node, where the service instance is an instance of the service and the completion indicates that the handler successfully updated a state of the service on the owner node;

    replicating the updated state of the service as a proposed state among a plurality of peer nodes of the plurality of nodes and receiving replies from the plurality of peer nodes about verification of the proposed state at each of the peer nodes;

    determining whether success replies in the replies have been received from a quorum of the plurality of peer nodes, sending requests to commit the proposed state at each of the peer nodes in response to achieving the quorum, and initiating synchronization of state among the plurality of peer nodes in response to not achieving the quorum; and

    providing a response to the request for the service, from the owner node, for transmission to a client that originated the request.

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