English

Caching Connections in Matchings

Data Structures and Algorithms 2024-02-26 v2

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 kk matchings of connections between servers that form a bipartite graph. To cache a connection we insert it into one of the kk matchings possibly evicting at most two other connections from this matching. This problem resembles the problem known as Connection Caching, where we also cache connections but our only restriction is that they form a graph with bounded degree kk. 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)O(nk) competitive and randomized O(nlogk)O(n \log k) competitive algorithms for caching in matchings, where nn is the number of servers and kk is the number of matchings. We also show that the competitive ratio of any deterministic algorithm is Ω(max(nk,k))\Omega(\max(\frac{n}{k},k)) and of any randomized algorithm is Ω(lognk2logklogk)\Omega(\log \frac{n}{k^2 \log k} \cdot \log k). In particular, the lower bound for randomized algorithms is Ω(logn)\Omega(\log n) regardless of kk, and can be as high as Ω(log2n)\Omega(\log^2 n) if k=n1/3k=n^{1/3}, for example. We also show that if we allow the algorithm to use at least 2k12k-1 matchings compared to kk used by the optimum then we match the competitive ratios of connection catching which are independent of nn. Interestingly, we also show that even a single extra matching for the algorithm allows to get substantially better bounds.

Keywords

Cite

@article{arxiv.2310.14058,
  title  = {Caching Connections in Matchings},
  author = {Yaniv Sadeh and Haim Kaplan},
  journal= {arXiv preprint arXiv:2310.14058},
  year   = {2024}
}

Comments

Updated resource-augmentation results, related work and references

R2 v1 2026-06-28T12:57:42.308Z