Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Server load balancing method and device

A load balancing and server technology, applied in the field of communications, can solve problems such as the waste of hardware resources of the main server, and achieve the effect of reducing configuration costs and improving utilization.

Inactive Publication Date: 2015-05-06
XIAOMI INC
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the master server will periodically experience peak periods of resource usage, most of the time, that is, when a large amount of unexpired data is stored in the cache server, the master server will be idle or in a low-load state, so the master server Waste of server hardware resources

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
  • Server load balancing method and device
  • Server load balancing method and device
  • Server load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0064] figure 1 is a flow chart of a server load balancing method shown according to an exemplary embodiment, as shown in figure 1 as shown, figure 1 The server load balancing method shown can be used in the main server. The server load balancing method provided by the disclosure can improve the utilization rate of hardware resources of the main server and reduce the configuration cost of the...

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 server load balancing method and device. The server load balancing method includes that acquiring a data mark in a data request when the data request sent from a client is received; confirming a preset expiration time stored in a cache server and corresponding to the data mark; when the current time is later than the preset expiration time, acquiring target data information corresponding to the data mark from a resource server; selecting a target expiration time from a preset time range according to a preset strategy; storing the corresponding relation between the data mark and the target data information and the corresponding relation between the data mark and the target expiration time in the cache server; sending the target data information to the client. The server load balancing method and device can improve the main server hardware resource use ratio and lower the main server configuration cost based on guaranteeing the normal running of the main server.

Description

technical field [0001] The present invention relates to the technical field of communications, and more specifically, to a server load balancing method and device. Background technique [0002] With the development of the Internet, more and more smart devices are connected to the network, and there are more and more servers that provide data resources for these smart devices, and the traffic pressure they bear is also increasing. [0003] Currently, servers that provide data resources for smart devices mainly include a master server, a cache server, and a resource server. Since the response speed of the cache server is very fast, the master server first obtains the required data from the cache server. If the cache server does not have the data required by the master server, the master server then obtains the required data from the resource server and then sends Store in the cache server, and set a fixed expiration time for the data. In the subsequent process of querying da...

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
IPC IPC(8): H04L29/08H04L12/803
CPCH04L47/125H04L67/1001
Inventor 霍东海陈德嘉高承星
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products