计算机科学 ›› 2018, Vol. 45 ›› Issue (9): 46-51.doi: 10.11896/j.issn.1002-137X.2018.09.006
朱瑜坚1,2, 马俊明1, 安博1,2, 曹东刚1,2
ZHU Yu-jian1,2, MA Jun-ming1, AN Bo1,2, CAO Dong-gang1,2
摘要: 目前,越来越多的云平台开始采用容器组成的集群为云服务提供运行环境,而如何在多租户环境下为用户的容器集群提供高效且可用的网络成为了一个重要的技术问题。对此,以Linux容器为例,提出了一种面向多租户的Linux容器集群组网方法。这种方法参考了Kubernetes的组网方法,并在其基础上简化了网络结构,并引入了网络隔离,使得构建的网络能够满足多用户场景下的需求。文中描述了此种组网方法在小规模和大规模应用场景下的设计和它在虚拟云操作系统Docklet中的实现,实现的代码是开源的,并且进行了实验与评估。实验证明,这一组网方法所构成的虚拟网络与原生网络的性能相当接近,其TCP出口下行带宽与原生网络相差0.4%以内,而TCP内部通信带宽只损失了约3.39%,且对批处理型应用和长服务型应用都有良好的支撑。
中图分类号:
[1]FELTER W,FERREIRA A,RAJAMONY R,et al.An updated performance comparison of virtual machines and linux containers[C]∥2015 IEEE International Symposium on Performance Analysis of Systems and Soft-ware(ISPASS).IEEE,2015:171-172. [2]SEO K T,HWANG H,MOON I,et al.Performance comparison analysis of linux container and virtual machine for building cloud[C]∥Networking and Communication.2014:105-111. [3]VERMA A,PEDROSA L,KORUPOLU M,et al.Large-scale cluster management at Google with Borg[C]∥Proceedings of the Tenth European Conference on Computer Systems.ACM,2015:18. [4]张阜兴.知乎万级规模容器平台架构和实战[EB/OL].(2016-11-18)[2017-07-11].http://www.infoq.com/cn/presentations/platform-architecture-and-combatof-zhihu-container-platform. [5]WANG H,SHI P,ZHANG Y.Jointcloud:A Cross-cloud copperation Architecture for integrated internet Service Customization[C]∥IEEE,International Conference on Distributed Computing Systems.IEEE,2017:1846-1855. [6]CUI W,ZHAN H,LI B,et al.Cluster as a Service:a Container based Cluster Sharing Approach with multi-user Support[C]∥2016 IEEE Symposium on Service-Oriented System Engineering(SOSE).IEEE,2016:111-118. [7]BERNSTEIN D.Containers and cloud:From lxc to docker to kubernetes[J].IEEE Cloud Computing,2014,1(3):81-84. [8]BURNS B,Grant B,Oppenheimer D,et al.Borg,omega,and kubernetes[J].Communications of the ACM,2016,59(5):50-57. [9]MARMOL V,JNAGAL R,HOCKIN T.Networking in contai-ners and container clusters[J/OL].https://www.mendeley.com/research-papers/networking-containers-container-clusters1. [10]The Kubernetes Authors.Kubernetes OpenVSwitch GRE/VxLAN networking [EB/OL].[2017-07-08].https://kubernetes.io/docs/admin/ovs-networking. [11]MERKEL D.Docker:lightweight linux containers for consistent development and deployment[OL].http://docs.docker.com. [12]Docker Inc.Docker Documentation [EB/OL].[2017-07-10].https://docs.docker.com. |
[1] | 张纪林, 邵玉曹, 任永坚, 袁俊峰, 万健, 周丽. 支持多租户模式的业务流程动态定制模型 Dynamic Customization Model of Business Processes Supporting Multi-tenant 计算机科学, 2022, 49(6A): 705-713. https://doi.org/10.11896/jsjkx.210200104 |
[2] | 高诗尧, 陈燕俐, 许玉岚. 云环境下基于属性的多关键字可搜索加密方案 Expressive Attribute-based Searchable Encryption Scheme in Cloud Computing 计算机科学, 2022, 49(3): 313-321. https://doi.org/10.11896/jsjkx.201100214 |
[3] | 耿海军, 王威, 尹霞. 基于混合软件定义网络的单节点故障保护方法 Single Node Failure Routing Protection Algorithm Based on Hybrid Software Defined Networks 计算机科学, 2022, 49(2): 329-335. https://doi.org/10.11896/jsjkx.210100051 |
[4] | 王政, 姜春茂. 一种基于三支决策的云任务调度优化算法 Cloud Task Scheduling Algorithm Based on Three-way Decisions 计算机科学, 2021, 48(6A): 420-426. https://doi.org/10.11896/jsjkx.201000023 |
[5] | 潘瑞杰, 王高才, 黄珩逸. 云计算下基于动态用户信任度的属性访问控制 Attribute Access Control Based on Dynamic User Trust in Cloud Computing 计算机科学, 2021, 48(5): 313-319. https://doi.org/10.11896/jsjkx.200400013 |
[6] | 陈玉平, 刘波, 林伟伟, 程慧雯. 云边协同综述 Survey of Cloud-edge Collaboration 计算机科学, 2021, 48(3): 259-268. https://doi.org/10.11896/jsjkx.201000109 |
[7] | 董仕. 软件定义网络安全问题研究综述 Survey on Software Defined Networks Security 计算机科学, 2021, 48(3): 295-306. https://doi.org/10.11896/jsjkx.200300119 |
[8] | 王文娟, 杜学绘, 任志宇, 单棣斌. 基于因果知识和时空关联的云平台攻击场景重构 Reconstruction of Cloud Platform Attack Scenario Based on Causal Knowledge and Temporal- Spatial Correlation 计算机科学, 2021, 48(2): 317-323. https://doi.org/10.11896/jsjkx.191200172 |
[9] | 蒋慧敏, 蒋哲远. 企业云服务体系结构的参考模型与开发方法 Reference Model and Development Methodology for Enterprise Cloud Service Architecture 计算机科学, 2021, 48(2): 13-22. https://doi.org/10.11896/jsjkx.200300044 |
[10] | 高明, 周慧颖, 焦海, 应丽莉. 基于加权图的链路映射算法 Link Mapping Algorithm Based on Weighted Graph 计算机科学, 2021, 48(11A): 476-480. https://doi.org/10.11896/jsjkx.201200216 |
[11] | 毛瀚宇, 聂铁铮, 申德荣, 于戈, 徐石成, 何光宇. 区块链即服务平台关键技术及发展综述 Survey on Key Techniques and Development of Blockchain as a Service Platform 计算机科学, 2021, 48(11): 4-11. https://doi.org/10.11896/jsjkx.210500159 |
[12] | 高雅卓, 刘亚群, 张国敏, 邢长友, 王秀磊. 基于多阶段博弈的虚拟化蜜罐动态部署机制 Multi-stage Game Based Dynamic Deployment Mechanism of Virtualized Honeypots 计算机科学, 2021, 48(10): 294-300. https://doi.org/10.11896/jsjkx.210500071 |
[13] | 王勤, 魏立斐, 刘纪海, 张蕾. 基于云服务器辅助的多方隐私交集计算协议 Private Set Intersection Protocols Among Multi-party with Cloud Server Aided 计算机科学, 2021, 48(10): 301-307. https://doi.org/10.11896/jsjkx.210300308 |
[14] | 张恺琪, 涂志莹, 初佃辉, 李春山. 基于排队论的服务资源可用性相关研究综述 Survey on Service Resource Availability Forecast Based on Queuing Theory 计算机科学, 2021, 48(1): 26-33. https://doi.org/10.11896/jsjkx.200900211 |
[15] | 雷阳, 姜瑛. 云计算环境下关联节点的异常判断 Anomaly Judgment of Directly Associated Nodes Under Cloud Computing Environment 计算机科学, 2021, 48(1): 295-300. https://doi.org/10.11896/jsjkx.191200186 |
|