Web request load balancing method based on operating system virtualization

A load balancing and operating system technology, applied in transmission systems, electrical components, etc., can solve problems such as increased number of visits, complex transaction processing, etc., to achieve the effects of improving concurrency, achieving load balancing, and reducing average response time

Inactive Publication Date: 2018-04-06
HANGZHOU DIANZI UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of Internet applications such as social networks and e-commerce, network servers are faced with the following two problems: (1) the number of visits increases exponentially; (2) transaction processing becomes more complex
This new feature of Docker makes the load balancing strategy on the traditional Web cluster no longer applicable. Therefore, it is necessary to build a reasonable and balanced method of Web request load balancing based on operating system virtualization

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
  • Web request load balancing method based on operating system virtualization
  • Web request load balancing method based on operating system virtualization
  • Web request load balancing method based on operating system virtualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The specific implementation of the Web request load balancing method based on operating system virtualization provided by the present invention is mainly divided into four steps:

[0043] (1) Server resource information collection and normalization; (2) Server and service instance dynamic information collection (3) Calculate the final weight of service instance copies of all services based on server resource information and periodically collected dynamic information; ( 4) Distribute requests by weighted round robin.

[0044] (1) Collection and normalization of server resource information

[0045] The static information collection module collects the CPU computing power P of each server in the Web cluster j_cpu , Memory processing capacity P j_memory , HDD I / O capability P j_io , network throughput P j_network Four resource information. And calculate their maximum and minimum values ​​respectively as follows:

[0046] P max_cpu =max(P 1_cpu ,P 2_cpu ,...,P j_cp...

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 Web request load balancing method based on operating system virtualization. The present invention firstly collects and normalizes server resource information; secondly collects server and service instance dynamic information; then calculates the final weights of service instance copies of all services according to server resource information and periodically collected dynamic information; Poll for distribution requests. The present invention can effectively avoid different service instance copies on the same server, and the server is overloaded due to the low load of the server receiving a large number of Web requests at the same time, realizes the load balance between the service instance copies and the servers, and improves the concurrency of the Web cluster system ability to reduce the average response time of requests.

Description

technical field [0001] The invention belongs to the technical field of Web cluster load balancing, and in particular relates to a method for balancing Web request loads based on operating system virtualization. Background technique [0002] With the rapid development of Internet applications such as social networks and e-commerce, network servers are faced with the following two problems: (1) the number of visits increases exponentially; (2) transaction processing becomes more complicated. In order to deal with the above problems and provide users with a high-performance network service environment, a distributed Web server system (Web cluster) emerges as the times require, and is used to replace a single Web server with high performance. In a web cluster, each type of service contains multiple service instance copies, and multiple service instance copies of the same service are hosted by multiple different servers. In order to distribute user requests to different service ...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/1001
Inventor 黄彬彬张雪鹏俞东进
Owner HANGZHOU DIANZI UNIV
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