信息与电脑2023年第10期Information&Computer算法语言基于云环境的数据中台能耗感知的微服务任务调度算法研究张利益宋静(安徽继远软件有限公司,安徽合肥摘要:在云环境下,为解决数据中台微服务任务调度存在的能耗浪费问题,结合虚拟资源节点所产生的实际能耗情况,构建了所需能耗的效益函数,并提出一套新型、先进的启发式微服务任务调度算法。该算法主要包括任务映射算法和串行任务合并算法。其中:任务映射算法结合单个工作流任务差异性,选出最佳虚拟机的类型;串行任务合并算法主要用于对不同工作流的合并处理,从而形成符合相关约束条件的子任务。仿真实验结果表明,和同类算法相比,该算法具有操作简单和能耗优化性能高等特点,完全满足实际应用需求,以期为相关人员提供有效的借鉴和参考。关键词:数据中台;云计算;能耗;微服务;任务调度中图分类号:TP301.6ResearchonMicroserviceTaskSchedulingAlgorithmBasedonCloudEnvironmentDataCenterEnergyConsumptionPerception巴230000)文献标识码:A文章编号:1003-9767(2023)10-085-03ZHANGLiyi,SONGJing(AnhuiJiyuanSoftwareCo.,Ltd.,HefeiAnhui230000,China)Abstract:Inthecloudenvironment,thisarticleaimstosolvetheenergywasteproblemindatacentermicroservicetaskscheduling.Basedontheactualenergyconsumptiongeneratedbyvirtualresourcenodes,therequiredenergyefficiencyfunctionisconstructed,andanewandadvancedheuristicmicroservicetaskschedulingalgorithmisproposed.Thisalgorithmmainlyincludestaskmappingalgorithmandserialtaskmergingalgorithm.Amongthem,thetaskmappingalgorithmcombinesthedifferencesofindividualworkflowtaskstoselecttheoptimaltypeofvirtualmachine.Theserialtaskmergingalgorithmismainlyusedformergingdifferentworkflowstoformsubtasksthatmeetrelevantconstraints.Thesimulationtestresultsshowthatcomparedwithsimilaralgorithms,thisalgorithmhasthecharacteristicsofsimpleoperation,highenergyconsumptionoptimizationperformance,andfullymeetsthepracticalapplicationrequirements,inordertoprovideeffectivereferenceandreferenceforrelevantpersonnel.Keywords:datacenter;cloudcomputing;energyconsumption;microservices;taskscheduling0引言在互联网时代背景下,随着数据中台建设进程不断加快,计算机网络具有较高的云环境服...