首页> 外文期刊>Tsinghua Science and Technology >TCLBM: A task chain-based load balancing algorithm for microservices
【24h】

TCLBM: A task chain-based load balancing algorithm for microservices

机译:TCLBM:微服务的基于任务链的负载平衡算法

获取原文
获取原文并翻译 | 示例
           

摘要

The microservices architecture has been proposed to overcome the drawbacks of the traditional monolithic architecture. Scalability is one of the most attractive features of microservices. Scaling in the microservices architecture requires the scaling of specified services only, rather than the entire application. Scaling services can be achieved by deploying the same service multiple times on different physical machines. However, problems with load balancing may arise. Most existing solutions of microservices load balancing focus on individual tasks and ignore dependencies between these tasks. In the present paper, we propose TCLBM, a task chain-based load balancing algorithm for microservices. When an Application Programming Interface (API) request is received, TCLBM chooses target services for all tasks of this API call and achieves load balancing by evaluating the system resource usage of each service instance. TCLBM reduces the API response time by reducing data transmissions between physical machines. We use three heuristic algorithms, namely, Particle Swarm Optimization (PSO), Simulated Annealing (SA), and Genetic Algorithm (GA), to implement TCLBM, and comparison results reveal that GA performs best. Our findings show that TCLBM achieves load balancing among service instances and reduces API response times by up to 10% compared with existing methods.
机译:已经提出了微服务架构以克服传统整体架构的缺点。可扩展性是微服务最具吸引力的特征之一。微缩校准中的缩放仅需要缩放指定的服务,而不是整个应用程序。可以通过在不同的物理机器上部署相同的服务来实现缩放服务。但是,可能会出现负载平衡的问题。 MicroServices负载平衡的大多数现有解决方案侧重于各个任务并忽略这些任务之间的依赖性。在本文中,我们提出了一种基于任务链的负载均衡算法的TCLBM,用于微服务。当接收到应用程序编程接口(API)请求时,TCLBM为此API调用的所有任务选择目标服务,并通过评估每个服务实例的系统资源使用来实现负载平衡。 TCLBM通过减少物理机之间的数据传输来降低API响应时间。我们使用三种启发式算法,即粒子群优化(PSO),模拟退火(SA)和遗传算法(GA),实现TCLBM,并且比较结果揭示了GA表现最佳。我们的研究结果表明,TCLBM与现有方法相比,TCLBM在服务实例之间实现了负载平衡,并将API响应时间降低至10%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号