Redis data type
catalogue
1, String data type
2, List data type
3, Hash data type (hash type)
4, Set data type (unordered set)
5, Sorted Set data type (zset, ordered set)
1, String data type
Overview: string is the most basic type of redis, which can store up to 512MB of data. String type is binary safe, that is, it can store any data, such as numbers, ...
Posted by kingpin393 on Wed, 23 Feb 2022 14:41:04 +0100
sersync+rsync real-time backup of conference data
The original scheme of linux is inotify+rsync to realize real-time data backup;
inotify monitors the file system under linux at the linux kernel level, and records the open/access/modify operations of files;
inotify has two shortcomings:
rsync takes up too many resources due to the combination of rsync and rsync files. 1. It takes too long t ...
Posted by bav on Wed, 23 Feb 2022 13:29:37 +0100
CentOS stand-alone installation k8s and deployment NET 6 program
catalogue
environment
prepare
install
Configuration after installation
Deployment NET 6 program
summary
K8s is a foundation for learning cloud native. In order to do some experiments, stand-alone deployment is the most convenient. The following will introduce the stand-alone installation of k8s in CentOS NET 6 Program published t ...
Posted by Leviathan on Wed, 23 Feb 2022 12:56:05 +0100
Plist in Linux -- a two-way linked list with descending priority
plist
https://elixir.bootlin.com/linux/v4.9.59/source/include/linux/plist.h#L212
*Descending priority sorted double linked list
plist is a list of nodes sorted by priority; The priority of each node is from INT_MIN to INT_MAX (minimum).
The time complexity of inserting is O(k), the time complexity of deleting is O(1), and the time complexit ...
Posted by Daggeth on Wed, 23 Feb 2022 10:21:51 +0100
atlas stand-alone installation
1, Virtual machine preparation
Update virtual machine, command: yum -y updateModify the hostname. The command is hostnamectl set hostname atlasClose the firewall. The command is systemctl stop firewalld Service and systemctl disable firewalld servicereboot
2, Install jdk
Uninstall openjdk, command:
rpm -e --nodeps java-1.7.0-openjdk
rpm -e ...
Posted by frao_0 on Wed, 23 Feb 2022 05:20:54 +0100
Android 4 0 software & station coexistence debugging record 2
1. Preface
Following the previous article, the relevant modifications are mainly explained here
2. Drive and tool description
The coexistence function of station and softap is realized on the premise that the driven debug mode is turned on,
Because you need to DHD the macro of debug mode in the Makefile file_ Debug is added. If the macro ...
Posted by adrianpeyton on Wed, 23 Feb 2022 01:56:33 +0100
The first actual combat project of springboot+vue music website in winter vacation
preface
Front end usage: vue/cli "^ 4.5.15" Back end usage: springboot2 6.2, mybatis-plus3. 5.9,mybatis-plus-generator3. five point one Deployment: nginx,tomcat,webpack Summary Although the project is colorful, it is not difficult The biggest gains are: 1. Technical selection and task requirements Once determined, late changes ...
Posted by scooterlibby on Tue, 22 Feb 2022 17:13:16 +0100
[Linux] process control -- process waiting and replacement
Process waiting
1. Necessity of process waiting
·We have previously introduced the zombie process, that is, when the child process exits, the parent process does not receive the exit status information of the child process. At this time, the child process becomes a zombie process, resulting in memory leakage. Once the process bec ...
Posted by pp4sale on Tue, 22 Feb 2022 15:12:09 +0100
linux driven learning note platform
preface
In the linux kernel, we can't find code similar to the previous demo type. For linux, code reusability is very important, otherwise there will be a lot of junk code in the kernel, resulting in a large number of kernel files. For example, the same module has different drivers on different platforms. In this case, one hardware correspond ...
Posted by scott_ttocs46 on Tue, 22 Feb 2022 07:57:07 +0100
Quanzhi H64 platform el1_ Debugging analysis of abnormal interrupt in entry
1. log analysis
[ 3537.282130] PC is at do_page_fault+0x40/0x2e0
[ 3537.282130] LR is at do_translation_fault+0x5c/0xd4
[ 3537.282130] pc : [<ffffffc000095704>] lr : [<ffffffc000095a00>] pstate: 800001c5
[ 3537.282130] sp : ffffffc027b38130
[ 3537.282130] x29: ffffffc027b38130 x28: ffffffc027bdc000
[ 3537.282130] x27: ffffffc0009f ...
Posted by learning_php_mysql on Tue, 22 Feb 2022 03:08:17 +0100