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

Server load balancing method and load balancer

A load balancer and load balancing technology, applied in the field of network applications, can solve problems such as affecting customer experience, unable to load balance scheduling, reducing server processing speed, etc., to achieve the effect of improving user experience

Inactive Publication Date: 2017-03-15
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Existing load balancing technology is based on the server load situation, when the server and the client establish a new TCP (Transmission Control Protocol, transmission control protocol) connection, the new TCP connection is carried out load balancing distribution, but, when with the client When the load of the server establishing the TCP connection is heavy, the existing load balancing technology cannot perform load balancing scheduling on the established TCP connection, which reduces the processing speed of the server and affects the customer experience

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] see figure 1 , figure 1 It is a flow chart of the first embodiment of the server load balancing method of the embodiment of the present invention, such as figure 1 As shown, the server load balancing method in the embodiment of the present invention may include the following steps:

[0038] S101. Receive and establish a first connection with the first client according to the first input message sent by the first client;

[0039] Specifically, the pro...

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 embodiment of the invention provides a server load balancing method and a load balancer. The method comprises: receiving first input message and establishing first connection with a first client according to the first input message sent by the first client; backing up a transmission control state and a network socket state generated when the connection with the first client is established; according to the first input message sent by the first client, generating and sending second input message to a first server, and establishing the second first between the first client and the first server; and when the load of the first server reaches a preset threshold value, obtaining a server with the maximum weight in the server cluster except the first server, establishing the third connection between the first client and the server with the maximum weight according to the transmission control state and the network socket state, and disconnecting the second connection between the first client and the first server. Through the embodiment of the invention, according to the server load, the server load balancing method and load balancer can perform rescheduling of the established connection according to the weight so as to improve the user experience.

Description

technical field [0001] The invention relates to the technical field of network applications, in particular to a server load balancing method and a load balancer. Background technique [0002] With the popularization of the Internet and the development of e-commerce and e-government, more and more application systems need to face higher traffic and data volume. At the same time, enterprises rely more and more on online systems, and a large number of key applications require the system to have sufficient online rate and high efficiency. These requirements make a single network service device unable to meet these needs. Therefore, it is necessary to introduce server load balancing to realize simultaneous access by clients to multiple servers working at the same time, avoid single point of failure of servers, and improve service processing capabilities of online systems. [0003] Load balancing technology provides a cheap, effective and transparent method based on the existing ...

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/08H04L29/06
CPCH04L67/101H04L67/1048H04L69/162
Inventor 王庆吴杰珂
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
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