-
公开(公告)号:US20220398245A1
公开(公告)日:2022-12-15
申请号:US17345533
申请日:2021-06-11
Applicant: VMware, Inc.
Inventor: Charlie Liu , Chris Dent , Akash Gangil
IPC: G06F16/2453 , G06F9/54
Abstract: The present disclosure relates to time aware caching. One method includes receiving an API request for data from a database, wherein the request defines a time window associated with the data, creating a first and second query based on the request, wherein the first query corresponds to a first chunk of the time window, and wherein the second query corresponds to a second chunk of the time window, hashing a first statement associated with the first query to produce a first key and hashing a second statement associated with the second query to produce a second key, retrieving a first portion of the data corresponding to the first chunk of the time window from cache responsive to a determination that the first key is in the cache, and retrieving a second portion of the data corresponding to the second chunk of the time window from the database responsive to a determination that the second key is not in the cache.