Olston, C., Loo, B. T. and Widom, J. (2001). Adaptive precision setting for cached approximate values. In Proc. ACM SIGMOD 2001, pp. 355–366. DOI 10.1145/375663.375710
Key takeaways
Read in full (NOTE-912). Olston, Loo and Widom set the width of each cached interval adaptively to minimize total refresh traffic. A narrow interval is escaped often (value-initiated refreshes, cost C_vr); a wide one is too imprecise for queries more often (query-initiated refreshes, cost C_qr). Under a model in which these probabilities go as 1/W² and W, the expected cost rate is least where ρ·P_vr = P_qr, ρ = 2C_vr/C_qr, and a rule that widens on value-initiated and narrows on query-initiated refreshes, with probabilities set by ρ, reached within 1% to 5% of the best fixed width in simulation. That the rule converges is argued, not proved. With exact copies required it matched an adaptive exact-caching algorithm, and where imprecision was allowed it beat it. Staleness is priced as refresh traffic only: there is no build cost, no cost of a wrong answer, and the interval is never wrong.
Why this is here
QUESTION-114 and CLAIM-303: sets each cached interval’s width to balance pushed refreshes against exact fetches by queries, the first model the record holds with upkeep and tolerated staleness in one objective and an optimum between them. It assumes a source that sees every change, which a filed argument lacks.