发明名称 |
RACE CONDITION HANDLING IN A SYSTEM WHICH INCREMENTALLY UPDATES CLIENTS WITH EVENTS THAT OCCURRED IN A CLOUD-BASED COLLABORATION PLATFORM |
摘要 |
Techniques are disclosed for race condition handling in a system which incrementally updates clients with what occurred in a cloud-enabled platform. In one embodiment, a method comprises, in response to an event received at a synchronization client which indicates a modification to an item, comparing a sequence identifier of the item in the event with a current sequence identifier of the item. The sequence identifier of the item can be numeric and can monotonically increase as a state of the item changes. The method further comprises, if the sequence identifier in the event is larger than the current sequence identifier of the item, determining a difference between the item's state as represented in the event and a current state of the item; and, based on the difference, generating at least one synchronization step to update the current state of the item to the item's state as represented in the event. |
申请公布号 |
US2014188798(A1) |
申请公布日期 |
2014.07.03 |
申请号 |
US201414146658 |
申请日期 |
2014.01.02 |
申请人 |
BOX, INC. |
发明人 |
Mackenzie David;Spielberg Miles |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for resolving race conditions when updating remote clients with what occurred in a cloud-based platform, the method comprising:
in response to an event received which indicates a modification to an item, comparing a sequence identifier of the item in the event with a current sequence identifier of the item, wherein the sequence identifier of the item is numeric and monotonically increases as a state of the item changes; if the sequence identifier in the event is larger than the current sequence identifier of the item, determining a difference between a state of the item as represented in the event and a current state of the item; and based on the difference, generating at least one synchronization step to update the current state of the item to the item's state as represented in the event. |
地址 |
Los Altos CA US |