Data equalizing method and device for server cluster

A server cluster and balancing method technology, applied in the field of data balancing of server clusters, can solve the problems of long data balancing time, slow data migration speed, increased server cluster expansion cost, etc., and achieve the effect of reducing the expansion cost

Active Publication Date: 2017-06-13
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the speed of data migration is slow, which makes it take a long time to achieve the data balance of the whole cluster by relying on data migration
In addition, this data allocation method needs to be expanded before the space of each original server is full, which increases the expansion cost of the server cluster

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data equalizing method and device for server cluster
  • Data equalizing method and device for server cluster
  • Data equalizing method and device for server cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0026] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0027] figure 1 It shows an exemplary system architecture 100 to which the embodiment of the data balancing method for server cluster or the data balancing device for server cluster of the present application can be applied.

[0028] Such as figure 1 As shown, system archi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data equalizing method and device for a server cluster. The specific implementation mode of the method comprises the steps that expansion on the server cluster is responded, and at least source disk storing to-be-migrated data and a target disk for storing the to-be-migrated data are determined, wherein the source disks are located in at least one original server of the server cluster before expansion, and the target disk is located in a new server in the server cluster obtained after expansion; the new server is forbidden to receive a read-write request on the target disk, and a migration operation of migrating the to-be-migrated data from the source disks to the target disk is executed; when the target disk meets the preset condition that the remaining capacity of the target disk is the same as the average disk remaining capacity of the source disks, the migration operation stops being executed, wherein the average disk remaining capacity is obtained by dividing the sum of the source disk remaining capacities by the number of the source disks. The purpose that the expanded server cluster reaches data equalizing in a short time is achieved, and the cost is reduced.

Description

technical field [0001] The present application relates to the technical field of computer networks, in particular to the technical field of distributed storage applications, and in particular to a data balancing method and device for server clusters. Background technique [0002] A large-scale distributed storage system usually includes multiple server clusters. With the growth of data volume and read and write requests, each server cluster inevitably needs to be expanded. Server cluster expansion is to add a certain number of new servers on the basis of the original servers of the server cluster. After the expansion of the server cluster, how to allocate data becomes a problem that needs to be solved. [0003] In the prior art, a data distribution method after server cluster expansion is to divide all original data sets horizontally into multiple subsets according to a certain strategy, and migrate the data corresponding to some subsets to new servers. The data migration ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
Inventor 刘健
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products