Nginx series tutorials nginx Solving session consistency

session viscosity Each request is allocated according to the hash result of the access ip, so that each visitor accesses a back-end server, which can solve the session problem. upstream backserver { ip_hash; server 192.168.0.14:88; server 192.168.0.15:80; } But there are disadvantages. There is a single risk. If I have logged in on port 192.1 ...

Posted by djelica on Sun, 12 Apr 2020 03:53:23 +0200

Smokeping quick installation guide

Written in front I thought I would never use smokeping again, but I was wrong. According to the last use for about half a year, it's usually used once for sex and again this time. I totally forgot to clean it. Then start install apt-get -y install smokeping Configuration service For the configuration of the Web server, refer to the above Ru ...

Posted by help_lucky on Mon, 30 Mar 2020 19:56:48 +0200

Basic review of servlet s

Servlet overview A servlet is a small Java program (that is, a server-side applet) running in a Web server. Servlets typically receive and respond to requests from Web clients over HTTP (Hypertext Transfer Protocol). Preparation process: 1. Write a java class to implement the servlet interface 2. Mod ...

Posted by Wykster on Sat, 07 Mar 2020 14:38:16 +0100

Crawler combat record: establishment and use of IP pool in requests and scrape (and detailed explanation of the scrape agent middleware)

Get free proxy IP In this part, I hope to get some free IP of mainstream proxy websites for my personal use. Because the free IP availability is relatively poor compared with the private agent, I hope to verify the availability after obtaining the agent and save the available IP locally. At the same t ...

Posted by developer on Mon, 02 Mar 2020 08:14:57 +0100

Module Apache instructions

Module Apache instructions About Apache Apache Is the world's number one Web server software. It can run on almost all widely used computer platforms. Because of its cross platform and security, it is one of the most popular Web server-side software. It is fast, reliable and can be expanded through ...

Posted by zamzon on Sat, 01 Feb 2020 16:56:20 +0100

Spring Boot with external Tomcat

In this article, I'll run the Spring Boot application on an external Tomcat.For me, this is a real situation and I have to solve this problem, so I also consulted a good teacher and got a lot of help.I hope you can provide some useful information when you encounter similar problems. Let's look at some common problems you might encounter when st ...

Posted by thestars on Thu, 09 Jan 2020 07:48:14 +0100

MiniWeb framework of python

The purpose of this study on MiniWeb framework is not to complete the compilation of the framework, but to learn the ideas in the compilation of the framework, mainly to understand the definition and automatic maintenance of routing table, the function of view function, the development idea of separation of front and back ends, and the realizat ...

Posted by hesketh on Thu, 19 Dec 2019 17:43:44 +0100

Creating stateful applications with NAS dynamic storage volumes

Introduction: At present, the realization of dynamically generating NAS storage volume: on an existing file system, automatically generating sub file system (sub directory), and generating target storage volume (PV); The name of the PV generated is: PVC - ${PV uid} Image introduction: registry.cn-hangzhou.aliyuncs.com/acs/alicloud-nas-controlle ...

Posted by baselinej on Wed, 11 Dec 2019 06:31:35 +0100

14 star shifts of Nginx - (GeoIP)

What is GeoIP GeoIP refers to the location information such as longitude and latitude, national map, or province (state) by accessing IP. We can use this function to restrict access to a certain country or a certain region, or to realize customized personalized functions. How to enable GeoIP # Libmaxminddb (because you need to read the IP datab ...

Posted by Stingus on Tue, 03 Dec 2019 05:17:52 +0100

Reverse agent software ngrok

Reverse agent software: ngrok 1.7 (not open source after 2.0)Function: through the construction of ngrok intranet penetration server, you can realize the localization of web server, tcp, udp forwarding, simply speaking, you can make your local serviceExposed on the Internet, accessible through the InternetEnvironment: CentOS Linux release 7.4. ...

Posted by tex1820 on Mon, 02 Dec 2019 12:50:36 +0100