GAO Yu,TAO Hongcai.Topology Discovery and Service Evaluation of Microservice Service based on Kubernetes[J].Journal of Chengdu University of Information Technology,2019,(03):223-227.[doi:10.16836/j.cnki.jcuit.2019.03.002]
基于Kubernetes的微服务业务拓扑发现及业务评价
- Title:
- Topology Discovery and Service Evaluation of Microservice Service based on Kubernetes
- 文章编号:
- 2096-1618(2019)03-0223-05
- 关键词:
- Kubernetes; 微服务; 业务拓扑; 业务评价; 繁忙度
- Keywords:
- Kubernetes; micro-services; business topology; business evaluation; busy degree
- 分类号:
- TP393.022
- 文献标志码:
- A
- 摘要:
- 随着Kubernetes在各个云服务平台的广泛使用,在云上获取业务逻辑流向和可视化业务关系,对云上业务进行评估,有利于业务管理人员及时发现并解决问题。在以Weave Scope conntrack方式获取业务拓扑的基础上,使用TCP流量抓包方式获取业务拓扑,弥补了conntrack未记录某些转发信息的情形。将权重计算方法应用到Kubernetes中的微服务业务,结合业务中的资源并利用业务的繁忙度来评估业务。使用变权法对熵权法得到的常权重进行修正,以使业务繁忙度的计算更加准确。
- Abstract:
- With the wide use of Kubernetes in various cloud service platforms, it is beneficial for business managers to find and solve problems in time by acquiring business logic flow, visualizing business relationships and evaluating cloud services. Based on the Weave Scope conntrack method to obtain the service topology, this paper uses the TCP traffic capture method to obtain the service topology, which makes up for the fact that conntrack does not record some forwarding information. And the weight calculation method is applied to the micro-service in Kubernetes, combining the resources in the service, using the busy degree of the service to evaluate the service.The constant weight obtained by entropy weight method is modified by variable weight method to make the calculation of busy degree more accurate.
参考文献/References:
[1] 田兵,王玮,苏琦.基于微服务架构的应用性能监控平台研究[J].信息技术与信息化.2018,(1):125-128.
[2] Kubernetes是什么[EB/OL].http://docs.kubernetes.org.cn/227.html,2018-6-12.
[3] 潘昆豪.应用性能管理中应用性能分类评估系统的研究与实现[D].北京:北京邮电大学,2014.
[4] 梁伟,杨明川,冯明.应用性能管理技术的研发与应用[J].电信技术,2017(6):42-45.
[5] Introducing Weave Scope[EB/OL].https://www.weave.works/docs/scope/latest/introducing/,2018-12-10.
[6] 严宏,孟晓东.状态检测防火墙中流量采集的研究与实现[J].福建电脑,2008(9):167-168.
[7] eBPF简史[EB/OL].https://www.ibm.com/developerworks/cn/linux/l-lo-eBPF-history/,2018-12-15.
[8] 肖扬,于艳华.基于Iaas云平台的应用性能管理研究与应用[J].软件,2013(12):241-245.
[9] Merkel D.Docker:lightweight Linux containers for consistent development and deployment[J].2014(239).
[10] 于泽萍.面向微服务架构的容器云平台设计与实现[D].哈尔滨:哈尔滨工业大学.2018.
[11] 龚正.Kubernetes权威指南[M].北京:电子工业出版社,2017.
[12] 艾鹏.网络攻击效果评估技术研究与实现[D].长沙:国防科学技术大学,2015.
[13] 朱怡安,周延年,夏平.基于熵权的嵌入式计算机性能灰估计[J].西北工业大学学报,2012,30(5):647-651.
[14] 杨雪莹.基于改进层次分析法的配电网规划综合评价方法[D].武汉:华中科技大学,2015.
[15] 张恺伦.电力系统中典型扰动性负荷的电能质量影响研究[D].杭州:浙江大学,2013.
备注/Memo
收稿日期:2019-02-05 基金项目:国家自然科学基金资助项目(61505168)