Analysis and use of the log related parameters of OpenJDK 11 JVM
OpenJDK 11 is the first long-term support version after OpenJDK 8. This version has changed a lot in JVM log configuration, mainly standardization and unification. In OpenJDK 8, there are many status bits in the log configuration, which is confusing and difficult to maintain and further iterate. In OpenJDK 11, the JVM log related configuration ...
Posted by amyhughes on Sun, 08 Mar 2020 20:56:46 -0700
Practice of distributed timed task scheduling framework
This article starts with WeChat official account of vivo Internet technology.Links: https://mp.weixin.qq.com/s/l4vuYpNRjKxQRkRTDhyg2QAuthor: Chen wangrong
Distributed task scheduling framework is almost a necessary tool for every large-scale application. This paper introduces the demand background and pain points of the use of task schedu ...
Posted by Wldrumstcs on Sun, 08 Mar 2020 20:32:21 -0700
Docker private warehouse Harbor installation
previously on
My system environment is: CentOS Linux release 7.7.1908 (Core)
Before installing Harbor, you need to install Docker and Docker compose (the installation of these two items will not be described in detail)
Harbor introduction
Harbor is an open-source project, which is used to store and distribute Docker images. It extends Docker D ...
Posted by netman182 on Sun, 08 Mar 2020 06:28:58 -0700
[Spring Security + OAuth2 + JWT introduction to actual combat] 13. Third party QQ login and source code analysis
Source code analysis
Because spring security social is implemented based on social authentication filter, let's start with social authentication filter
When it comes to Filter, there must be a corresponding configuration class SocialAuthenticationFilter is no exception. Its corresponding configuration class is SpringSocialConfigurer. To make ...
Posted by raymie7 on Sun, 08 Mar 2020 05:20:00 -0700
Implementation of middleware with nginx openresty
[TOC]
Implementation of middleware with nginx openresty
Be careful
In the formal ngx.exec(), you must not output anything, such as ngx.say("debug"), otherwise you will be trapped in redirection
The log will constantly prompt attempt to call ngx.exec after sending out response headers
This should be a common sense problem. We all know ...
Posted by PAFTprod on Sun, 08 Mar 2020 03:02:07 -0700
The JVM custom class loader loads all classes and jar s under the classPath specified
1, Classloader type in JVM
From the perspective of Java virtual machine, there are only two different classloaders: boot classloader and other classloaders.
1. Bootstrap classloader: This is implemented by c + +, which is mainly responsible for the core api under the JAVA_HOME/lib directory or the jar packaging specified by the - Xbootclasspath ...
Posted by andyd34 on Sun, 08 Mar 2020 00:58:32 -0800
Initialization of MyBatis source code analysis
Mybatis source code analysis I (initialization process)
Recently, I learned the source part of mybatis. Now I am going to record my understanding process while learning. This article mainly records the initial process of mybatis, mainly including the following points:
1. What did initialization do
2. How to parse the parameters of mybatis-confi ...
Posted by cosmo7 on Sat, 07 Mar 2020 19:37:44 -0800
What do you know about spring's dependency injection?
A previous article: The difference between dependency lookup and dependency injection , this article talks about dependency lookup and dependency injection as the means to implement IOC. We use more dependency injection in our actual work. How much do you know about the specific patterns and types of ...
Posted by DannyM on Sat, 07 Mar 2020 18:40:34 -0800
008. Object oriented encapsulation cases
Object oriented encapsulation case
Encapsulation is a major feature of object-oriented programming
The first step of object-oriented programming -- encapsulating properties and methods into an abstract class
Objects are created using classes, and then objects call methods
The details of the object ar ...
Posted by journeyman73 on Sat, 07 Mar 2020 04:23:36 -0800
Bin Packing of Google or tools
Refer to Google or tools for this article Official website documents Describes the use of or tools.
The description of packing problem is to put a set of items of given size into a container with fixed capacity. Generally, due to the capacity limitation of the container, it is impossible to put all item ...
Posted by decodv on Sat, 07 Mar 2020 03:00:56 -0800