Perfect for LNMP/AMH Smooth Upgrade of Tengine Latest Edition

Links to the original text: http://www.zntec.cn/archives/nginx-change-tengine.html I believe there are quite a few people using VPS nowadays. For many people, LNMP and AMH are the best environments.   There's no need to say more abou ...

Posted by drag0n on Wed, 09 Oct 2019 09:46:55 -0700

Automatic Configuration Principle of SpringBoot Embedded Tomcat

If you read this article before you read it Analysis of SpringBoot Automatic Assembly Principle It should be easier. Preparation We know that the secret of SpringBoot's automatic assembly is in the spring.factories file under the package org. spring framework. boot. autoconfigure, and the principle of embedding Tomcat is a configuration class ...

Posted by farkewie on Tue, 08 Oct 2019 09:18:00 -0700

Collecting container logs of kubernetes

demand /The files under var/log/containers are actually soft links The real log files are in the directory / var/lib/docker/containers Options: Logstash (too much memory, try not to use this) fluentd filebeat Do not use docker-driver Log format /var/log/containers { "log": "17:56:04.176 [http-nio-8080-exec-5] INFO c.a.goods.proxy.GoodsGe ...

Posted by caraldur on Sun, 06 Oct 2019 23:26:54 -0700

Basic Implementation of Express Middleware System

I always feel that express's middleware system is a very image of streamlined processing, just like the processing pipeline, each link completes its own work for different parts of the same product, and finally gets a finished product. Today we will implement a simple middleware queue. I. API level ...

Posted by ccravens on Tue, 01 Oct 2019 17:20:20 -0700

Javaweb - sendRedirect() method to achieve redirection (page jump)

Links to the original text: http://c.biancheng.net/view/4015.html response.sendRedirect() to achieve redirection (page jump) In some cases, a Servlet class may not be able to do all the work for a client's request. At this point, you can u ...

Posted by OzRedBoy on Mon, 16 Sep 2019 05:31:50 -0700

ENC28J60 TCP/IP Communication of 51 Single Chip Microcomputer

Links to the original text: https://blog.csdn.net/a_a666/article/details/78277628 Reprint addresshttps://blog.csdn.net/a_a666/article/details/78277628 ENC28J60 TCP/IP Communication of 51 Single Chip Microcomputer SCM: STC90C516RD+ ENC28J60 ...

Posted by Jack Sparrow on Tue, 10 Sep 2019 03:09:40 -0700

Python Server Dynamic Resource Request

Server Dynamic Resource Request 1. Browser request dynamic page process 2. WSGI How do you run a Django application and Flask application on the Web server you just built, and how do you adapt to different web architectures without any changes? ...

Posted by callie212 on Mon, 09 Sep 2019 06:41:59 -0700

nginx knowledge the front end must know

The way forward for front-end developers has to learn nginx. This article deals with nginx command Configuration file, configuration explanation variable Journal Cross-domain Proxy Request location Interception Details gzip Anti-theft chain Reverse Proxy, Forward Proxy load balancing cache rewrite command Nginx-T View the current nginx final ...

Posted by gmwebs on Sat, 31 Aug 2019 10:14:42 -0700

Concurrent optimization of nginx single machine for 1w

Concurrent optimization of nginx single machine for 1wCatalogab toolIntegral Optimizing ThoughtSpecific optimization ideasWrite scripts to optimize concurrent configurationPerformance statistics toolstipssummary ab toolab -c 10000 -n 200000 http://localhost/index.html [root@study02 ~]# ab -c 10000 -n 100000 http://192.168.0.217/index.htmlThis i ...

Posted by rachae1 on Sat, 24 Aug 2019 02:40:41 -0700

HAProxy Scheduling Algorithm

Article Directory HAProxy Scheduling Algorithm 1. Static algorithms 1. static-rr 2. first 2. Dynamic algorithms: 1. roundrobin 2. leastconn 3. Hybrid algorithm 1. source 2. uri 3. url_param: 4. hdr 5. rdp-cookie 6. random Difference between ...

Posted by hbalagh on Thu, 22 Aug 2019 18:19:26 -0700