skip to main content
10.1145/3210377.3210404acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
research-article

Online Generalized Caching with Varying Weights and Costs

Published: 11 July 2018 Publication History

Abstract

We present a new extension of the generalized caching/paging problem that allows the adversary to arbitrarily change the cost or weight of the currently requested page. We present modifications of previous algorithms for generalized caching to handle varying page weights and page costs. In particular, a deterministic algorithm based on~\citeYoung02,CaoIrani97 for an $(h,k)$-competitive algorithm with competitive ratio $k/(k-h+1)$ is presented. In addition, a randomized algorithm based on~\citeBansalBN12,AdamaszekCER12 with competitive ratio $O(łog k)$ is presented. We present three applications that can be supported via reductions to generalized caching with varying page weights and page costs. These applications are: (1)~support of subsets of pages that must be simultaneously present in the cache before entry to a critical section (i.e., working sets), (2)~change of page size due to compression and decompression, (3)~variable cache size (i.e., elastic caches).

References

[1]
Anna Adamaszek, Artur Czumaj, Matthias Englert, and Harald R"acke . 2012. An O(log k)-competitive algorithm for generalized caching 23rd Annual ACM-SIAM Symposium on Discrete Algorithms. 1681--1689.
[2]
Nikhil Bansal, Niv Buchbinder, and Joseph Naor . 2012. Randomized Competitive Algorithms for Generalized Caching. SIAM J. Comput. Vol. 41, 2 (2012), 391--414.
[3]
Nikhil Bansal, Niv Buchbinder, and Joseph Seffi Naor . 2008. Randomized competitive algorithms for generalized caching 40th annual ACM symposium on Theory of computing. ACM, 235--244.
[4]
Allan Borodin and Ran El-Yaniv . 2005. Online computation and competitive analysis. cambridge university press.
[5]
Pei Cao and Sandy Irani . 1997. Cost-Aware WWW Proxy Caching Algorithms. In 1st USENIX Symposium on Internet Technologies and Systems. 193--206.
[6]
Fred Douglis . 1993. The Compression Cache: Using On-line Compression to Extend Physical Memory. USENIX Winter. Citeseer, 519--529.
[7]
Ishai Menache and Mohit Singh . 2015. Online caching with convex costs. In 27th ACM symposium on Parallelism in Algorithms and Architectures. ACM, 46--54.
[8]
Enoch Peserico . 2013. Elastic paging. ACM SIGMETRICS Performance Evaluation Review Vol. 41, 1 (2013), 349--350.
[9]
Neal E. Young . 2002. On-Line File Caching. Algorithmica Vol. 33, 3 (2002), 371--383.

Cited By

View all

Index Terms

  1. Online Generalized Caching with Varying Weights and Costs

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SPAA '18: Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures
    July 2018
    437 pages
    ISBN:9781450357999
    DOI:10.1145/3210377
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 11 July 2018

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. caching
    2. competitive analysis
    3. online algorithms
    4. paging

    Qualifiers

    • Research-article

    Conference

    SPAA '18
    Sponsor:

    Acceptance Rates

    SPAA '18 Paper Acceptance Rate 36 of 120 submissions, 30%;
    Overall Acceptance Rate 447 of 1,461 submissions, 31%

    Upcoming Conference

    SPAA '25
    37th ACM Symposium on Parallelism in Algorithms and Architectures
    July 28 - August 1, 2025
    Portland , OR , USA

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)13
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 07 Mar 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Brief Announcement: Suffix AnalysisProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3660259(301-303)Online publication date: 17-Jun-2024
    • (2022)SIGACT News Online Algorithms Column 38ACM SIGACT News10.1145/3510382.351039652:4(80-96)Online publication date: 3-Jan-2022
    • (2021)Efficient Online Weighted Multi-Level PagingProceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3409964.3461801(94-104)Online publication date: 6-Jul-2021
    • (2020)Online Linear Optimization with Inventory Management ConstraintsProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/33794824:1(1-29)Online publication date: 5-Jun-2020
    • (2019)Writeback-Aware Caching (Brief Announcement)The 31st ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3323165.3323169(345-347)Online publication date: 17-Jun-2019
    • (2019)Online Linear Programming with Uncertain Constraints : (Invited Paper)2019 53rd Annual Conference on Information Sciences and Systems (CISS)10.1109/CISS.2019.8693056(1-6)Online publication date: Mar-2019

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media