International Business Machines Corporation
PROVIDING DATA VALUES USING ASYNCHRONOUS OPERATIONS AND BASED ON TIMING OF OCCURRENCE OF REQUESTS FOR THE DATA VALUES
Last updated:
Abstract:
A processing system server and methods for performing asynchronous data store operations. The server includes a processor which maintains a cache of objects in memory of the server. The processor executes an asynchronous computation to determine the value of an object. In response to receiving a request for the object occurring before the asynchronous computation has determined the value of the object, a value of the object is returned from the cache. In response to receiving a request for the object occurring after the asynchronous computation has determined the value of the object, a value of the object determined by the asynchronous computation is returned. The asynchronous computation may comprise at least one future, such as a ListenableFuture, or a process or thread. The asynchronous computation may determine the value of the object by querying at least one additional server.
Utility
6 Jul 2021
28 Oct 2021