Caching Connections in Matchings

Authors Yaniv Sadeh , Haim Kaplan



PDF
Thumbnail PDF

File

LIPIcs.ICALP.2024.120.pdf
  • Filesize: 0.9 MB
  • 20 pages

Document Identifiers

Author Details

Yaniv Sadeh
  • Tel Aviv University, Israel
Haim Kaplan
  • Tel Aviv University, Israel

Cite AsGet BibTex

Yaniv Sadeh and Haim Kaplan. Caching Connections in Matchings. In 51st International Colloquium on Automata, Languages, and Programming (ICALP 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 297, pp. 120:1-120:20, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.ICALP.2024.120

Abstract

Motivated by the desire to utilize a limited number of configurable optical switches by recent advances in Software Defined Networks (SDNs), we define an online problem which we call the Caching in Matchings problem. This problem has a natural combinatorial structure and therefore may find additional applications in theory and practice. In the Caching in Matchings problem our cache consists of k matchings of connections between servers that form a bipartite graph. To cache a connection we insert it into one of the k matchings possibly evicting at most two other connections from this matching. This problem resembles the problem known as Connection Caching [Cohen et al., 2000], where we also cache connections but our only restriction is that they form a graph with bounded degree k. Our results show a somewhat surprising qualitative separation between the problems: The competitive ratio of any online algorithm for caching in matchings must depend on the size of the graph. Specifically, we give a deterministic O(nk) competitive and randomized O(n log k) competitive algorithms for caching in matchings, where n is the number of servers and k is the number of matchings. We also show that the competitive ratio of any deterministic algorithm is Ω(max(n/k,k)) and of any randomized algorithm is Ω(log (n/(k² log k)) ⋅ log k). In particular, the lower bound for randomized algorithms is Ω(log n) regardless of k, and can be as high as Ω(log² n) if k = n^{1/3}, for example. We also show that if we allow the algorithm to use at least 2k-1 matchings compared to k used by the optimum then we match the competitive ratios of connection catching which are independent of n. Interestingly, we also show that even a single extra matching for the algorithm allows to get substantially better bounds.

Subject Classification

ACM Subject Classification
  • Theory of computation → Caching and paging algorithms
  • Mathematics of computing → Graph coloring
Keywords
  • Caching
  • Matchings
  • Caching in Matchings
  • Edge Coloring
  • Online Algorithms

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Anna Adamaszek, Artur Czumaj, Matthias Englert, and Harald Räcke. An O(log k)-competitive algorithm for generalized caching. In SODA, pages 1681-1689. SIAM, 2012. Google Scholar
  2. Anna Adamaszek, Artur Czumaj, Matthias Englert, and Harald Räcke. An O(log k)-competitive algorithm for generalized caching. ACM Trans. Algorithms, 15(1), 2018. Google Scholar
  3. Susanne Albers. Generalized connection caching. In ACM SPAA, pages 70-78, 2000. Google Scholar
  4. Chen Avin, Chen Griner, Iosif Salem, and Stefan Schmid. An online matching model for self-adjusting ToR-to-ToR networks, 2020. URL: https://arxiv.org/abs/2006.11148.
  5. Yossi Azar, Chay Machluf, Boaz Patt-Shamir, and Noam Touitou. Competitive vertex recoloring. Algorithmica, 85:2001-2027, 2023. Google Scholar
  6. Nikhil Bansal, Niv Buchbinder, and Joseph (Seffi) Naor. Randomized competitive algorithms for generalized caching. In STOC, pages 235-244, 2008. Google Scholar
  7. Nikhil Bansal, Niv Buchbinder, and Joseph (Seffi) Naor. A primal-dual randomized algorithm for weighted paging. J. ACM, 59(4), 2012. Google Scholar
  8. Luis Barba, Jean Cardinal, Matias Korman, Stefan Langerman, André Renssen, Marcel Roeloffzen, and Sander Verdonschot. Dynamic graph coloring. Algorithmica, 81(4):1319-1341, 2019. Google Scholar
  9. Leonid Barenboim and Tzalik Maimon. Fully dynamic graph algorithms inspired by distributed computing: Deterministic maximal matching and edge coloring in sublinear update-time. ACM J. Exp. Algorithmics, 24:1-24, 2019. Google Scholar
  10. Anton Bernshteyn. A fast distributed algorithm for (Δ+1)-edge-coloring. Journal of Combinatorial Theory, Series B, 152:319-352, 2022. Google Scholar
  11. S. Bhattacharya, N. Buchbinder, R. Levin, and T. Saranurak. Chasing positive bodies. In FOCS, pages 1694-1714, 2023. Google Scholar
  12. Sayan Bhattacharya, Deeparnab Chakrabarty, Monika Henzinger, and Danupon Nanongkai. Dynamic algorithms for graph coloring. In SODA, pages 1-20, 2018. Google Scholar
  13. Sayan Bhattacharya, Martín Costa, Nadav Panski, and Shay Solomon. Nibbling at long cycles: Dynamic (and static) edge coloring in optimal time. In SODA. SIAM, 2024. Google Scholar
  14. Marcin Bienkowski, David Fuchssteiner, Jan Marcinkowski, and Stefan Schmid. Online dynamic b-matching: With applications to reconfigurable datacenter networks. SIGMETRICS Perform. Eval. Rev., 48(3), 2021. Google Scholar
  15. Allan Borodin and Ran El-Yaniv. Online Computation and Competitive Analysis. Cambridge University Press, 1998. Google Scholar
  16. Niv Buchbinder, Shahar Chen, and Joseph (Seffi) Naor. Competitive algorithms for restricted caching and matroid caching. In ESA, pages 209-221, 2014. Google Scholar
  17. Niv Buchbinder and Joseph (Seffi) Naor. The Design of Competitive Online Algorithms via a Primal-Dual Approach. Now Foundations and Trends, 2009. Google Scholar
  18. Aleksander B. G. Christiansen and Eva Rotenberg. Fully-Dynamic α + 2 Arboricity Decompositions and Implicit Colouring. In ICALP, pages 42:1-42:20, 2022. Google Scholar
  19. Aleksander Bjørn Grodt Christiansen. The power of multi-step vizing chains. In STOC, pages 1013-1026, 2023. Google Scholar
  20. Edith Cohen, Haim Kaplan, and Uri Zwick. Connection caching under various models of communication. ACM SPAA, 2000. Google Scholar
  21. Ran Duan, Haoqing He, and Tianyi Zhang. Dynamic Edge Coloring with Improved Approximation, pages 1937-1945. SIAM, 2019. Google Scholar
  22. Antoine El-Hayek, Kathrin Hanauer, and Monika Henzinger. On b-matching and fully-dynamic maximum k-edge coloring, 2023. URL: https://arxiv.org/abs/2310.01149.
  23. Leah Epstein, Csanád Imreh, Asaf Levin, and Judit Nagy-György. Online file caching with rejection penalties. Algorithmica, 71(2):279-306, 2015. Google Scholar
  24. Amos Fiat, Richard M Karp, Michael Luby, Lyle A McGeoch, Daniel D Sleator, and Neal E Young. Competitive paging algorithms. Journal of Algorithms, 12(4):685-699, 1991. Google Scholar
  25. Amos Fiat, Manor Mendel, and Steven S. Seiden. Online companion caching. In ESA, pages 499-511, 2002. Google Scholar
  26. Monia Ghobadi, Ratul Mahajan, Amar Phanishayee, Nikhil Devanur, Janardhan Kulkarni, Gireeja Ranade, Pierre-Alexandre Blanche, Houman Rastegarfar, Madeleine Glick, and Daniel Kilper. ProjecToR: Agile reconfigurable data center interconnect. In ACM SIGCOMM, pages 216-229, 2016. Google Scholar
  27. Monika Henzinger, Stefan Neumann, and Andreas Wiese. Explicit and implicit dynamic coloring of graphs with bounded arboricity, 2020. URL: https://arxiv.org/abs/2002.10142.
  28. Ian Holyer. The NP-completeness of edge-coloring. SIAM Journal on Computing, 10(4):718-720, 1981. Google Scholar
  29. J. Misra and David Gries. A constructive proof of Vizing’s theorem. Information Processing Letters, 41(3):131-133, 1992. Google Scholar
  30. Yaniv Sadeh and Haim Kaplan. Caching connections in matchings, 2024. URL: https://arxiv.org/abs/2310.14058.
  31. Shay Solomon and Nicole Wein. Improved dynamic graph coloring. ACM Trans. Algorithms, 16(3):1-24, 2020. Google Scholar
  32. Andrew Chi-Chin Yao. Probabilistic computations: Toward a unified measure of complexity. In SFCS, pages 222-227, 1977. Google Scholar
  33. Neal Young. Competitive paging and dual-guided algorithms for weighted caching and match- ing. PhD thesis, Computer Science Dept., Princeton University, 1991. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail