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

Information system architecture based on nginx and Mycat and configuration method thereof

A technology of information system and configuration method, applied in the field of information system architecture and configuration based on nginx and Mycat

Pending Publication Date: 2021-07-30
NANJING NRIET IND CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the initial stage of information system creation, a single machine is generally used to provide centralized services to the platform. However, with the increasing business volume, the information system has greater challenges in terms of performance and stability. A large number of users access, Problems in high concurrent requests, database disaster recovery, etc. have become increasingly prominent

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
  • Information system architecture based on nginx and Mycat and configuration method thereof
  • Information system architecture based on nginx and Mycat and configuration method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] An information system architecture based on nginx and Mycat, including at least one reverse proxy nginx server, multiple Http servers, at least one Mycat database middleware server, and multiple Mysql database servers, wherein:

[0051] The reverse proxy nginx server configuration includes, used to receive the client Http request, send the Http request to the Http server; obtain the result feedback from the Http server, and send the result feedback to the client;

[0052] The Http server configuration includes accepting the Http request sent by the reverse proxy nginx server, forwarding the Http request to the Mycat database middleware server; obtaining the result feedback sent by the Mycat database middleware server, and forwarding the result feedback to the reverse proxy nginx server;

[0053]The Mycat database middleware server configuration includes receiving the data request sent by the Http server, processing the data request as a distribution request according to ...

Embodiment 2

[0058] An information system architecture operation mode based on nginx and Mycat, comprising the following steps:

[0059] The reverse proxy nginx server receives the client Http request and sends the Http request to the Http server;

[0060] The Http server accepts the Http request sent by the reverse proxy nginx server, and forwards the Http request to the Mycat database middleware server;

[0061] The Mycat database middleware server receives the data request sent by the Http server, processes the data request as a distribution request according to its own configuration, and distributes the distribution request to the Mysql server;

[0062] The Mysql database server configuration includes, receiving the distribution request that the Mycat database middleware server sends, and sending the feedback data to the Mycat database middleware server;

[0063] The Mycat database middleware server obtains the feedback data from the Mysql database server, processes the feedback data ...

Embodiment 3

[0069] The information system configuration method based on nginx and Mycat comprises the following steps:

[0070] Step 1: install and deploy nginx on the reverse proxy nginx server;

[0071] Specifically, download the corresponding nginx installation package according to the operating system of the server, decompress and install it. After starting the service, check whether the process exists. If it exists, the installation is complete. If it does not exist, the startup fails. Enter the logs folder in the nginx directory to view the error.log log file.

[0072] Step 2: Modify the nginx.conf file to optimize the configuration;

[0073] Conventionally, set the number of working processes to the number of cpu cores, set the maximum number of connections to cpu*2048, set the client connection timeout time, set the encoding format, increase the buffer size, etc.

[0074] Step 3: modify the reverse proxy nginx server configuration file according to the Http server address, and c...

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 an information system architecture scheme which uses a high-performance Http server and a reverse proxy server to realize automatic fault switching of the database and support read-write separation of the database. The invention discloses an information system architecture based on nginx and Mycat. The information system architecture comprises at least one reverse proxy nginx server, a plurality of Http servers, at least one Mycat database middleware server and a plurality of Mysql database servers. Through the mode, the combination of nginx and Mycat is realized, so that a user can quickly form a software product architecture system according to environmental requirements. Compared with an existing architecture scheme, a technical architecture system can be quickly established, and used products are open in source, low in cost and easy to master. Configuration of complex functions is simplified, and time expenditure of environment deployment is reduced. Mycat database middleware is introduced, the service expansibility is high, and more complex requirements can be met.

Description

technical field [0001] The invention relates to the technical field of software, in particular to an nginx- and Mycat-based information system architecture and a configuration method thereof. Background technique [0002] Nginx, pronounced "engine X", is a high-performance HTTP (HTTP-Hypertext transfer protocol, Hypertext Transfer Protocol) and reverse proxy server, as well as an IMAP (Internet Message Access Protocol, Internet Mail Access Protocol) / POPS (Post Office Protocol3, the third version of the Post Office Protocol) / SMTP (Simple Mail Transfer Protocol, Simple Mail Transfer Protocol) proxy server. Nginx is specially developed for performance optimization, performance is its most important consideration, and it pays great attention to efficiency in implementation. [0003] Mycat is a powerful database middleware, which can not only be used for read-write separation, sub-database sub-table and disaster recovery backup, but also can be used for multi-tenant application ...

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): G06F16/27G06F16/25G06F9/54
CPCG06F16/275G06F16/25G06F9/547
Inventor 汪国洋谢亚光石均成
Owner NANJING NRIET IND CORP
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