Nginx and Tomcat load balancing

1, Principle of load balancing based on Nginx Nginx realizes load balancing through reverse proxy. Nginx server is used as the front end, Tomcat server is used as the back end, and web page requests are forwarded by nginx service. However, instead of forwarding all web requests, the static page requests are processed by the Ncinx server and th ...

Posted by riddhi on Tue, 29 Mar 2022 09:36:12 +0300

ELK for automatic operation and maintenance planning

1, ELK introduction ELK introduction ELK is the abbreviation of three open source software, which means elasticsearch, Logstash and kibana respectively. They are all open source software. A new filebeat is added. It is a lightweight log collection and processing tool (Agent). Filebeat occupies less resources. It is suitable for collecting ...

Posted by mentalist on Tue, 29 Mar 2022 06:47:32 +0300

Advanced learning of operation and maintenance: installing MySQL and MySQL architecture with CentOS RPM

Test requirements: 1. Install mysql5 in CentOS7 RPM mode seven 2. Install mysql5 in CentOS7 general binary mode seven 3. Briefly describe MySQL architecture. 4. Log in to the server with mysql client and reset the root password 1. Install mysql5 in CentOS7 RPM mode seven (1) First, Download MySQL Yum Repository online [root@localhost ~]# wget - ...

Posted by colake on Sat, 26 Mar 2022 18:32:03 +0300

Advanced optimization of Docker container

1. Shrink mirror Greatly reduce network I/O for downloading or uploading On the basis of ensuring the stable operation of the image environment, effectively reduce the size of the image. When the image is enough, it is of great significance (production environment). You can reduce the mirrored objects. Code written in compiled code (C, JAVA, G ...

Posted by omarh2005 on Sat, 26 Mar 2022 10:34:53 +0300

Functions of GO language

catalogue 1. Basic function Example 1 Example 2 Example 3 2. Function parameters pass by value Reference passing Variable parameters of function 3. Function as argument 4. Callback function 5. Functional closure 6. Function method Example -- calculate the circle area A function is a basic block of code used to perform a task. ...

Posted by ridiculous on Sat, 26 Mar 2022 08:05:05 +0300