Competitive Clustering of Stochastic Communication Patterns on a Ring

This paper studies a fundamental dynamic clustering problem. The input is an online sequence of pairwise communication requests between n nodes (e.g., tasks or virtual machines). Our goal is to minimize the communication cost by partitioning the communicating nodes into \(\ell \) clusters (e.g., physical servers) of size k (e.g., number of virtual machine slots). We assume that if the communicating nodes are located in the same cluster, the communication request costs 0; if the nodes are located in different clusters, the request is served remotely using inter-cluster communication, at cost 1. Additionally, we can migrate: a node from one cluster to another at cost \(\alpha \ge 1\). We initiate the study of a stochastic problem variant where the communication pattern follows a fixed distribution, set by an adversary. Thus, the online algorithm needs to find a good tradeoff between benefitting from quickly moving to a seemingly good configuration (of low inter-cluster communication costs), and the risk of prematurely ending up in a configuration which later turns out to be bad, entailing high migration costs. Our main technical contribution is a deterministic online algorithm which is \(O(\log {n})\)-competitive with high probability (w.h.p.), for a specific but fundamental class of problems: namely on ring graphs. We also provide first insights in slightly more general models, where the adversary is not restricted to a fixed distribution or the ring.

[1]  D. T. Lee,et al.  On-Line Bin Packing in Linear Time , 1989, J. Algorithms.

[2]  Wallace Franck,et al.  On the optimal search problem , 1965 .

[3]  Robert E. Tarjan,et al.  Amortized efficiency of list update and paging rules , 1985, CACM.

[4]  Robert Krauthgamer,et al.  A Polylogarithmic Approximation of the Minimum Bisection , 2006, SIAM Rev..

[5]  Artur Czumaj,et al.  An O(log k)-Competitive Algorithm for Generalized Caching , 2012, SODA.

[6]  Robert Krauthgamer,et al.  A polylogarithmic approximation of the minimum bisection , 2000, Proceedings 41st Annual Symposium on Foundations of Computer Science.

[7]  Stefan Schmid,et al.  Online Balanced Repartitioning , 2015, DISC.

[8]  Leah Epstein,et al.  Online File Caching with Rejection Penalties , 2015, Algorithmica.

[9]  Manor Mendel,et al.  Online Companion Caching , 2002, ESA.

[10]  Konstantin Andreev,et al.  Balanced Graph Partitioning , 2004, SPAA '04.

[11]  Félix Cuadrado,et al.  Adaptive Partitioning for Large-Scale Dynamic Graphs , 2013, 2014 IEEE 34th International Conference on Distributed Computing Systems.

[12]  Anja Feldmann,et al.  The Wide-Area Virtual Service Migration Problem: A Competitive Analysis Approach , 2014, IEEE/ACM Transactions on Networking.

[13]  Lyle A. McGeoch,et al.  A strongly competitive randomized paging algorithm , 1991, Algorithmica.

[14]  W. Ebeling,et al.  Guessing probability distributions from small samples , 1995, cond-mat/0203467.

[15]  Piotr Indyk,et al.  On page migration and other relaxed task systems , 1997, SODA '97.

[16]  Steven S. Seiden,et al.  On the online bin packing problem , 2001, JACM.

[17]  Allan Borodin,et al.  An optimal on-line algorithm for metrical task system , 1992, JACM.

[18]  Yuval Rabani,et al.  Competitive k-server algorithms , 1990, Proceedings [1990] 31st Annual Symposium on Foundations of Computer Science.

[19]  Neal E. Young,et al.  On-line caching as cache size varies , 1991, SODA '91.

[20]  David L. Black,et al.  Competitive algorithms for replication and migration problems , 1989 .

[21]  Amos Fiat,et al.  Competitive Paging Algorithms , 1991, J. Algorithms.

[22]  Harald Niederreiter,et al.  Probability and computing: randomized algorithms and probabilistic analysis , 2006, Math. Comput..