期刊文献+

基于拥塞博弈的微服务运行时资源管理方法 被引量:5

A Runtime Resource Management Approach of Microservices Based on Congestion Game
下载PDF
导出
摘要 随着云计算技术的不断发展,微服务体系结构逐渐成为一种广泛应用的软件设计风格.在基于微服务的应用系统中,微服务数量众多、相互依赖关系复杂、持续在线演化等特征使得微服务运行时资源的有效管理面临新的挑战.本文充分考虑微服务之间的关系特征,提出了一种基于拥塞博弈理论的运行时资源管理方法.首先,对微服务之间的复杂依赖关系进行建模,给出了带权有向无环图描述的微服务调用关系模型;然后,基于微服务关系调用模型对各个微服务的请求到达频率进行计算,并用排队论中的M/G/1队列刻画微服务处理请求的过程,进而设计了一种以服务等级协议(Service Level Agreement)满足程度为衡量标准的服务收益函数;最后利用拥塞博弈模型刻画对计算资源的竞争关系,给出了求解博弈的纳什均衡状态的多项式算法.实验表明,该方法在计算资源有限的场景下可以有效地提高微服务应用的整体性能. With the continuous development of cloud computing technology,the microservice architecture has gradually become a widely used software design style.In microservice-based applications,different microservices collaborate with one another via interface calls,but they may also compete for limited resources during online evolvement.This poses new challenges for allocating resources efficiently during runtime.To tackle the problem,we propose a novel approach based on congestion game.Firstly,we use a weighted directed acyclic graph to model the inter-relationship of the microservices that compose an application.Then we use M/G/1 queue in queue theory to describe the arrival process of access requests,and combine it with the above graph to calculate the arrival rate of access requests to each microservice,which in turn is used to estimate response time in a newly-designed microservice revenue function.Finally,we define resources competing problem as a congestion game where each microservice is a player aiming to maximize its revenue,and propose an algorithm to find Nash equilibrium in polynomial time.Experiment results show that our approach can effectively improve the overall performance of the system with limited resources.
作者 罗睿辞 叶蔚 刘学洋 孙基男 张世琨 LUO Rui-ci;YE Wei;LIU Xue-yang;SUN Ji-nan;ZHANG Shi-kun(School of Electronics Engineering and Computer Science,Peking University,Beijing 100871,China;National Engineering Research Center for Software Engineering,Peking University,Beijing 100871,China)
出处 《电子学报》 EI CAS CSCD 北大核心 2019年第7期1497-1505,共9页 Acta Electronica Sinica
关键词 微服务体系结构 资源管理 博弈论 microservice architecture resource management game theory
  • 相关文献

参考文献3

二级参考文献38

共引文献36

同被引文献41

引证文献5

二级引证文献19

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部