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

Load balancing method and system on basis of double-layer cache

A load balancing and caching technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as waste of resources, increased costs, and unbearable problems, and achieve the effects of reducing input costs, reducing request pressure, and reducing quantities

Active Publication Date: 2015-02-18
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the continuous expansion of performance requirements and reliability of web servers, more and more enterprises use load balancers to enhance the concurrency of web services, and achieve the goal of increasing system reliability by building parallel clusters. Increase the computing resources of the enterprise's web services. If the number of background application servers is increased blindly, it will not only increase the cost for the enterprise, but also cause a waste of resources.
[0003] Most of the cache media are memory caches. As we all know, the price of 16GB memory sticks is already very expensive, and with the increase of memory capacity, the price of memory increases exponentially and the motherboard of the web server limits the upper limit of memory capacity. Therefore, relying solely on It is also difficult to increase the memory capacity of the web server to enhance the concurrent capability of the web server, and the high price is often unaffordable

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
  • Load balancing method and system on basis of double-layer cache
  • Load balancing method and system on basis of double-layer cache
  • Load balancing method and system on basis of double-layer cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.

[0017] figure 1 Shown is a flow chart of the method for load balancing based on double-layer caching according to Embodiment 1 of the present invention, including the following steps:

[0018] Step 101: pre-set a memory management module and a disk management module in the web server and set parameters for the memory management module and the disk management module;

[0019] Set the following parameters for the memory management module:

[0020] 1. Set the connection timeout, send timeout, read timeout, and cache invalidation time;

[0021] 2. Setting the access request mode means that only internal access is directly accepted, and external requests are not direct...

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 provides a load balancing method and system on the basis of double-layer cache. The load balancing method includes steps of presetting a memory manage module and a disk management module in a webpage server and setting parameters of the memory management module and the disk management module; acquiring data information required by terminals by inquiring the memory management module after the webpage server receives requests of the terminals and feeding the data information back to the terminal; keeping inquiring the disk management module if query is failed, and acquiring the data information requested by the terminals and feeding the data information back to the terminals. By the load balancing method and system, probability of response to the requests of terminal users from the network layer is increased, request dispatch to the backstage application server cluster is reduced, and request pressure of backstage servers is alleviated. Meanwhile, the number of the backstage application servers is decreased, and the purpose for reducing investment and cost is achieved.

Description

technical field [0001] The invention belongs to the field of load balancing, and in particular relates to a method and system for load balancing based on double-layer cache. Background technique [0002] With the continuous expansion of the performance requirements and reliability of web servers, more and more enterprises use load balancers to enhance the concurrency capability of web services, and achieve the goal of increasing system reliability by building parallel clusters. The computing resources of the enterprise's web services are increased. If the number of background application servers is blindly increased, it will not only increase the cost for the enterprise, but also cause a waste of resources. [0003] Most cache media are memory caches. As we all know, the price of 16GB memory sticks is already very expensive, and with the increase of memory capacity, the price of memory increases exponentially and the web server motherboard limits the upper limit of memory ca...

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): H04L12/803
Inventor 李有超王渭巍
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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