摘要 |
In the present invention, a server device retains a cache as well as identification information for data utilized in a preceding transaction. The server device compares the retained identification information and identification information for data to be utilized in a transaction received from a client, and if the comparison does not match, executes the transaction after updating the cache with data acquired from a persistent storage device, and if the comparison matches, omits the cache update and executes the transaction. Next, the server device determines whether optimistic lock succeeded or failed, and in the case of failure, re-executes the transaction after having updated the data on the cache using data acquired from the persistent storage device. |