Improving Load Balance via Resource Exchange in Large-Scale Search Engines

Kaiyue Duan, Yusen Li, T. Marbach, Gang Wang, Xiaoguang Liu
{"title":"Improving Load Balance via Resource Exchange in Large-Scale Search Engines","authors":"Kaiyue Duan, Yusen Li, T. Marbach, Gang Wang, Xiaoguang Liu","doi":"10.1145/3404397.3404402","DOIUrl":null,"url":null,"abstract":"Load balance is one of the major issues in large-scale search engines. A commonly used load balancing approach in search engine datacenters is to reassign index shards among machines. However, reassigning shards within stringent resource environments is challenging due to transient resource constraints (during reassignment, some resources are consumed simultaneously by a shard on the initial machine and its copy on the target machine). In this paper, we study a new shard reassignment problem where each shard has already been placed on a machine and we are allowed to use several exchangeable machines to improve load balancing. The exchangeable machines are initially vacant (i.e., without any shard), and after reassignment we return some vacant machines as compensation for using them. We formulate the new shard reassignment problem as a linearly constrained integer programming (IP) model, and we propose a shard reassignment algorithm (SRA), which is based on large neighborhood search (LNS), to approximate the optimal solution. We conduct extensive experiments to evaluate the proposed algorithm using both synthetic data and real data from actual datacenters, comparing with the state-of-art load balancing method. The results show that our solution outperforms the state-of-the-art alternative significantly.","PeriodicalId":340778,"journal":{"name":"Proceedings of the 49th International Conference on Parallel Processing","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 49th International Conference on Parallel Processing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3404397.3404402","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Load balance is one of the major issues in large-scale search engines. A commonly used load balancing approach in search engine datacenters is to reassign index shards among machines. However, reassigning shards within stringent resource environments is challenging due to transient resource constraints (during reassignment, some resources are consumed simultaneously by a shard on the initial machine and its copy on the target machine). In this paper, we study a new shard reassignment problem where each shard has already been placed on a machine and we are allowed to use several exchangeable machines to improve load balancing. The exchangeable machines are initially vacant (i.e., without any shard), and after reassignment we return some vacant machines as compensation for using them. We formulate the new shard reassignment problem as a linearly constrained integer programming (IP) model, and we propose a shard reassignment algorithm (SRA), which is based on large neighborhood search (LNS), to approximate the optimal solution. We conduct extensive experiments to evaluate the proposed algorithm using both synthetic data and real data from actual datacenters, comparing with the state-of-art load balancing method. The results show that our solution outperforms the state-of-the-art alternative significantly.
通过资源交换改善大型搜索引擎的负载平衡
负载平衡是大型搜索引擎的主要问题之一。搜索引擎数据中心中常用的负载平衡方法是在机器之间重新分配索引分片。然而,由于暂时的资源约束,在严格的资源环境中重新分配分片是具有挑战性的(在重新分配期间,一些资源被初始机器上的分片和目标机器上的副本同时消耗)。在本文中,我们研究了一个新的分片重新分配问题,其中每个分片已经被放置在一台机器上,并且我们允许使用几台可交换的机器来改善负载平衡。可交换的机器最初是空的(即没有任何分片),在重新分配之后,我们返回一些空的机器作为使用它们的补偿。我们将新的分片重分配问题描述为线性约束整数规划(IP)模型,并提出了一种基于大邻域搜索(LNS)的分片重分配算法(SRA)来逼近最优解。我们使用合成数据和实际数据中心的真实数据进行了广泛的实验来评估所提出的算法,并与最先进的负载平衡方法进行了比较。结果表明,我们的解决方案明显优于最先进的替代方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书