Original Spring Boot 2.3 new features layered JAR

background In our actual production containerization deployment process, we often encounter the situation that the Docker image is large and the deployment and release are slow There are three main factors that affect the image size of docker: The size of the underlying mirror. Try to choose Apache as the basic image to reduce the built-in s ...

Posted on Sun, 24 May 2020 19:09:01 -0700 by no3dfx

JVM in-depth understanding - memory tuning and GC logging

CPU Tall Analysis Generally available ps -Lfp pid ps -mp pid -o THREAD, tid, time top -Hp pid [root@redis webapps]# top -Hp 22272 top - 10:09:30 up 9 days, 22:10, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 30 total, 0 running, 30 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, ...

Posted on Sun, 24 May 2020 17:24:29 -0700 by hubbardude

Basic commands for 02-neo4j

1. Insert nodes.Insert a node of Person category that has an attribute name with an attribute value of Andres CREATE (n:Person {name : 'Liang Chuan Chuan'}); CREATE (n:Person {name : 'Quiet and quiet'}); CREATE (n:Person {name : 'Nicholas Tse',relation : "oldest maternal uncle"}); CREATE (n:Person {name : 'Thank you 2',relation : "2 Uncle" ...

Posted on Sun, 24 May 2020 09:43:40 -0700 by duankr

Design pattern series -- responsibility chain pattern

definition In the responsibility chain mode, each node in the chain is regarded as an object, each node processes different requests, and the next node object is automatically maintained internally. When a request is sent from the first end of the chain, it will be passed to each node object in turn along the path of the chain until the request ...

Posted on Sun, 24 May 2020 09:03:34 -0700 by mikeglaz

After programmers use IDEA plug-ins, office efficiency increases by 100% (continuous update)

IDEA some good plug-in sharing catalog IDEA some good plug-in sharing Plug in collection CamelCase Translation LiveEdit MarkDown Navigator Jrebel CheckStyle-IDEA Alibaba Java Coding Guidelines Ideavim Maven Helper FindBugs-IDEA GsonFormat Key promoter X .ignore JVM Debuger Memory View CMD Support Batch Scripts Support BashSupport Docker integ ...

Posted on Sun, 24 May 2020 06:03:04 -0700 by eddy666

One of the Flink handler functions: ProcessFunction class

About process functions As shown in the following figure, in general business development, SQL, Table API and DataStream API are commonly used, while the Low-level situation is seldom used. Starting from this chapter, we will familiarize ourselves with process functions through actual combat, and see what capabilities this series of Low-leve ...

Posted on Sun, 24 May 2020 01:19:49 -0700 by asunsha

Flink processing function Practice II: KeyedProcessFunction class

This is the second and last article in the Flink series Flink: ProcessFunction class I learned the simplest ProcessFunction class, KeyedProcessFunction I want to know today, and some features brought by this class; About KeyedProcessFunction By comparing the class diagram, it can be determined that KeyedProcessFunction and ProcessFunction ...

Posted on Sun, 24 May 2020 00:57:29 -0700 by cayman_d

Java Web IDE implemented by Vue codemirror + java compiler

background Recently, my colleague told me a very interesting requirement: let the user (in the application scenario, generally for other developers) fill in the Java code snippet. The content of the code snippet is the inheritance class of the template class that has been specified, and implement the method of template class definition. Our ...

Posted on Sat, 23 May 2020 21:44:37 -0700 by jh21236

The road to Java code performance optimization

1. Preface Recently, I have been busy participating in the company's new project development. As we are about to go online, we are testing the performance of the system, and in the process, we find some code that has room for performance optimization.So I decided to write an article to record all the performance-optimized case s I've encount ...

Posted on Sat, 23 May 2020 18:51:24 -0700 by jayd1985

Mybatis Powerful Result Set Mapper resultMap

1. Preface The resultMap element is the most important and powerful element in MyBatis.It frees you from 90% of JDBC ResultSets data extraction code and allows you to perform operations that JDBC does not support in some cases.In fact, when writing mapping code for complex statements such as connections, a resultMap can replace thousands of l ...

Posted on Sat, 23 May 2020 17:54:21 -0700 by Julian Pedley