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

Online Caching with Convex Costs: Extended Abstract

Published: 13 June 2015 Publication History

Abstract

Modern software applications and services operate nowadays on top of large clusters and datacenters. To reduce the underlying infrastructure cost and increase utilization, different services share the same physical resources (e.g., CPU, bandwidth, I/O, memory). Consequently, the cluster provider often has to decide in real-time how to allocate resources in overbooked systems, taking into account the different characteristics and requirements of users. In this paper, we consider an important problem within this space -- how to share memory between users, whose memory access patterns are unknown in advance. We assume that the overall performance (or cost) of each user is a non-linear function of the total number of misses over a given period of time. We develop an online caching algorithm for arbitrary cost functions. We further provide theoretical guarantees for convex functions (which capture plausible practical scenarios). In particular, our algorithm is αα kα-competitive, where k is the memory (cache) size, and α is a constant which depends on the curvature of the cost functions. We also obtain a bi-criteria result which trades-off the performance and the memory size. Finally, we give a lower bound on the performance of any online deterministic algorithm which nearly matches the upper bound of our algorithm.

References

[1]
S. Albers. Competitive online algorithms. Lecture Notes, Aarhus University, 1996.
[2]
Amazon ElastiCache. http://aws.amazon.com/elasticache/.
[3]
N. Bansal, N. Buchbinder, and J. Naor. A primal-dual randomized algorithm for weighted paging. J. ACM, 59(4):19, 2012.
[4]
L. A. Belady. A study of replacement algorithms for a virtual-storage computer. IBM Systems journal, 5(2):78--101, 1966.
[5]
M. A. Bender, R. Ebrahimi, J. T. Fineman, G. Ghasemiesfeh, R. Johnson, and S. McCauley. Cache-adaptive algorithms. In SODA, pages 958--971. SIAM, 2014.
[6]
A. Borodin and R. El-Yaniv. Online computation and competitive analysis. Cambridge University Press, 1998.
[7]
S. Boyd and L. Vandenberghe. Convex optimization. Cambridge university press, 2004.
[8]
N. Buchbinder and J. Naor. The design of competitive online algorithms via a primal: dual approach. Foundations and Trends® in Theoretical Computer Science, 3(2-3):93--263, 2009.
[9]
F. J. Corbato. A paging experiment with the Multics system. Technical report, DTIC Document, 1968.
[10]
B. Fitzpatrick. Distributed caching with memcached. Linux journal, 2004(124):5, 2004.
[11]
A. Hassidim. Cache replacement policies for multicore processors. In ICS, pages 501--509, 2010.
[12]
Microsoft Azure Cache. http://azure.microsoft.com/en-us/services/cache/.
[13]
Microsoft Azure SQL Database (formerly SQL Azure). http://www.windowsazure.com/en-us/services/sql-database/.
[14]
V. Narasayya, I. Menache, M. Singh, F. Li, M. Syamala, and S. Chaudhuri. Sharing Buffer Pool Memory in Multi-Tenant Relational Database-as-a-Service. Proceedings of the VLDB Endowment, 8(7), 2015. Available from http://www.vldb.org/pvldb/vol8/p726-narasayya.pdf.
[15]
V. R. Narasayya, S. Das, M. Syamala, B. Chandramouli, and S. Chaudhuri. SQLVM: Performance Isolation in Multi-Tenant Relational Database-as-a-Service. In CIDR, 2013.
[16]
E. J. O'Neil, P. E. O'Neil, and G. Weikum. The LRU-K page replacement algorithm for database disk buffering. In ACM SIGMOD Record, volume 22, pages 297--306. ACM, 1993.
[17]
E. J. O'Neil, P. E. O'Neil, and G. Weikum. An optimality proof of the LRU-K page replacement algorithm. Journal of the ACM (JACM), 46(1):92--112, 1999.
[18]
E. Peserico. Elastic paging. In Proceedings of the ACM SIGMETRICS/international conference on Measurement and modeling of computer systems, pages 349--350. ACM, 2013.
[19]
D. D. Sleator and R. E. Tarjan. Amortized efficiency of list update and paging rules. Communications of the ACM, 28(2):202--208, 1985.
[20]
N. Young. The k-server dual and loose competitiveness for paging. Algorithmica, 11(6):525--541, 1994.
[21]
W. Zhang and P.-A. Larson. Dynamic memory adjustment for external mergesort. In VLDB, volume 97, pages 25--29, 1997.

Cited By

View all
  • (2024)Supermodular Approximation of Norms and ApplicationsProceedings of the 56th Annual ACM Symposium on Theory of Computing10.1145/3618260.3649734(1841-1852)Online publication date: 10-Jun-2024
  • (2022)Online Parallel Paging with Optimal MakespanProceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3490148.3538577(205-216)Online publication date: 11-Jul-2022
  • (2021)Tight bounds for parallel paging and green pagingProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458244(3022-3041)Online publication date: 10-Jan-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SPAA '15: Proceedings of the 27th ACM symposium on Parallelism in Algorithms and Architectures
June 2015
362 pages
ISBN:9781450335881
DOI:10.1145/2755573
  • General Chair:
  • Guy Blelloch,
  • Program Chair:
  • Kunal Agrawal
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: 13 June 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. cloud computing
  2. competitive analysis
  3. online caching
  4. resource management

Qualifiers

  • Research-article

Conference

SPAA '15

Acceptance Rates

SPAA '15 Paper Acceptance Rate 31 of 131 submissions, 24%;
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)8
  • Downloads (Last 6 weeks)2
Reflects downloads up to 03 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Supermodular Approximation of Norms and ApplicationsProceedings of the 56th Annual ACM Symposium on Theory of Computing10.1145/3618260.3649734(1841-1852)Online publication date: 10-Jun-2024
  • (2022)Online Parallel Paging with Optimal MakespanProceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3490148.3538577(205-216)Online publication date: 11-Jul-2022
  • (2021)Tight bounds for parallel paging and green pagingProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458244(3022-3041)Online publication date: 10-Jan-2021
  • (2020)Green Paging and Parallel PagingProceedings of the 32nd ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3350755.3400231(493-495)Online publication date: 6-Jul-2020
  • (2020)Online Distributed Edge Caching for Mobile Data Offloading in 5G Networks2020 IEEE/ACM 28th International Symposium on Quality of Service (IWQoS)10.1109/IWQoS49365.2020.9213007(1-10)Online publication date: Jun-2020
  • (2020)Online covering with -norm objectives and applications to network designMathematical Programming: Series A and B10.1007/s10107-019-01409-9184:1-2(155-182)Online publication date: 1-Nov-2020
  • (2019)Joint Online Edge Caching and Load Balancing for Mobile Data Offloading in 5G Networks2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS)10.1109/ICDCS.2019.00096(923-933)Online publication date: Jul-2019
  • (2018)Online Generalized Caching with Varying Weights and CostsProceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures10.1145/3210377.3210404(205-212)Online publication date: 11-Jul-2018
  • (2016)Online Algorithms for Covering and Packing Problems with Convex Objectives2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS.2016.24(148-157)Online publication date: Oct-2016

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