High concurrency load balancing system based on Nginx and Redis

A load balancing and mapping relationship technology, applied in transmission systems, electrical components, etc., can solve problems such as overloading, achieve the effect of solving server performance load problems, and solving bottlenecks in real-time processing of high-concurrency data

Inactive Publication Date: 2018-02-23
HOHAI UNIV
View PDF4 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Purpose of the invention: Aiming at the problem that the high concurrent access of multiple devices causes multiple requests to be concentrated on the server and causes the load to be overloaded, the present invention provides a high concurrent load balancing system based on Nginx and Redis, which reverses the high concurrent access and distributes it to multiple Processing by a Tomcat server, and the real-time data is cached with Redis so that real-time processing can be performed conveniently and quickly, and then the processed data is stored in MySQL for subsequent analysis and processing

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
  • High concurrency load balancing system based on Nginx and Redis
  • High concurrency load balancing system based on Nginx and Redis
  • High concurrency load balancing system based on Nginx and Redis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.

[0016] Such as figure 1 As shown, the high-concurrency load balancing system based on Nginx and Redis includes Nginx reverse proxy server, Tomcat server, Redis cache database and MySQL database. The client sends requests to the Nginx reverse proxy server, and the Nginx reverse proxy server distributes these requests and forwards them to the Tomcat server cluster. After the Tomcat server receives the request, it sends the real-time data to the Redis database, and Redis uses the cache queue to proce...

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 high concurrency load balancing system based on Nginx and Redis. The Nginx is taken as a reverse proxy server to conduct reverse proxy on high concurrency requests from multiple clients to distribute the high concurrency requests to different Tomcat servers, the Redis is used as a cache database to be used for saving a real-time calculated cache queue and accelerating thequery efficiency of the database, and MySQL is used as a structuralized database to be used for storing processed data. According to the structure of the system, high concurrency access reverse proxies can be distributed to different servers to achieve the load balancing purpose, and the Redis cache database can meet the real-time processing and storing requirements of high concurrency data, increase the processing speed and reduce the performance influences brought by high concurrency and has the very good practical value.

Description

technical field [0001] The invention relates to a load balancing framework, in particular to a high-concurrency load balancing system based on Nginx and Redis, and belongs to the technical field of application program development. Background technique [0002] With the rapid development of the Internet, the way people surf the Internet has become very convenient, and the demand for network access is also increasing, which puts a lot of pressure on the website server, and these network access usually require real-time processing of data, and also require capable of subsequent analysis. Faced with multiple devices and high concurrent access by multiple users, how to reduce the load on the server, quickly respond to client requests, and process and save data in real time has become a difficult problem. Therefore, how to provide an effective load balancing architecture is crucial. Contents of the invention [0003] Purpose of the invention: Aiming at the problem that the hig...

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/1001H04L67/568
Inventor 张鹏程程坤熊芳周学武金惠颖贾旸旸赵齐
Owner HOHAI 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