RLQ: Workload Allocation With Reinforcement Learning in Distributed Queues

计算机科学 工作量 强化学习 排队 启发式 调度(生产过程) 任务(项目管理) 人工智能 分布式计算 机器学习 数学优化 操作系统 程序设计语言 数学 经济 管理
作者
Alessandro Staffolani,Victor-Alexandru Darvariu,Paolo Bellavista,Mirco Musolesi
出处
期刊:IEEE Transactions on Parallel and Distributed Systems [Institute of Electrical and Electronics Engineers]
卷期号:34 (3): 856-868 被引量:9
标识
DOI:10.1109/tpds.2022.3231981
摘要

Distributed workload queues are nowadays widely used due to their significant advantages in terms of decoupling, resilience, and scaling.Task allocation to worker nodes in distributed queue systems is typically simplistic (e.g., Least Recently Used) or uses hand-crafted heuristics that require task-specific information (e.g., task resource demands or expected time of execution).When such task information is not available and worker node capabilities are not homogeneous, the existing placement strategies may lead to unnecessarily large execution timings and usage costs.In this work, we investigate the task allocation problem within the Markov Decision Process framework, where an agent assigns tasks to an available resource, by receiving a numerical reward signal upon task completion.This allows our solution to learn effective task allocation strategies directly from experience in a completely dynamic way.In particular, we present the design, implementation, and experimental evaluation of RLQ (Reinforcement Learning based Queues), i.e., our adaptive and learning-based task allocation solution that we have implemented and integrated with the popular Celery task queuing system.By using both synthetic and real workload traces, we compare RLQ against traditional solutions, such as Least Recently Used.On average, using synthetic workloads, RLQ reduces the execution time by a factor of at least 3×.When considering the execution cost, the reduction is around 70%, whereas for the time waited before execution, the reduction is close to a factor of 7×.Using real traces, we observe around 70% improvement for execution time, around 20% for execution cost and a reduction of approximately 20× for waiting time.We also analyze RLQ performance against E-PVM, a state-of-the-art solution used in Google's Borg, showing that we are able to outperform it in the synthetic data evaluation, while we outperform it in all the three settings based on real data.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
wyssty完成签到,获得积分10
刚刚
刚刚
敛矜完成签到,获得积分10
刚刚
研友_VZG7GZ应助酷酷墨镜采纳,获得10
1秒前
4秒前
jyX发布了新的文献求助10
4秒前
柠檬发布了新的文献求助10
5秒前
yyy完成签到,获得积分10
7秒前
Huang2317完成签到 ,获得积分10
7秒前
dddddddio完成签到 ,获得积分10
7秒前
大个应助lv采纳,获得10
7秒前
超帅李完成签到 ,获得积分10
7秒前
9秒前
9秒前
柒柒完成签到 ,获得积分10
9秒前
9秒前
cm完成签到 ,获得积分10
9秒前
飘逸抽屉完成签到,获得积分10
10秒前
10秒前
Syening应助michael采纳,获得10
11秒前
张婷完成签到,获得积分10
11秒前
顺利的幻竹完成签到,获得积分10
13秒前
柒柒关注了科研通微信公众号
13秒前
小凯发布了新的文献求助10
14秒前
Dale发布了新的文献求助10
14秒前
stone发布了新的文献求助10
14秒前
ddk完成签到 ,获得积分10
14秒前
ke完成签到,获得积分10
15秒前
jyX完成签到,获得积分10
15秒前
殷勤的紫槐应助yy采纳,获得200
15秒前
15秒前
16秒前
17秒前
科研通AI6.2应助小李采纳,获得10
17秒前
xxx完成签到 ,获得积分10
17秒前
18秒前
zyh完成签到,获得积分10
18秒前
19秒前
吴洲凤完成签到,获得积分10
19秒前
栗子乳酪发布了新的文献求助10
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
HYDROLYSE ACIDE DE QUELQUES DIOXASPIROCYCLANES 1314
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Navigating Normative Orders. Interdisciplinary Perspectives 800
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Organizational Behavior 510
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7746283
求助须知:如何正确求助?哪些是违规求助? 9294152
关于积分的说明 20223853
捐赠科研通 7326242
什么是DOI,文献DOI怎么找? 3308104
关于科研通互助平台的介绍 2460105
邀请新用户注册赠送积分活动 2319650