Exploring RocketMQ source code -- Series1: viewing transaction messages from the perspective of Producer
Introduction: explore RocketMQ source code - Series1: transaction messages from the perspective of Producer
1. Preface
Apache RocketMQ, as a well-known open source messaging middleware, was born in Alibaba and donated to Apache in 2016. From RocketMQ 4.0 to the latest v4 7.1 Alibaba has won wide attention and praise both inside and outside th ...
Added by 00tank on Thu, 10 Feb 2022 09:35:33 +0200
LVM logical volume management
1. Foundation
1. Basic knowledge
LVM (Logical Volume Manager) logical volume management is a logical layer added between the disk partition and the file system to shield the lower disk partition layout for the file system, provide an abstract disk volume, and establish the file system on the disk volume. With LVM, the administrator can dyn ...
Added by jonsjava on Thu, 10 Feb 2022 09:26:48 +0200
Linux Performance Optimization -- disk performance and high I/O troubleshooting
Author email: 2107810343@qq.com Time: 14:39, May 16, 2021 Implementation environment: Linux System: ubuntu 18.04 CPU: 2 cores Memory size: 4G
Disk capacity view: df
For a disk, the most common performance problem is insufficient disk space, so let's first introduce how to check the disk capacity of Linux, and enter the following command o ...
Added by spiritssight on Thu, 10 Feb 2022 03:26:26 +0200
Stateless application: Deployment replica application and horizontal expansion
Words in this article:
replace(/r ɪˈ ple ɪ s /) replacement and substitution; In this article, the modified yaml file replaces the old yaml file rollout(/ ɑː ®/) record; In this article is a copy version of deploy that records history describe(/d ɪˈ skra ɪ b /) description; In this article, it means to record the process scale(/ske ɪ l ...
Added by free2code on Thu, 10 Feb 2022 00:31:19 +0200
Shell Programming Specifications and Variables
Shell Programming Specifications and Variables
1. An overview of Shell scripts
(1) The concept of Shell scripts
Save the commands to be executed in order to a text file Give this file executable permissions Shell control statements can be combined to complete more complex operations
vim first.sh #Write a first.sh's script file
(2) ...
Added by Notoriouswow on Wed, 09 Feb 2022 21:09:49 +0200
PHP buffer acceleration
1, Buffer acceleration principle
1. Buffer acceleration
Opcode: when the client requests a PHP program, the PHP engine of the server will parse the PHP program and compile it into a specific opcode file (opcode file for short, binary form). By default, opcode files are discarded after being executed by the PHP engine.Buffer acceleration ...
Added by jamescalvin on Wed, 09 Feb 2022 18:08:01 +0200
openstack keystone component deployment
1, Deployment sequence of openstack components
1. Keystone (apache) global security authentication 2. Grace provides image service 3. nova provides computing services 4. neutron provides network services
When deploying openstack components, you need to first install keystone, which is run by Apache. After installation, you can create an ...
Added by zsedc on Wed, 09 Feb 2022 13:18:23 +0200
Linux delves into DHCP and relay services
catalogue
1, DHCP service foundation
1.1.DHCP service overview
1.2. Advantages of DHCP
1.3.DHCP allocation method
1.4.DHCP lease process
1.4.1 client request IP address
1.4.2 server response
1.4.3. Client select IP address
1.4.3 server lease determination
1.4.4 re login
1.4.5 renewal of lease
2, DHCP dynamic configuration host ad ...
Added by MikeUK on Wed, 09 Feb 2022 11:18:24 +0200
Nginx from installation to high availability
I Nginx install
1. Go to the official website http://nginx.org/ Download the corresponding nginx package. It is recommended to use a stable version
2. Upload nginx to linux system
3. Installation dependent environment
(1) Install gcc environment
yum install gcc-c++
(2) Install PCRE library for parsing regular expression
yum install -y ...
Added by caspert_ghost on Wed, 09 Feb 2022 08:36:08 +0200
Using LD_PRELOAD analyzes HACK Linux user mode memory usage
LD_PRELOAD is an environment variable, which is used to load the dynamic library. The priority of dynamic library loading is the highest. Generally, its loading order is LD_PRELOAD > LD_ LIBRARY_ PATH > /etc/ld. so. cache > /lib>/usr/lib. In the program, we often call some functions of external libraries
Take malloc / free as an e ...
Added by nonaguy on Wed, 09 Feb 2022 03:52:57 +0200