×

Explicit casualty control in a client/server system

  • US 8,190,746 B2
  • Filed: 11/30/2006
  • Issued: 05/29/2012
  • Est. Priority Date: 11/30/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method of ensuring integrity of data in a social network service, wherein the social network service comprises a plurality of nodes that share a data set, said method comprising:

  • receiving, by a processor of a first node of the plurality of nodes, an update request from a client node to update the data set, wherein the first node stores a first copy of the data set;

    performing, by the first node, an update to the first copy of the data set in response to the update request;

    updating, by the processor of the first node, a first counter that reflects a state of the first copy of the data set, wherein the first counter is cooperatively maintained by the plurality of nodes to indicate the state of the data set when an update from the first node was last received and recorded by the first node;

    providing, by the processor of the first node, the client node with a token that comprises the first counter;

    notifying, by the processor of the first node, other nodes of the plurality of nodes of the update made to the first copy of the dataset, wherein the other nodes are notified of the update by the processor asynchronously;

    receiving, by a second node of the plurality of nodes, a read request for the data set from the client node, wherein the read request includes the token;

    comparing, by the second node, a state of the data set indicated by the first counter of the received token to a state of the data set at the second node indicated by a second counter at the second node; and

    when the state of the data set indicated by the second counter at the second node is not the same as the state of the data set indicated by the first counter of the received token, delaying, by the second node, responding to the read request of the client node until the state of the data set at the second node is updated to be the same as the state of the data set indicated by the first counter of the received token.

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