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

Method for load balancing of Web requests 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 and complex transaction processing

Inactive Publication Date: 2015-09-09
HANGZHOU DIANZI UNIV
View PDF5 Cites 16 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
  • Method for load balancing of Web requests based on operating system virtualization
  • Method for load balancing of Web requests based on operating system virtualization
  • Method for load balancing of Web requests 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 method for load balancing of Web requests based on operating system virtualization. The method comprises the following steps of firstly, carrying out collection and normalization of server resource information; secondly, collecting dynamic information of a server and service instances; thirdly, computing final weights of service instance copies of all services according to the server resource information and the periodically-collected dynamic information; and lastly, distributing the requests through weighted round robin. According to the method, the phenomenon that the different service instance copies on one server simultaneously receive a large amount of Web requests due to the lower server load to cause the server overload can be effectively avoided, the load balancing between the service instance copies and the server is implemented, the concurrence capacity of a Web cluster system is improved, and the average response time of the requests is reduced.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products