mysql series: innodb log management, Java microservice architect
-s ORDER what to sort by (al, at, ar, c, l, r, t), 'at' is default # default collation al: average lock time # average lock time ar: average rows sent # average return record time at: average query time # average query time c: count # records l: lock time # lock time r: rows sent # returns the number of records t: query time # query time -r rev ...
Added by bdlang on Mon, 03 Jan 2022 23:33:23 +0200
Linux VIM editor and restoring files deleted by mistake under ext4 - Xmanager tool
Introduction to main modes of vim
vim command mode Q: are vi and vim installed in the same package? A: NO, vim is an added version of vi. the most obvious difference is that vim can be syntax highlighted. It is fully compatible with vi
Check a command, which software package is installed:
[root@xuegod63 ~]# rpm -qf /usr/bin/vim
[root@x ...
Added by rutin on Mon, 03 Jan 2022 18:38:15 +0200
[picture and text] stack change during function call
We all know that the function call is realized through the stack, and we know that the local variables of the function are stored in the stack. However, the implementation details of the stack may not be clear. This article will introduce how to implement function stack on Linux platform.
Stack frame structure
When a function is called, a space ...
Added by rewast on Mon, 03 Jan 2022 12:40:37 +0200
Java advanced: Collection framework 2, java development starts from scratch
1, List interface
1. General
Inherits the Collection interface, which is a Collection of elements
For example, the order of storing elements is 11, 22, 33. Then, the storage of elements in the set is completed in the order of 11, 22 and 33)
It is a set with index , through which the elements in the set can be operated accurately (the ...
Added by Aleirita on Mon, 03 Jan 2022 10:54:29 +0200
java High Score Interview Guide: Introduction to springboot
Be careful! If you choose a non-default engine, you need to set up a template engine in AutoGenerator.
AutoGenerator generator = new AutoGenerator();
// set freemarker engine
generator.setTemplateEngine(new FreemarkerTemplateEngine());
// set beetl engine
generator.setTemplateEngine(new BeetlTemplateEngine());
// set custom engine ...
Added by athyzafiris on Mon, 03 Jan 2022 05:13:48 +0200
Interviewer: the new version of Redis begins to introduce multithreading. What's your opinion?
As a memory based cache system, Redis has always been known for its high performance. Without context switching and lock free operation, even in the case of single thread processing, the read speed can reach 110000 times / s and the write speed can reach 81000 times / s. However, the single thread design also brings some problems to Redis:
On ...
Added by artisticre on Mon, 03 Jan 2022 04:08:44 +0200
C# can still play like this, organized by Tencent T3 team
After the interactive interface design is completed, it will be followed by the writing of control functions and other functions,
The first thing to do is to write the functions of each control of the calculator. These functions can be generated automatically by double clicking the control directly in Visual Studio. This is very convenient and ...
Added by rikmoncur on Mon, 03 Jan 2022 00:41:33 +0200
Mybatis dynamic SQL, do you really know it? Interview killer
In order to enable developers to write SQL flexibly, Mybatis also spent a lot of effort, defining a lot of tags and syntax, which will be introduced one by one below.
if
Although the English is not very good, I don't know if it means in such a simple way. It also exists in Java syntax. Only when the judgment condition is true will the SQL s ...
Added by swissmant on Sun, 02 Jan 2022 23:53:31 +0200
Java multithreading implementation, concurrency and synchronization, [Java data structure and algorithm]
Binary tree refers to an ordered tree in which the degree of nodes in the tree is no more than 2. It is the simplest and most important tree. The recursive definition of binary tree is: a binary tree is an empty tree, or a non empty tree composed of a root node and two disjoint left and right subtrees called roots respectively; the left and r ...
Added by jsscart on Sun, 02 Jan 2022 23:42:31 +0200
JMeter usage problem: store interface return variables as csv files
When JMeter is used for interface testing, there are tests of multiple threads and interfaces in the whole jmx test plan. However, interfaces can be classified, such as business interface, query interface, update interface, etc.
Considering that the automatic interface test is generally one-time and has a complete closed-loop link, the genera ...
Added by CNibbana on Sun, 02 Jan 2022 20:44:14 +0200