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

Load balancing net framework based on Nginx, Memcached and Tomcat

A load balancing and mesh technology, applied to electrical components, transmission systems, etc., can solve problems such as inability to handle business, and achieve the effect of avoiding overload

Inactive Publication Date: 2015-05-13
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, there are many ways to achieve load balancing. Different designs have different advantages and disadvantages. For example, session sharing can adopt the sticky Session design method, which is slightly better than the Memcached implementation method in terms of performance. The disadvantage is that once a certain application If the server node fails, all corresponding services will not be able to be processed

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 net framework based on Nginx, Memcached and Tomcat

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0019] as attached figure 1 As shown, the architecture design includes 2 Nginx load servers, 3 Tomcat application servers and 1 Memcached. In actual operation, more nodes can be configured, and backup servers, backup load servers, cache clusters, etc. can be configured to make this architecture design more perfect.

[0020] In the above architecture design, its constituent modules can be distributed and run on different platforms. The construction method is as follows:

[0021] First build a web application cluster, select three machines in the network to install tomcat application servers and deploy applications, and ensure that each application server can run normally and independently.

[0022] Choose another machine to build a Memcached distributed memory object cache system, and associate Memcached in the configuration of three tomcat application servers to realize session sharing. You can also use magent cache proxy to build a Memcached cluster to realize data s...

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 load balancing net framework based on Nginx, Memcached and Tomcat and belongs to the field of application program development. The framework utilizes the Nginx as a load balance server and caches static resources. The Memcached distributed internal storage object cache system is utilized as a sharing synchronous conversation middleware. The Tomcat is utilized as a Web application server used for deploying and operating application programs. Compared with the prior art, the framework design distributes high concurrent access to the application servers for processing, the problem of too heavy load caused by the fact that multiple services focus on the same application server is solved, and the framework has good popularization and application value.

Description

technical field [0001] The invention relates to the field of application program development, in particular to a load balancing mesh architecture based on Nginx, Memcached and Tomcat. Background technique [0002] With the rapid development of informatization, the exchange of information has become more and more convenient. It can be said that as long as you have a mobile phone, you can understand the dynamics of the whole world. However, while it is convenient for people, it also brings endless pressure to the developers in the background. It is not only necessary to ensure that the functions of the application are perfect, but also to make the best and optimal design in terms of performance, so as to provide users with light, fast and safe experience. [0003] In the existing technology, there are many ways to achieve load balancing. Different designs have different advantages and disadvantages. For example, session sharing can adopt the sticky Session design method, whic...

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/08
CPCH04L67/1001H04L67/568
Inventor 吴延庆
Owner LANGCHAO ELECTRONIC INFORMATION IND 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