Patent ID: 9602615
Date: 2017-03-21
CPC Classifications: G06F,H04L

Claim:
1. A system operable in a first datacenter among a plurality of datacenters, the system comprising: memory that includes an application cache and instructions for masterless cache replication; and a processor, the processor communicatively coupled to the memory and configured to execute the instructions to: receive a local cache event for a local data item associated with a distributed application, the data item stored in the application cache; determine whether the local cache event originated from a remote computer; where the local cache event originated from the remote computer, determine whether a remote cache event for a corresponding remote data item at a remote cache of the remote computer is different from the local cache event; and where the remote cache event is different from the local cache event: determine whether the local cache event is in conflict with at least one other cache event for the local data item; where the local cache event is in conflict with at least one other cache event for the local data item, determine whether the local cache event has a higher priority over the at least one other cache event, respective priorities of the local cache event and the at least one other cache event being independent of time associated with the local cache event and time associated with the at least one other cache event; and where the local cache event has the higher priority over the at least one other cache event: perform an operation of the local cache event at the application cache; and direct the remote computer to perform the operation of the local cache event at the remote cache, wherein the performance of the operation of the local cache event at the remote cache is synchronous with the performance of the operation of the local event cache at the application cache where processor and the remote computer are installed in a same datacenter of the plurality of data centers, and wherein the performance of the operation of the local cache event at the remote cache is asynchronous with the performance of the operation of the local cache event at the application cache where the processor and the remote computer are installed at different datacenters of the plurality of datacenters.