CACHE LONGEVITY DETECTION AND REFRESH
A web server cache performs verification of cached computational results by storing a computed function result as a cached value in a cache, and upon receiving a subsequent invocation of the function, examining a duration of the value in the cache. The web server compares, if the duration exceeds a...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
30.04.2015
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | A web server cache performs verification of cached computational results by storing a computed function result as a cached value in a cache, and upon receiving a subsequent invocation of the function, examining a duration of the value in the cache. The web server compares, if the duration exceeds a staleness detection threshold, a result of a subsequent execution of the function to the cached value in response to the subsequent invocation by recomputing, a result from execution of the function for validating the cached value, and flags an error if the duration exceeds the staleness detection threshold and the result differs from the cached value. Alternatively, the method returns, if the duration of the cache value is within the staleness detection threshold, the cache value as the result of the subsequent invocation. |
---|---|
Bibliography: | Application Number: US201314065770 |