arrow
返回

TCLBM: A Task Chain-Based Load Balancing Algorithm for Microservices

TCLBM: 一种基于任务链的微服务负载均衡算法

delete2021-06-01
delete8
delete
OA
AI
Y
You Liang
Y
Yuqing Lan *
DOI:10.26599/TST.2019.9010032delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
load balancing
microservices
task chain
Improvement of tasks scheduling algorithm based on load balancing candidate method under cloud computing environment
err2023-02-01
err19
PREAI
errChiang, Mao-Lun; Hsieh, Hui-Ching; Cheng, Yu-Huei; Lin, Wei-Ling; Zeng, Bo-Hao
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏

期刊

T
Tsinghua Science and Technology
IF:
3.5
论文数:
987
被引数:
3.0K

机构

北京航空航天大学 封面图
北京航空航天大学
学者数:
735
论文数: 224
被引数: 3.2W
引用论文

引用论文

暂无论文信息