Patent ID: 9026556
Filing Date: 2015-05-05
Classification: G06F

Abstract:
1. A non-transitory computer-readable medium storing a data sharing program that causes a computer to execute a data sharing method, the data sharing method comprising: storing a value of first shared data in association with a function identifier capable of identifying an update function corresponding to the first shared data upon receiving a registration request from a user application processor included in a first node of a plurality of nodes communicably connected to each other via a network, each of the plurality of nodes including a local instance processor and a user application processor, the registration request storing the value of the first shared data in association with the function identifier, and the update function is executed before updating a stored value of the first shared data, the update function being commutative and idempotent; applying the update function, identified by the function identifier associated with the first shared data, on the stored value of the first shared data stored in the first node to obtain an execution result upon receiving an update request from the user application processor included in the first node; updating the stored value of the first shared data stored in the first node to a first update value in accordance with the execution result, an update request updating the stored value of the first shared data stored in the first node to the first update value; returning a completion message to the user application processor included in the first node upon updating the stored value of the first shared data stored in the first node, the completion message conveying that an update has been completed; and transmitting a first reflection request to a second node upon updating the stored value of the first shared data stored in the first node, the first reflection request updating a stored value of the first shared data stored in the second node to the first update value, wherein the computer acts as a local instance processor included in the first node, and wherein synchronization of a value of the update of shared data between nodes is executed independently from other user application processors.