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.