Abstract
With the rapid increase of applications in 5G and Internet of Things, mobile edge computing (MEC) has been proposed to reduce the burden of central cloud and decrease the users request delay by deploying edge servers and edge services close to users. Due to resources constraint of edge servers and disadvantage of standalone placement optimization of edge servers or edge services, the discussion focusing on the combining optimization of server placement and service placement has engendered. At present, the placement combination is studied with strict assumption constrains, such as homogeneous service and server with unlimited resources, which are not suitable for the reality scenarios. This paper proposes Placement Combination between Heterogeneous Services and heterogeneous capacitated Servers (PCHSS). PCHSS aims to minimize the delay in computation and transmission as well as to balance resources in edge servers. Because the placement combination optimization is a NP-hard problem, we propose two solution algorithms named FHPC and IUPC. Both algorithms have a two-layer iterative optimization structure with different convergence time and result performances. FHPC can converge to a good result quickly, and IUPC can achieve better results with a relatively higher computational complexity. Then we prove that both algorithms can converge in polynomial time. Extensive simulations demonstrate the significant effectiveness of the placement combination, and our algorithms can reduce the user request delay by up to 51% compared with baseline algorithms.
Similar content being viewed by others
Data Availability
The data analysed during the current study are available from the first author on reasonable request.
References
Chun, B.G., Ihm, S., Maniatis, P., Naik, M., Patti, A.: CloneCloud: elastic execution between mobile device and cloud. In: Proceedings of the sixth conference on computer systems (EuroSys), pp. 301–314 (2011)
Cuervo, E., Balasubramanian, A., Cho, D.K., Wolman, A., Saroiu, S., Chandra, R., Bahl, P.: MAUI: making smartphones last longer with code offload. In: Proceedings of the 8th international conference on mobile systems, applications, and services(MobiSys), pp. 49–62 (2010)
Satyanarayanan, M., Bahl, P., Caceres, R., Davies, N.: The case for VM-based cloudlets in mobile computing. IEEE Pervasive Comput. 8(4), 14–23 (2009)
ETSI.: Mobile edge computing (mec); framework and reference architecture, etsi gs mec 003 v1.1.1. Accessed 01 March 2016, https://standards.globalspec.com/std/10001572/etsi-gs-mec-003 (2016)
Meng, J., Zeng, C., Tan, H., Li. Z., Li. B., Li, X.Y.: Joint heterogeneous server placement and application configuration in edge computing.. In: 2019 IEEE 25th international conference on parallel and distributed systems(ICPADS), pp. 488–497 (2019)
Xu, Z., Liang, W., Xu, W., Jia, M., Song, G.: Efficient algorithms for capacitated cloudlet placements. IEEE Trans. Parallel Distrib. Syst. 27, 2866–2880 (2016)
Lähderanta, T., Leppänen, T., Ruha, L., Lovén, L., Harjula, E., Ylianttila, M., Riekki, J., Sillanpää, M.J.: Edge computing server placement with capacitated location allocation. J. Parall. Distributed Comput. 130–149, 153 (2021)
Wang, S., Zhao, Y., Xu, J., Yuan, J., Hsu, C.: Edge server placement in mobile edge computing. J Parall. Distributed Comput. 160–168, 127 (2018)
Mondal, S., Das, G., Wong, E.: CCOMPASSION: a hybrid cloudlet placement framework over passive optical access networks. In: IEEE INFOCOM 2018 - IEEE conference on computer communications(INFOCOM), pp. 216–224 (2018)
Wang, J., Liu, K., Pan, J.: Online UAV-mounted edge server dispatching for mobile-to-mobile edge computing. IEEE Int. Things J. 7(2), 1375–1386 (2020)
Ma, X., Zhou, A., Zhang, S., Wang, S.: Cooperative service caching and workload scheduling in mobile edge computing. In: IEEE INFOCOM 2020 - IEEE conference on computer communications(INFOCOM), pp. 2076–2085 (2020)
Yang, L., Cao, J., Liang, G., Han, X.: Cost aware service placement and load dispatching in mobile cloud systems. IEEE Trans. Comput. 65(5), 1440–1452 (2016)
Chen, L., Shen, C., Zhou, P., Xu, J.: Collaborative service placement for edge computing in dense small cell networks. IEEE Trans. Mobile Comput. 20(2), 377–390 (2021)
Wang, L., Jiao, L., He, T., Li, J., Bal, H.: Service placement for collaborative edge applications. IEEE/ACM Trans. Netw. 29(1), 34–47 (2021)
Liang, Y., Ge, J., Zhang, S., Wu, J., Pan, L., Zhang, T., Luo, B.: Interaction-oriented service entity placement in edge computing. IEEE Trans. Mobile Comput. 20(3), 1064–1075 (2021)
Zhang, Y., Jiao, L., Yan, J., Lin, X.: Dynamic service placement for virtual reality group gaming on mobile edge cloudlets. IEEE J. Select. Areas Commun. 27(8), 1881–1897 (2019)
Hosseinzadeh, M., Masdari, M., Rahmani, A.M.: Improved butterfly optimization Algorithm for Data Placement and Scheduling in Edge Computing Environments. J Grid Comput., https://doi.org/10.1007/s10723-021-09556-0 (2021)
Zhang, C., Zhang, H., Qiao, J., Yuan, D., Zhang, M.: Deep transfer learning for intelligent cellular traffic prediction based on cross-domain big data. IEEE J. Selec. Areas Commun. 37 (6), 1389–1401 (2019)
Charikar, M., Guha, S., Tardos, E., David, B.: Shmoys: a constant-factor approximation algorithm for the k-median problem. J. Comput. Syst Sci. 65(1), 129–149 (2002)
Chudak, F.A., Shmoys, D.B.: Improved approximation algorithms for capacitated facility location problems. In: Proceedings of the 7th international IPCO conference on integer programming and combinatorial optimization, pp. 99–113 (1999)
Pál, M., Tardos, E., Wexler, E.: Facility location with nonuniform hard capacities. In: Proceedings of the 42nd IEEE symposium on foundations of computer science (FOCS ’01), pp. 329 (2001)
Sahni, S.: Approximate algorithms for the 0/1 Knapsack problem. J. ACM. 22(1), 115–124 (1975)
Ford, L.R., Fulkerson, D.R.: Maximal flow through a network. Canadian J. Math. 8, 399–404 (1956)
Dinic, E.A.: Algorithm for solution of a problem of maximum flow in networks with power estimation. Soviet Math. Doklady. 194, 757–757 (1970)
Edmonds, J., Karp, R.M.: Theoretical improvements in algorithmic efficiency for network flow problems. J. ACM. 19(2), 248–264 (1972)
Shiloach, Y., Vishkin, U.: An O(n2logn) parallel max-flow algorithm. J. Algorithms. 3(2), 128–146 (1972)
Goldberg, A.V., Tarjan, R.E.: A new approach to the maximum-flow problem. J. ACM. 35(4), 921–940 (1988)
Goldberg, A.V.: The Partial augment–relabel algorithm for the maximum flow problem. Algorithms - ESA 2008:466–477 (2008)
Lynch, S. M.: Introduction to applied bayesian statistics and estimation for social scientists. Springer (2007)
Gilks, W.R., Richardson, S., Spiegelhalter, D.J.: Markov chain monte carlo in practice. Chapman and Hall (2007)
Xu, J., Chen, L., Zhou, P.: Joint service caching and task offloading for mobile edge computing in dense networks. . In: IEEE INFOCOM 2018 - IEEE conference on computer communications, pp. 207–215 (2018)
Reiss, C., Wilkes, J., Hellerstein, J.L.: Google cluster-usage traces: format + schema. revised 2014-11-17 for version 2.1. Accessed 17 November 2014, https://code.google.com/p/googleclusterdata/wiki/Cluste-%5CrData2011_1 (2014)
Acknowledgements
Thanks to other members of the laboratory team for their wonderful ideas on the design of simulations.
Funding
This work was supported by Natural Science Foundation of Shandong Province under Grand ZR2022MF299.
Author information
Authors and Affiliations
Contributions
Fangzheng Yuan and Jinfeng Dou wrote the main manuscript text. Fangzheng Yuan prepared all figures and simulations. Jiabao Cao verified and revised the English writing of the manuscript text. Xuejia Meng and Xiaoguang Ma prepared the related material. Zhongwen Guo examined the manuscript. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: A
Appendix: A
Let \(D=\left (d_{1},d_{2},...,d_{S}\right )\) be the service placement decision space of edge servers, and in each iteration, a random edge server m randomly chooses a service placement decision from D. With Algorithm 3 iterating over the edge servers and the service placement decision space, the edge service placement policy Ser evolves as a N-dimension Markov chain, in which each dimension represents the service placement decision of each edge server. For the convenience of presentation, we analyze the scenario with 2 edge nodes, and the 2-dimension Markov chain is denoted as < ser1,ser2 >. In each iteration, one randomly selected edge server m virtually changes its current caching decision to a random service placement decision from ds, thus there is
where y(< ser1,ser2 >) is the objective value when the service placement policy is < ser1,ser2 >. In this scenario, N = 2. Let π(< ser1,ser2 >) denote the stationary probability distribution of service placement policy < ser1,ser2 >, then π(< ser1,ser2 >) can be derived by the fine stationary condition of the Markov chain as
Substitute (1), (2) into (3), it can be derived that
It can be observed that (4) is symmetric and can be balanced if π(< d1,d2 >) has the form of \(\pi (<d_{1},d_{1}>) = \gamma e^{-\frac {y(<d_{1},d_{2}>)}{\varphi }}\) where γ is a constant. let ℵ be the service placement policy space. To ensure \({\sum }_{<d_{1},d_{2}>\in \aleph }{\pi \left (<d_{1},d_{2}>\right )=1}\), the stationary probability distribution \(\pi \left (<d_{1},d_{2}>\right )\) should be given as
(5) can be rewritten as \(\pi (<d_{1},d_{2}>) = \frac {1}{{\sum }_{<{d_{1}^{f}},{d_{1}^{2}}>\in \aleph }{e^{-\frac {y(<d_{1},d_{2}>)-y\left (<{d_{1}^{f}},{d_{2}^{f}}>\right )}{\varphi }}}}\). Let \(<d_{1}^{\ast },d_{2}^{\ast }>\) be the globally optimal solution that minimizes the objective value, i.e.,\(<d_{1}^{\ast },d_{2}^{\ast }>\leq any <{d_{1}^{f}},{d_{2}^{f}}>\in \aleph \). It can be concluded that \(\pi (<d_{1}^{\ast },d_{2}^{\ast }>)\) increases as φ decreases, and \(\pi (<d_{1}^{\ast },d_{2}^{\ast }>) = 1\) when \(\varphi \rightarrow 0\).
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Dou, J., Yuan, F., Cao, J. et al. Placement Combination between Heterogeneous Services and Heterogeneous Capacitated Servers in Edge Computing. J Grid Computing 21, 16 (2023). https://doi.org/10.1007/s10723-023-09644-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10723-023-09644-3