Make clear the relationship among Minor GC, Major GC and Full GC
Preface
This article requires the reader to be familiar with the general garbage collection principles built into the JVM. Heap memory is divided into Eden, Survivor and Tenured/Old spaces. Generation assumption and other different GC algorithms are beyond the scope of this paper.
Minor GC
Reclaiming memory from younger generation spaces, i ...
Posted by abx_2112 on Tue, 15 Oct 2019 06:18:33 -0700
How to build MongoDB fragmentation (no master-slave)
First, MongoDB is ready on the server running the fragmentation. We need to plan:
A configuration server is used to store fragmentation information and coordinate data storage.
Several piecewise servers are used to save the data itself.
A broker server, used to perform fragmentation operations, but also the access entrance of the client.
1. S ...
Posted by WormTongue on Mon, 14 Oct 2019 10:42:36 -0700
Android Development (10) ActionBar & Message & Notification & Broadcasting is all in this article!
I. Use of ActionBar
Action Bar is the application of the top rectangular bar, the content is generally app icon, app name, menu buttons, tab navigation, etc.
1. Display and hide ActionBar
xml method: Setting the theme attribute of application or activity in manifest can display and hide (theme with NoAction Bar)
java method: first, getSupportAc ...
Posted by Irvin Amoraal on Sun, 13 Oct 2019 08:42:57 -0700
MySQL Learning - Operating Custom Functions
ABSTRACT: This paper mainly studied the method of using DDL statements to operate custom functions.
Understanding custom functions
What is it?
Custom functions are procedural database objects that are very similar to stored procedures. Like stored procedures, it is a code fragment consisting of SQL statements and procedural statements, and c ...
Posted by Ulysses Freeman on Tue, 08 Oct 2019 11:35:44 -0700
Source code analysis Elastic Job fragmentation mechanism (flow chart with fragmentation mechanism)
This paper will focus on the analysis of Elastic Job's fragmentation mechanism:
Elastic Job fragmentation mechanism:
When Elastic Job starts, it first starts the listener that needs to be re-fragmented.See the code: ListenerManager startAllListeners {...; shardingListenerManager. start ();...}.
Before the task is executed, fragmentation inform ...
Posted by ethan.whitt on Mon, 07 Oct 2019 18:40:08 -0700
SpringBoot take-off series - Web development
I. Preface
From today on, we will start our web development. The previous article used SpringBoot Take-off Series - Build Environment with idea (2) We have explained how to develop, of course, this is the beginning of the construction, and then we will start to develop in detail, including the use of various starters in spring boot, the real f ...
Posted by mbowling on Sun, 06 Oct 2019 16:27:37 -0700
mybatis Details - Dynamic sql_Common Label Details
IF Tags
Problems arising from the non-use of if tags
Dynamic splicing sql is realized by various tag methods provided by mybatis.
Demand: user enquiry based on gender and name
Query sql:
SELECT id, username, birthday, sex, address FROM user WHERE sex = 1 AND username LIKE'% Liu%'
<!-- Query users b ...
Posted by RamboJustRambo on Thu, 03 Oct 2019 03:45:27 -0700
Quick Modification of Additions, Deletions and Revisions of ssm Projects
Feeling will always do one or two less steps, resulting in slow change, later can not remember to change the contrast.
# For example, add a field
1. Add < input > to the page
<input type="file" id="f" name="imageFile" οnchange="uploadImage(this,'img','form-article-add');" style="display: ...
Posted by mentalist on Mon, 30 Sep 2019 17:06:26 -0700
unity ablation effect
As shown in the figure above, the function of this shader is to melt the box bit by bit and then gradually disappear.
This shader function is mainly divided into two parts, the first part is disappearance, the second part is edge shading, and the third part is Custom Shadow Projection Pass.
The impleme ...
Posted by Kazhultee on Thu, 19 Sep 2019 06:18:16 -0700
Performance optimization for page rendering of large amounts of data (time slicing)
Preface
In our practical work, we often encounter the insertion of thousands or even tens of thousands of data into a page. Obviously, if we render tens of thousands of data at the same time, the page will definitely get stuck. At this time, we nee ...
Posted by raister on Wed, 18 Sep 2019 04:27:43 -0700