Build Docker Container Actual Warfare

Bowen structureBuilding a Nginx containerBuilding Tomcat ContainersBuilding Mysql Container Understanding Docker containers can be accomplished by Installation and simple operation To understand. 1. Building Nginx containers Nginx is a lightweight WEB server as well as an excellent reverse proxy server. Nginx service takes up less memory and ...

Added by Delaran on Fri, 29 Nov 2019 21:21:14 +0200

[SpringBoot] Add Filter to SpringBoot

Because springboot is based on servlet 3.0+, the embedded tomcat container cannot configure Filter in web.xml as before. This article is based on springboot 1.5.6 First @WebFilter(filterName = "myFilter",urlPatterns = "/*") public class MyFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ...

Added by mblack0508 on Thu, 28 Nov 2019 05:50:07 +0200

Detailed usage of Spring Boot Actuator monitoring

In enterprise applications, it is not enough to learn how to develop the SpringBoot application's capabilities and write unit tests, integrated tests, etc.It also needs to be monitored and managed in the actual software development.SpringBoot's Actuator module enables monitoring and management of applications. Introduction to Actuator In produc ...

Added by oliverj777 on Wed, 20 Nov 2019 01:49:13 +0200

Thinking and comparison in the application of Spring WebFlux

This paper is based on Spring Cloud Finchley SR4 Through several questions, this paper analyzes the best practice of Spring WebFlux usage and compares it with another framework Vertx 1. Whether you must use the default web container, whether you can use your own web container, and whether you can have web and webplus at the same time Yes, thi ...

Added by cedtech23 on Tue, 12 Nov 2019 12:50:24 +0200

ab stress test under linux

ab introduction ab is the abbreviation of Apache bench command ab is apache's own stress testing tool. ab is very practical. It can not only test the web site access stress of apache servers, but also stress test other types of servers. For example, nginx, tomcat, haproxy, etc Principle of ab Principle of ab: the ab command will cr ...

Added by josephman1988 on Sun, 10 Nov 2019 23:48:05 +0200

Download the file of Node.js

The file download of Node.js mainly solves one of my needs recently. Requirement Description:How to store the files uploaded by Tencent cloud in a local directory? If you use js to implement it, pure JavaScript does not have such a function (maybe there is). Just because I use node.js more in this project, I can use the rich API of node.js to ...

Added by swon on Sat, 02 Nov 2019 13:41:34 +0200

zabbix monitoring encounter

Phenomenon:On the web side of ZABBIX, JMX displays red and prompts cannot reslove 192.168.100.107192.168.100.108...At that time, the first thought was to keep the ip after JavaGateway in / etc / ZABBIX / ZABBIX [server. Conf on the server side only 192.168.100.107, and then restart ZABBIX server. But JMX still displays red, and there is a prob ...

Added by anu123 on Fri, 01 Nov 2019 20:36:03 +0200

Common Docker container operation commands

!!!!! Container can only be created with image!!!!! , write it down, take the test!Download a centos image before you talk about the container operation command (this command is available in the previous "common Docker image operation command". Students who don't know can go to see it) //First check centos. [root@iz Two ze0lvzs71710m0 ...

Added by LTJason on Fri, 25 Oct 2019 06:33:01 +0300

Linux configuration of single machine and multiple instances of Tomcat

Sometimes you need to deploy multiple Tomcat on a server, and distinguish them through different ports, such as reverse proxy. But I don't want to simply copy tomcat, which is not convenient for future upgrade or management. At this time, I need to configure a single machine with multiple instances of ...

Added by Deemo on Fri, 25 Oct 2019 05:54:09 +0300

Implementation of distributed Session

JWT Token Use JWT Token to store user identity, and then get other information from database or cache. In this way, it doesn't matter which server the request is assigned to. Tomcat + Redis Configure in tomcat's configuration file: <Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" /> <Manager classNam ...

Added by admun on Tue, 22 Oct 2019 00:15:56 +0300