作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2018, Vol. 44 ›› Issue (5): 53-59. doi: 10.19678/j.issn.1000-3428.0047130

• 体系结构与软件技术 • 上一篇    下一篇

微服务应用平台的网络性能研究与优化

毕小红,刘渊,陈飞   

  1. 江南大学 数字媒体学院,江苏 无锡 214122
  • 收稿日期:2017-05-10 出版日期:2018-05-15 发布日期:2018-05-15
  • 作者简介:毕小红(1989—),男,硕士研究生,主研方向为微服务、容器虚拟化技术;刘渊,教授、博士生导师;陈飞,副教授、博士。
  • 基金资助:
    国家重点研发计划项目(2016YFB0800305);国家自然科学基金(61672264);江苏省研究生培养创新工程项目(SJZZ16_0218)。

Research and Optimization of Network Performance for Micro-service Application Platform

BI Xiaohong,LIU Yuan,CHEN Fei   

  1. School of Digital Media Institute,Jiangnan University,Wuxi,Jiangsu 214122,China
  • Received:2017-05-10 Online:2018-05-15 Published:2018-05-15

摘要: Kubernetes所使用的覆盖网络工具Flannel通过NAT机制实现容器服务通信,该通信模式会产生较大的网络性能损耗。为此,基于Calico网络容器化应用平台,提出一种微服务容器化应用方案。利用网络性能测试工具IPerf3对常见的虚拟化网络软件进行性能评估,将网络软件的特性功能与Kubernetes集成相结合,建立微服务容器化的应用平台。实验结果表明,在吞吐率、传输速率方面,该方案相对于Flannel可以提高约50%的网络性能,有利于实际生产环境中微服务的应用实现。

关键词: 容器化平台, 虚拟网络, 微服务, 分布式系统, 云计算

Abstract: The overlay network tool,Flannel,used by Kubernetes implements the container service communication through NAT,which will produce large network performance loss.Therefore,based on the Calico network container application platform,a kind of application scheme for micro-service container is proposed.The performance evaluation of several virtualized network software is carried out by using the network performance testing tool IPerf3.Combining the features and functions of the network software with the Kubernetes integration,the application platform of micro-service containerization is realized.Experimental results show that,in terms of throughput and transmission rate,the proposed scheme can improve the network performance by about 50% compared to Flannel,which is more conducive to the application of micro-service in the actual production environment.

Key words: container platform, virtual network, micro-service, distributed system, cloud computing

中图分类号: