Computer Science ›› 2021, Vol. 48 ›› Issue (6): 276-281.doi: 10.11896/jsjkx.200500152

• Computer Network • Previous Articles     Next Articles

Dynamic Loading Algorithm for Docker Container

LIU Bang-bang1, YI Guo-hong2, HUANG Zu-yuan1   

  1. 1 School of Computer Science & Engineering,Wuhan Institute of Technology,Wuhan 430205,China
    2 Hubei Key Laboratory of Intelligent Robot(Wuhan Institute of Technology),Wuhan 430205,China
  • Received:2020-05-28 Revised:2020-09-12 Online:2021-06-15 Published:2021-06-03
  • About author:LIU Bang-bang,born in 1995,postgra-duate.His main research interests include software testingand cloud computing.(928944920@qq.com)
    YI Guo-hong,born in 1972,professor.His main research interests include software testing and cloud computing.
  • Supported by:
    Research Fund for Feature Level Autonomous and Unified Restoration of Multispectral Images in Space Exploration(61671337).

Abstract: To improve anti concurrency and the average response time of docker container server cluster,a DLOAD(Dynamic Loading Algorithm) for dynamically loading container server is designed.Based on the WRR load algorithm,this algorithm refe-rences the concept of real-time weight,makes up for the shortcomings of WRR algorithm in weight setting,and optimizes the load algorithm of docker container server.DLOAD algorithm will record the resource information of the server,take the ratio of container connections,CPU utilization,memory utilization,network IO,disk IO and average response time as parameters,calculate the real-time weight of container,and record the real-time weight in the weight table of the load server.After the load server queries the weight table,it calls the WRR algorithm and recommends the best Docker container server ID to load.Through the simulation experiment,the average response time and throughput of docker container server before and after the improvement are analyzed and compared.It is concluded that the improved DLOADalgorithm can improve the average response time and anti concurrency of the server more efficiently than other algorithm,and improve the performance of the container server.

Key words: Anti-concurrency, Container server, Docker, Dynamically loading, High concurrency, Real-time weight

CLC Number: 

  • P391
[1]WEN Z,LI G,YANG G.Research and Realization of Nginx-based Dynamic Feedback Load Balancing Algorithm[C]//2018 IEEE 3rd Advanced Information Technology,Electronic and Automation Control Conference (IAEAC).Chongqing,2018:2541-2546.
[2]CHI X,LIU B,NIU Q,et al.Web Load Balance and Cache Optimization Design Based Nginx under High-Concurrency Environment[C]//2012 Third International Conference on Digital Ma-nufacturing & Automation.Guilin,2012:1029-1032.
[3]GUO G,YU J,LU L,et a1.Data migration model based on RAM Cloud hierarchical storage architecture[J].Journal of Computer Applications,2015,35(12):3392-3397.
[4]WANG L,TAO J,KUNZE M,et al.Scientific Cloud Compu-ting:Early Definition and Experience[C]//2008 10th IEEE International Conference on High Performance Computing and Communications.Dalian,2008:825-830.
[5]JOY A M.Performance comparison between Linux containersand virtual machines[C]//Proceedings of 2015 International Conference on Advances in Computer Engineering and Applications.Ghaziabad:IEEE,2015:342-346.
[6]Docker Inc.Evolution of the Modern Software Supply Chain[EB/OL].[2018-04-23].https://goto.docker.com/rs/929-FJL-178/images/Docker-Survey-2016.pdf.
[7]MADHUMATHI R.The Relevance of Container Monitoring towards Container Intelligence[C]//ICCCNT.IEEE,2018:1-5.
[8]CHUNG M T,QUANG-HUNG N,NGUYEN M,et al.Using Docker in high performance computing applications[C]//2016 IEEE Sixth International Conference on Communications and Electronics (ICCE).Ha Long,2016:52-57.
[9]GOPALASINGHAM A,HERCULEA D G,CHEN C S,et al.Virtualization of radio access network by Virtual Machine and Docker:Practice and performance analysis[C]//2017 IFIP/IEEE Symposium on Integrated Network and Service Management (IM).Lisbon,2017:680-685.
[10]FELTER W,FERREIRA A,RAJAMONY R,et al.An updated performance comparison of virtual machines and Linuxcontai-ners[C]//2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS).Philadelphia,PA,2015:171-172.
[11]SHU A,PENG X,ZHAO W Y.Adaptive management of cloud computing resources based on container technology [J].Computer Science,2017,44 (7):120-127.
[12]LIN W,QI D Y.Survey of resource scheduling in cloud computing[J].Computer Science,2012,39(10):1-6.
[13]LIU Q,E H H,SONG M.The Design of Multi-Metric Load Bala-ncer for Kubernetes[C]//2020 InternationalConference on Inventive Computation Technologies (ICICT).Coimbatore,India,2020:1114-1117.
[14]FOURATI M H,MARZOUK S,DRIRA K,et al.DOCKERANALYZER:Towards Fine Grained Resource Elasticity for Microservices-Based Applications Deployed with Docker[C]//2019 20th International Conference on Parallel and Distributed Computing,Applications and Technologies (PDCAT).Gold Coast,Australia,2019:220-225.
[15]BERNSTEIN D.Containers and cloud:From LXC to docker to Kubernetes[J].IEEE Cloud Computing,2014,1(3):81-84.
[16]YANG C.Checkpoint and Restoration of Micro-service in Doc-ker Containers[C]//3rd International Conference on Mechatro-nics and Industrial Informatics.2015:915-918.
[17]LEI Q,LIAO W,JIANG Y,et al.Performance and Scalability Testing Strategy Based on Kubemark[C]//2019 IEEE 4th International Conference on Cloud Computing and Big Data Ana-lysis (ICCCBDA).Chengdu,China,2019:511-516.
[1] YU Chang-fa, CHEN Xue-lin, YANG Xiao-hu. Design and Implementation of Distributed TensorFlow Platform Based onKubernetes [J]. Computer Science, 2018, 45(11A): 527-531.
[2] WANG Xi-bo, GE Hong-shuai, WANG Rui-quan and LIN Hai. Design of High Concurrent Communication Server of Elevator Remote Monitoring System [J]. Computer Science, 2017, 44(4): 157-160.
[3] HU Xing, WANG Ze-rui, LI Shuo, YANG Nan, ZHANG Zhi-fan, WANG Qiao and WANG Qian-xiang. POP:Micro-service Based Online Programming System [J]. Computer Science, 2017, 44(4): 8-11.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!