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

Method and system for deploying Web server

A server and master server technology, applied in the field of server deployment, can solve problems such as poor load balance and low stability of web servers, and achieve the effects of improving performance, ensuring normal access, and improving stability

Inactive Publication Date: 2020-03-24
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method and system for deploying a Web server to solve the problems of low stability and poor load balancing of the Web server caused by the method for deploying a Web server in the prior art

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 and system for deploying Web server
  • Method and system for deploying Web server
  • Method and system for deploying Web server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] see figure 1 , figure 1 It is a schematic flowchart of a method for deploying a Web server provided in the embodiment of the present application. Depend on figure 1 As can be seen, the method for deploying a web server in this embodiment mainly includes the following processes:

[0048]S1: Deploy Nginx proxy services on the main server and N business servers respectively.

[0049] Wherein, N is a natural number. In order to implement the method in this embodiment, at least two servers are required to build a whole set of services. For example: when N is 1, the main server and one service server are used to realize the method; when N is 2, the main server and two service servers are used to realize the method. The main server and the N business servers are all physical servers, and various service programs can be deployed on the main server and the business servers.

[0050] Each Nginx proxy service matches multiple Tomcat business systems, and the Nginx proxy servi...

Embodiment 2

[0077] exist Figure 1-Figure 3 On the basis of the illustrated embodiment see Figure 4 , Figure 4 It is a schematic structural diagram of a system for deploying a Web server provided by an embodiment of the present application. Depend on Figure 4 It can be seen that the system for deploying Web servers in this embodiment mainly includes: a main server, N service servers, a deployment module, a virtual IP generation module, and a mapping relationship establishment module. Wherein, the main server and each service server of N are physical servers, and the part inside the dotted line frame is a virtual module, which is realized by software. And N is a natural number.

[0078] The deployment module is used to deploy Nginx proxy services on the main server and N business servers respectively, and each Nginx proxy service matches multiple Tomcat business systems. The virtual IP generation module is used to generate an independent virtual IP on the main server and N business...

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 and a system for deploying a Web server. The method comprises the following steps: deploying Nginx proxy services on a main server and N business servers respectively;generating an independent virtual IP on the main server and the N service servers by utilizing a Keep Alive mechanism; and establishing a mapping relationship among the virtual IP, the main server and the N service servers. The system comprises a main server, N service servers, a deployment module, a virtual IP generation module and a mapping relationship establishment module. According to the method and the system, the stability of the Web server can be greatly improved, and load balancing and downtime hot standby can be better realized.

Description

technical field [0001] The present application relates to the technical field of server deployment, in particular to a method and system for deploying a Web server. Background technique [0002] A web server generally refers to a web server, which refers to a program that resides on a certain type of computer on the Internet and can provide documents to web clients such as browsers. How to deploy a Web server so that it can realize the functions of the server to a greater extent and improve the server's access speed, concurrency and disaster recovery capabilities is an important issue. [0003] At present, the method of deploying a web server is usually that one host receives all requests uniformly, and then distributes them to different service hosts. That is: use one host as the entrance of the entire service to process all requests uniformly, and the rest of the hosts are only responsible for receiving tasks and executing corresponding services. [0004] However, in the...

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/08H04L12/24H04L29/12
CPCH04L67/10H04L67/1034H04L67/02H04L41/0836H04L41/0893H04L61/103H04L67/56
Inventor 张松李欣
Owner SUZHOU LANGCHAO INTELLIGENT TECH 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