Skip to main content

2016 | OriginalPaper | Buchkapitel

Online Balanced Repartitioning

verfasst von : Chen Avin, Andreas Loukas, Maciej Pacut, Stefan Schmid

Erschienen in: Distributed Computing

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Distributed cloud applications, including batch processing, streaming, and scale-out databases, generate a significant amount of network traffic and a considerable fraction of their runtime is due to network activity. This paper initiates the study of deterministic algorithms for collocating frequently communicating nodes in a distributed networked systems in an online fashion. In particular, we introduce the Balanced RePartitioning (BRP) problem: Given an arbitrary sequence of pairwise communication requests between n nodes, with patterns that may change over time, the objective is to dynamically partition the nodes into \(\ell \) clusters, each of size k, at a minimum cost. Every communication request needs to be served: if the communicating nodes are located in the same cluster, the request is served locally, at cost 0; if the nodes are located in different clusters, the request is served remotely using inter-cluster communication, at cost 1. The partitioning can be updated dynamically (i.e., repartitioned), by migrating nodes between clusters at cost \(\alpha \) per node migration. The goal is to devise online algorithms which find a good trade-off between the communication and the migration cost, i.e., “rent” or “buy”, while maintaining partitions which minimize the number of inter-cluster communications. BRP features interesting connections to other well-known online problems. In particular, we show that scenarios with \(\ell =2\) generalize online paging, and scenarios with \(k=2\) constitute a novel online version of maximum matching. We consider settings both with and without cluster-size augmentation. Somewhat surprisingly (and unlike online paging), we prove that any deterministic online algorithm has a competitive ratio of at least k, even with augmentation. Our main technical contribution is an \(O(k \log {k})\)-competitive deterministic algorithm for the setting with (constant) augmentation. This is attractive as, in contrast to \(\ell \), k is likely to be small in practice. For the case of matching (\(k=2\)), we present a constant competitive algorithm that does not rely on augmentation.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Adamaszek, A., Czumaj, A., Englert, M., Räcke, H.: An O(log k)-competitive algorithm for generalized caching. In: Proceedings of 23rd SODA, pp. 1681–1689 (2012) Adamaszek, A., Czumaj, A., Englert, M., Räcke, H.: An O(log k)-competitive algorithm for generalized caching. In: Proceedings of 23rd SODA, pp. 1681–1689 (2012)
2.
Zurück zum Zitat Al-Fares, M., Loukissas, A., Vahdat, A.: A scalable, commodity data center network architecture. ACM SIGCOMM CCR 38(4), 63–74 (2008)CrossRef Al-Fares, M., Loukissas, A., Vahdat, A.: A scalable, commodity data center network architecture. ACM SIGCOMM CCR 38(4), 63–74 (2008)CrossRef
3.
Zurück zum Zitat Andreev, K., Räcke, H.: Balanced graph partitioning. In: Proceedings of 16th Annual ACM Symposium on Parallelism in Algorithms and Architectures (SPAA) (2004) Andreev, K., Räcke, H.: Balanced graph partitioning. In: Proceedings of 16th Annual ACM Symposium on Parallelism in Algorithms and Architectures (SPAA) (2004)
5.
9.
Zurück zum Zitat Bartal, Y., Charikar, M., Indyk, P.: On page migration and other relaxed task systems. Theor. Comput. Sci. 268(1), 43–66 (2001). Also appeared in Proceedings of the 8th SODA, pp. 43–52 (1997)MathSciNetCrossRefMATH Bartal, Y., Charikar, M., Indyk, P.: On page migration and other relaxed task systems. Theor. Comput. Sci. 268(1), 43–66 (2001). Also appeared in Proceedings of the 8th SODA, pp. 43–52 (1997)MathSciNetCrossRefMATH
10.
Zurück zum Zitat Bienkowski, M., Feldmann, A., Grassler, J., Schaffrath, G., Schmid, S.: The wide-area virtual service migration problem: a competitive analysis approach. IEEE/ACM Trans. Netw. 22(1), 165–178 (2014)CrossRef Bienkowski, M., Feldmann, A., Grassler, J., Schaffrath, G., Schmid, S.: The wide-area virtual service migration problem: a competitive analysis approach. IEEE/ACM Trans. Netw. 22(1), 165–178 (2014)CrossRef
11.
Zurück zum Zitat Borodin, A., Linial, N., Saks, M.E.: An optimal on-line algorithm for metrical task system. J. ACM 39(4), 745–763 (1992). Also appeared in Proceedings of the 19th STOC, pp. 373–382 (1987)MathSciNetCrossRefMATH Borodin, A., Linial, N., Saks, M.E.: An optimal on-line algorithm for metrical task system. J. ACM 39(4), 745–763 (1992). Also appeared in Proceedings of the 19th STOC, pp. 373–382 (1987)MathSciNetCrossRefMATH
13.
Zurück zum Zitat Buchbinder, N., Chen, S., Naor, J.S.: Competitive algorithms for restricted caching and matroid caching. In: Schulz, A.S., Wagner, D. (eds.) ESA 2014. LNCS, vol. 8737, pp. 209–221. Springer, Heidelberg (2014) Buchbinder, N., Chen, S., Naor, J.S.: Competitive algorithms for restricted caching and matroid caching. In: Schulz, A.S., Wagner, D. (eds.) ESA 2014. LNCS, vol. 8737, pp. 209–221. Springer, Heidelberg (2014)
14.
Zurück zum Zitat Chowdhury, M., Zaharia, M., Ma, J., Jordan, M.I., Stoica, I.: Managing data transfers in computer clusters with orchestra. SIGCOMM CCR 41(4), 98–109 (2011)CrossRef Chowdhury, M., Zaharia, M., Ma, J., Jordan, M.I., Stoica, I.: Managing data transfers in computer clusters with orchestra. SIGCOMM CCR 41(4), 98–109 (2011)CrossRef
15.
Zurück zum Zitat Ding, C.H.Q., He, X., Zha, H., Gu, M., Simon, H.D.: A min-max cut algorithm for graph partitioning and data clustering. In: Proceedings of IEEE International Conference on Data Mining (ICDM), pp. 107–114 (2001) Ding, C.H.Q., He, X., Zha, H., Gu, M., Simon, H.D.: A min-max cut algorithm for graph partitioning and data clustering. In: Proceedings of IEEE International Conference on Data Mining (ICDM), pp. 107–114 (2001)
16.
Zurück zum Zitat Epstein, L., Imreh, C., Levin, A., Nagy-György, J.: Online file caching with rejection penalties. Algorithmica 71(2), 279–306 (2015)MathSciNetCrossRefMATH Epstein, L., Imreh, C., Levin, A., Nagy-György, J.: Online file caching with rejection penalties. Algorithmica 71(2), 279–306 (2015)MathSciNetCrossRefMATH
17.
Zurück zum Zitat Feige, U., Krauthgamer, R.: A polylogarithmic approximation of the minimum bisection. SIAM J. Comput. 31(4), 1090–1118 (2002)MathSciNetCrossRefMATH Feige, U., Krauthgamer, R.: A polylogarithmic approximation of the minimum bisection. SIAM J. Comput. 31(4), 1090–1118 (2002)MathSciNetCrossRefMATH
18.
Zurück zum Zitat Fiat, A., Karp, R.M., Luby, M., McGeoch, L.A., Sleator, D.D., Young, N.E.: Competitive paging algorithms. J. Algorithms 12(4), 685–699 (1991)CrossRefMATH Fiat, A., Karp, R.M., Luby, M., McGeoch, L.A., Sleator, D.D., Young, N.E.: Competitive paging algorithms. J. Algorithms 12(4), 685–699 (1991)CrossRefMATH
20.
21.
Zurück zum Zitat Kumar, A., Gupta, A., Roughgarden, T.: A constant-factor approximation algorithm for the multicommodity rent-or-buy problem. In Proceedings of 43rd Symposium on Foundations of Computer Science (FOCS) (2002) Kumar, A., Gupta, A., Roughgarden, T.: A constant-factor approximation algorithm for the multicommodity rent-or-buy problem. In Proceedings of 43rd Symposium on Foundations of Computer Science (FOCS) (2002)
22.
Zurück zum Zitat Lotker, Z., Patt-Shamir, B., Rawitz, D.: Rent, lease or buy: randomized algorithms for multislope ski rental. In: Proceedings of the 25th Symposium on Theoretical Aspects of Computer Science (STACS), pp. 503–514 (2008) Lotker, Z., Patt-Shamir, B., Rawitz, D.: Rent, lease or buy: randomized algorithms for multislope ski rental. In: Proceedings of the 25th Symposium on Theoretical Aspects of Computer Science (STACS), pp. 503–514 (2008)
23.
25.
Zurück zum Zitat Mogul, J.C., Popa, L.: What we talk about when we talk about cloud network performance. ACM SIGCOMM CCR 42, 44–48 (2012)CrossRef Mogul, J.C., Popa, L.: What we talk about when we talk about cloud network performance. ACM SIGCOMM CCR 42, 44–48 (2012)CrossRef
26.
29.
Zurück zum Zitat Sleator, D.D., Tarjan, R.E.: Amortized efficiency of list update and paging rules. Commun. ACM 28(2), 202–208 (1985)MathSciNetCrossRef Sleator, D.D., Tarjan, R.E.: Amortized efficiency of list update and paging rules. Commun. ACM 28(2), 202–208 (1985)MathSciNetCrossRef
30.
Zurück zum Zitat Young, N.E.: On-line caching as cache size varies. In: Proceedings of the 2nd ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 241–250 (1991) Young, N.E.: On-line caching as cache size varies. In: Proceedings of the 2nd ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 241–250 (1991)
Metadaten
Titel
Online Balanced Repartitioning
verfasst von
Chen Avin
Andreas Loukas
Maciej Pacut
Stefan Schmid
Copyright-Jahr
2016
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-662-53426-7_18

Premium Partner