发明名称 CONTEXT AWARE SERIALIZATION
摘要 Certain embodiments of the present invention relate to techniques for serializing account and message management actions performed at a message management service for synchronization with a messaging service. A message management service can receive requests from a client device and/or a messaging service to perform actions on resources for an email message account. The actions can include account-related actions, folder-related actions, message thread-related actions, and/or message-related actions. Message management service can implement techniques for serializing actions that conflict, such as actions on a resource (e.g., a message account, a message, a folder, or a message thread) that conflict with other actions on the same resource and/or other resources that have a dependency relationship. By performing serialization, message management service can prevent conflicting actions from being performed concurrently, while enabling non-conflicting actions to be performed in parallel, thereby improving performance for execution of actions.
申请公布号 US2015304264(A1) 申请公布日期 2015.10.22
申请号 US201414257953 申请日期 2014.04.21
申请人 Dropbox, Inc. 发明人 Kabbes Steven
分类号 H04L12/58;H04L12/911 主分类号 H04L12/58
代理机构 代理人
主权项 1. A computer-implemented method comprising: receiving, by a server computer, a request to perform a first action for a first resource of an email message account provided by a messaging service provider; identifying, by the server computer, a first node, in a hierarchical data structure, that corresponds to the first resource indicated by the request, wherein the hierarchical data structure includes a plurality of nodes, each node corresponding to a different resource of the email message account; identifying, by the server computer, at least one second node in the hierarchical data structure that has a dependency relationship with the first node, wherein each identified second node corresponds to a different second resource of the email message account, and wherein the dependency relationship indicates a dependency between the first resource and the second resource; determining, by the server computer, whether a lock has been acquired for the first node or an identified second node; and in the event that a lock has not been acquired for the first node and each identified second node, the server computer: acquires a lock for the first node;performs the first action for the first resource; andreleases the lock for the first node after the first action is performed.
地址 San Francisco CA US