Optimistic online caching for batched requests - Archive ouverte HAL
Article Dans Une Revue Computer Networks Année : 2024

Optimistic online caching for batched requests

Résumé

In this paper, we investigate 'optimistic' online caching policies, distinguished by their use of future request predictions derived, for example, from machine learning models. Traditional online optimistic policies, grounded in the Follow-The-Regularized-Leader (FTRL) algorithm, incur a higher computational cost compared to classic policies like Least Frequently Used (LFU) and Least Recently Used (LRU). This is due to each cache state update necessitating the resolution of a constrained optimization problem.

To address this problem, we introduce and analyze the 'batched' version of two distinct FTRL-based optimistic policies. In this approach, the cache updates occur less frequently, thereby amortizing the update cost over time or over multiple requests. Rather than updating the cache with each new request, the system accumulates a batch of requests before modifying the cache content. First, we present a batched version of the Optimistic Bipartite Caching (OBC) algorithm, that works for single requests, then we introduce a new optimistic batched caching policy, the Per-Coordinate Optimistic Caching (PCOC) algorithm, derived from the per-coordinate-based FTRL. We demonstrate that these online algorithms maintain 'vanishing regret' in the batched case, meaning their average performance approaches over time that of an optimal static file allocation, regardless of the sequence of file requests. We then compare the performance of these two strategies with each other and against optimistic versions of LFU and LRU. Our experimental results indicate that this batched optimistic approach outperforms traditional caching policies on both stationary and real-world file request traces.

Fichier principal
Vignette du fichier
Optimistic_Batch_Caching.pdf (885.79 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04763270 , version 1 (01-11-2024)

Licence

Identifiants

Citer

Francescomaria Faticanti, Giovanni Neglia. Optimistic online caching for batched requests. Computer Networks, 2024, 244, pp.110341. ⟨10.1016/j.comnet.2024.110341⟩. ⟨hal-04763270⟩
9 Consultations
5 Téléchargements

Altmetric

Partager

More