Vol.64, No.3, 2020, pp.1657-1671, doi:10.32604/cmc.2020.09840
OPEN ACCESS
ARTICLE
A DRL-Based Container Placement Scheme with Auxiliary Tasks
  • Ningcheng Yuan1, Chao Jia2, *, Jizhao Lu3, Shaoyong Guo1, Wencui Li3, Xuesong Qiu1, Lei Shi4
1 Beijing University of Posts and Telecommunications, Beijing, 100876, China.
2 China Electronics Standardization Institute, Beijing, China.
3 Communication Operation Center, State Grid Henan Electric Power Company Information & Telecommunication Company, Zhengzhou, China.
4 Institute of Technology Carlow, Carlow, Ireland.
* Corresponding Author: Chao Jia. Email: jiachao@cesi.cn.
Received 21 January 2020; Accepted 02 April 2020; Issue published 30 June 2020
Abstract
Container is an emerging virtualization technology and widely adopted in the cloud to provide services because of its lightweight, flexible, isolated and highly portable properties. Cloud services are often instantiated as clusters of interconnected containers. Due to the stochastic service arrival and complicated cloud environment, it is challenging to achieve an optimal container placement (CP) scheme. We propose to leverage Deep Reinforcement Learning (DRL) for solving CP problem, which is able to learn from experience interacting with the environment and does not rely on mathematical model or prior knowledge. However, applying DRL method directly dose not lead to a satisfying result because of sophisticated environment states and huge action spaces. In this paper, we propose UNREAL-CP, a DRL-based method to place container instances on servers while considering end to end delay and resource utilization cost. The proposed method is an actor-critic-based approach, which has advantages in dealing with the huge action space. Moreover, the idea of auxiliary learning is also included in our architecture. We design two auxiliary learning tasks about load balancing to improve algorithm performance. Compared to other DRL methods, extensive simulation results show that UNREAL-CP performs better up to 28.6% in terms of reducing delay and deployment cost with high training efficiency and responding speed.
Keywords
Container placement, deep reinforcement learning, auxiliary learning.
Cite This Article
Yuan, N., Jia, C., Lu, J., Guo, S., Li, W. et al. (2020). A DRL-Based Container Placement Scheme with Auxiliary Tasks. CMC-Computers, Materials & Continua, 64(3), 1657–1671.