Invention Grant
- Patent Title: Asynchronous cache building and/or rebuilding
-
Application No.: US16264393Application Date: 2019-01-31
-
Publication No.: US10678697B1Publication Date: 2020-06-09
- Inventor: Balaji Iyer , Sameer Khan
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: salesforce.com, inc.
- Current Assignee: salesforce.com, inc.
- Current Assignee Address: US CA San Francisco
- Agency: Wong & Rees LLP
- Agent Zhichong Gu
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/0877 ; G06F3/06

Abstract:
A read request for a data object is received from a first processing thread. Responsive to the read request, it is determined whether a cached version of the data object is available from a global cache. If the cached version of the data object is not available from the global cache, a result is immediately returned to the first processing thread to indicate that the data object is not available from the global cache. The first processing thread is freed from waiting for the data object to become available from the global cache. A cache refresh message is enqueued, for the data object, in a message queue to cause a second different processing thread to subsequently dequeue the cache refresh message for the data object and build the data object in the global cache using underlying data persisted in and retrieved from a primary data source among the one or more primary data sources.
Information query