摘要
针对基于Docker容器的分布式云计算下出现负载不均衡问题,有必要将较高负载服务器中的Docker容器进程迁移到其他相对空闲的服务器上.而传统的容器迁移算法忽视了容器本身的特征,从而导致在迁移过程中传输效率低下.基于此,利用第三方管理平台和数据预存储阈值机制,提出一种Docker容器动态迁移预存储算法PF-Docker.首先将Docker容器内部进程运行相关文件和流动数据预存至云端存储器,然后通过预存储阈值机制减少流动数据的无效传输,最后在停机传输阶段将流动数据和冗余数据传输给目的服务器.实验表明,该方法在Docker容器迁移中能有效地降低迁移时间,减少数据传输量,提高容器的容错率.
In order to solve the problem of load imbalance in distributed cloud computing based on Docker container,it is necessary to migrate Docker container processes in high load servers to other relatively idle servers.However,the traditional container migration algorithm ignores the characteristics of the container itself,which leads to low transfer efficiency in the migration process.Based on this,this paper proposes a Docker container dynamic migration pre-storage algorithm PF-Docker by using third-party management platform and data pre-storage threshold mechanism.Firstly,relevant files and flowing data of Docker internal process operation are pre-stored to cloud storage,and then invalid transmission of flowing data is reduced through pre-storage threshold mechanism.Finally,flowing data and redundant number are reported to the destination server in the shutdown transmission stage.Experiments show that this method can effectively reduce the migration time,reduce the amount of data transmission and improve the fault tolerance rate of Docker container migration.
作者
赵旭
李艳梅
罗建
罗金梅
ZHAO Xu;LI Yan-Mei;LUO Jian;LUO Jin-Mei(School of Computer Science,China West Normal University,Nanchong 637009)
出处
《自动化学报》
EI
CAS
CSCD
北大核心
2023年第11期2426-2436,共11页
Acta Automatica Sinica
基金
国家自然科学基金(61731330)
教育部产学协同育人项目(201801154055,201801246016,201802003022)
四川省教育厅自然科学重点项目(18ZA0468,14ZA0123)
西华师范大学创新团队项目(CXTD2014-11)
西华师范大学博士启动项目(13E005)
西华师范大学英才基金项目(17YC155,17YC157)资助。