skip to main content
10.1145/341800.341810acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
Article
Free access

Generalized connection caching

Published: 09 July 2000 Publication History

Abstract

Cohen et al. [5] recently initiated the theoretical study of connection caching in the world-wide web. They extensively studied uniform connection caching, where the establishment cost is uniform for all connections [5, 6]. They showed that ordinary paging algorithms can be used to derive algorithms for uniform connection caching and analyzed various algorithms such as Belady's rule, LRU and Marking strategies. In particular, in [5] Cohen et al. showed that LRU yields a (2k - 1)-competitive algorithm, where k is the size of the largest cache in the network. In [6], they investigated Marking algorithms with different types of communication among nodes and presented deterministic k-competitive algorithms.
In this paper we study generalized connection caching, also introduced in [5], where connections can incur varying establishment costs. This model is reasonable because the cost of establishing a connection may depend, for instance, on the distance of the nodes to be connected. We present optimal online algorithms for this generalized problem. Algorithms for ordinary weighted caching can be used to derive algorithms for generalized connection caching. We present tight or nearly tight analyses on the performance achieved by the currently known weighted caching algorithms when applied in generalized connection caching. The popular Balance algorithm yields a 2k-competitive algorithm. We prove that its competitive ratio is not smaller than (2k - 1). We then present implementations of the deterministic algorithm Landlord and the randomized algorithm Harmonic and show that they are k-competitive. This the best competitive ratio that can achieved by deterministic algorithms resp. by randomized algorithms against adaptive online adversaries. Additionally we consider two extensions of generalized connection caching where (1) connections have time-out values, or (2) the establishment cost of connections is asymmetric. We study the performance of Landlord and show that in the case of (1) it remains k-competitive. In the case of (2) we derive nearly tight upper and lower bounds.

References

[1]
L.A. Belady. A study of replacement algorithms for virtual storage computers. IBM Systems Journal, 5:78- 101, 1966.
[2]
S. Ben-David, A. Borodin, R.M. Karp, G. Tardos and A. Wigderson. On the power of randomization in online algorithms. Algorithmica, 11:2-14, 1994.
[3]
R Cao and S. Irani. Cost-aware WWW proxy caching algorithms. In USENIX Symposium on International Technologies and Systems, December 1997.
[4]
M. Chrobak, H. Karloff, T. Paye and S. Vishwanathan. New results on the server problem. SIAM Journal on Discrete Mathematics, 4:172-181, 1991.
[5]
E. Cohen, H. Kaplan and U. Zwick. Connection caching. In Proc. of the 31st Annual ACM Symposium on Theory of Computing, pages 612-621, 1999.
[6]
E. Cohen, H. Kaplan and U. Zwick. Marking algorithms for connection caching: The benefit of communication. Manuscript, 1999.
[7]
E. Cohen, H. Kaplan and U. Zwick. Private communication, May 1999.
[8]
H. Frysyk Nielsen, J. Getty, A. Baird-Smith, E. Prud'hommeaux, H.W. Lie and C. Lilley. Newtwork performance effects of HTTP/1.1, CSS1 and PNG. In Proc. of the ACM SIGCOMM' 97 Conference, Applications, Technologies, Architectures, and Protocols for Computer Communication, pages 155-166, 1997. In Computer Communication Review, 27(4).
[9]
R. Fielding, J. Getty, J. Mogul, H. Frystyk and T. Berners-Lee. Hypertext transfer protocol - HTTP/I.I. http : //www. cis . ohiostate, edu/htbin/rfc/rfc2 0 68 .html
[10]
T. Kimbrel. Online paging and caching with expiration times. Manuscript, September 1998.
[11]
M.S. Manasse, L.A. McGeoch and D.D. Sleator. Competitive algorithms for server problems. Journal of Algorithms, 11:208-230, 1990.
[12]
R Raghavan and M. Snir. Memory versus randomization in on-line algorithms. In Proc. 16th International Colloquium on Automata, Languages and Programming, Springer Lecture Notes in Computer Science, Vol. 372, pages 687-703, 1989.
[13]
N. Young. On-line caching as cache size varies. Proc. 2nd Annual ACM-SIAM Syrup. on Discrete Algorithms, 241-250, 1991.
[14]
N.E. Young. Online file caching. In Proc. 9th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 82-86, 1998.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SPAA '00: Proceedings of the twelfth annual ACM symposium on Parallel algorithms and architectures
July 2000
224 pages
ISBN:1581131852
DOI:10.1145/341800
  • Chairmen:
  • Gary Miller,
  • Shang-Hua Teng
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: 09 July 2000

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SPAA00

Acceptance Rates

SPAA '00 Paper Acceptance Rate 24 of 45 submissions, 53%;
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)33
  • Downloads (Last 6 weeks)10
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media