Search International and National Patent Collections

1. (WO2017020742) LOAD BALANCING METHOD AND DEVICE

Pub. No.:    WO/2017/020742    International Application No.:    PCT/CN2016/091521
Publication Date: Fri Feb 10 00:59:59 CET 2017 International Filing Date: Tue Jul 26 01:59:59 CEST 2016
IPC: G06F 9/50
G06F 17/30
Applicants: ALIBABA GROUP HOLDING LIMITED
阿里巴巴集团控股有限公司
SHEN, Chunhui
沈春辉
Inventors: SHEN, Chunhui
沈春辉
Title: LOAD BALANCING METHOD AND DEVICE
Abstract:
The objective of the present application is to provide a load balancing method and device. The method specifically comprises: acquiring a data localization rate of each partition on each server, wherein the data localization rate is a ratio of local data of the partition stored in a physical machine corresponding to a certain server to the total data of the partition; determining a server having the highest data localization rate of each partition as a target server corresponding to the partition; and if a server in which the partition is located currently is a server different from the target server corresponding thereto, migrating the partition to the target server corresponding to the partition. Compared with the prior art, in the solution of the present application, each partition is allocated into a server having the highest data localization rate according to data localization rates. When a data query request is processed, since the data localization rate in the server into which each partition is currently allocated is relatively high, most data can be acquired from a magnetic disk of a local server. Therefore, the probability of remotely reading partition data can be reduced to a great extent, thereby improving the read performance.