Initial Environment Configuration for Spring MVC to Spring boot

One of the company's original projects is the Spring MVC framework. Now we need to go to Spring cloud, so we intend to convert to Spring boot project. Because we didn't know Spring boot very well before, we record the process of the project frame ...

Posted by yhingsmile on Wed, 14 Aug 2019 04:09:21 -0700

Initial MyBatis, Quick Start and Profile Mapping File Explanation (Construction Idea Explanation, Graphics and Text Teaching, Full Practice)

1. Introduction Persistence Layer Framework, java Writing It encapsulates jdbc internally, so that developers only need to pay attention to sql statement s themselves, and do not need to spend energy to deal with the complicated process of loading driver, creating connection, creating state and so on ...

Posted by jobs on Tue, 13 Aug 2019 03:11:23 -0700

30. Java Foundation - Log4j2 Configuration and Use

log4j2 configuration 1. The name of the configuration file and its location in the project log4j 2.x version no longer supports file configurations like. properties suffix in 1.x. The suffix name of the 2.x version configuration file can only be ". xml", "json" or ". jsn&quo ...

Posted by HostingTrade on Wed, 31 Jul 2019 22:43:57 -0700

Automatically listen to delete invalid orders (quartz)

Reprint: https://blog.csdn.net/menghuanzhiming/article/details/77744267Task requirements: Close overtime unpaid orders and invalidate order information Related technologies: Quatz Framework Timing Scheduling Realization ideas: 1. When the service starts, query the order data in the database which has ...

Posted by cody44 on Mon, 22 Jul 2019 23:16:15 -0700

Automatic Generation of Activi7 Foundations and Tables

Workflow: With the help of computer, it can realize automatic control of process. Workflow systems: If a system has automated management of processes, it is called workflow systems.BPM(Business Process Management): Business Process ManagementBPMN(Business Process Model And Notation): Business Process ...

Posted by pbarney on Mon, 22 Jul 2019 01:02:10 -0700

Use of log4j2

I. Introduction to log4j2 log4j2 is an upgraded version of log4j 1.x, which refers to some excellent logback designs and fixes some problems, thus bringing about some significant improvements. Compared with log4j 1 and logback, log4j2 has a significant performance improvement and supports asynchronou ...

Posted by river001 on Thu, 18 Jul 2019 18:24:19 -0700

Summary of kafka Operation and Maintenance

1. The problem of too much self-log After running kafka for a period of time, it will find that its host disk usage is slowly increasing, check the amount of data log holdings or the threshold set before. At this time, it is kafka's own log print booster disk. The default ~/kafka_2.11-0.9.0.0/config/log4j.properties are as follows: log ...

Posted by dazzclub on Mon, 08 Jul 2019 14:43:45 -0700

Log4j2 implements different levels of log output from different threads to different files

Java Logging Framework As a Java programmer, it must be inseparable from the log framework. Now the best Java log framework is Log4j2, not one of them. According to the official test, Log4j2's asynchronous log performance is better in multi-threaded environment. In asynchronous logging, Log4j2 uses separate threads to perform I/O operations, w ...

Posted by kristoff on Fri, 05 Jul 2019 14:07:46 -0700

spring cloud log configuration

Spring Cloud log configuration can use Log4j or logback, but logback is officially recommended. Logback is produced by the author of log4j, which is used to replace log4j. We also use logback to process logs   It is very simple to configure logback in the spring boot project. The first step is to confirm that there are logback packages in de ...

Posted by RickChase on Sat, 29 Jun 2019 18:43:53 -0700

Use meerkat for service monitoring and service downgrade

meerkat is the service monitoring and service downgrade basic component developed by iQIYI mobile service side team. It mainly solves the problem of success rate, response time and QPS index monitoring when calling external interface. At the same time, when the success rate drops below the preset threshold, the call of external interface is aut ...

Posted by wiley on Sun, 23 Jun 2019 12:34:17 -0700