Intranet master-slave Intelligent DNS will no longer worry
WeChat official account: operation and development story, author: Jiang Zong
Write in front
With the rapid development of cloud native era, all walks of life have entered k8s. In just two or three years, recruitment requires "at least one year k8s practical experience". So that many traditional technologies used by many people in ...
Posted by ev66 on Tue, 16 Nov 2021 09:33:20 +0100
Operating system practice - environment configuration, simulating hard disk with files
kernel image
GRUB bootloader is obviously unrealistic if it wants to load the kernel at one time. Because the kernel is composed of multiple files, we should package multiple files into one file as much as possible. This encapsulated file is called the kernel image file: These include: Secondary bootstrap module Kernel module And picture and ...
Posted by wmvdwerf on Sat, 30 Oct 2021 10:14:44 +0200
Nanny tutorial: Vagrant from introduction to supernatural play
๐ฒ preface ๐ฒ
Download and install first Vagrant and VirtualBox , you don't need to know what it is. After installing the software, open cmd or the terminal and execute the following commands to install the operating system. It's so simple!
๐ The main system installation methods are listed below ๐ :
๐ Install windows 10 system ...
Posted by williejoe on Sat, 30 Oct 2021 05:03:25 +0200
Learning notes of operating system true image restoration: Chapter II writing MBR master boot record
1. Computer startup process
Why load into memory (1) The hardware circuit of CPU is designed to run only programs in memory (2) The memory is fast and has large capacity,What is load memory (1) The program is loaded into an area of memory by the loader (software or hardware). (2) The cs:ip register of the CPU is pointed to the starting address ...
Posted by jeffgman on Fri, 29 Oct 2021 12:00:37 +0200
Getting routing information from linux/macos
netlink
What is netlink?
Netlink is a communication mode provided by linux for the kernel and user processes. Although netlink is mainly used for communication between user space and kernel space, it can also be used for communication between two processes in user space.
Generally speaking, there are three ways for user processes to comm ...
Posted by buluk21 on Wed, 20 Oct 2021 09:39:54 +0200
Directory and file system
preface
File, abstract a collection of disk blocks. This is the third level of abstraction, from file to file system: file system, abstract the whole disk (the fourth level of abstraction)
Tip: the following is the main content of this article
1, File system
When using a disk, the disk in the eyes of users is a pile of organized ...
Posted by kagedwebdesign on Wed, 06 Oct 2021 14:52:41 +0200
Linux multi-threaded reader/writer problem: Read-first, write-first, fair queuing implementation
1.Introduction to Tasks
A data file or record can be shared by multiple processes. We call processes that only require reading the fileReader stalks, and other processes are called writer processes. Allow multiple processes to read a shared object at the same time, since reading does not confuse the data file. However, a writer process and oth ...
Posted by fantic on Tue, 05 Oct 2021 18:05:06 +0200
Interprocess communication
Shared memory: Normally, after the two processes are born by their father, even if they are brothers, their two memories are independent. If the agreement is made in advance: there is a space in memory where brothers can get data in the future. (Critical Zone) In addition to the fact that the parent process can create shared memory for the chil ...
Posted by malam on Fri, 01 Oct 2021 21:05:34 +0200
Lock implementation and concurrent data structure
Lock: it is placed around the critical area to ensure that the critical area is executed like a single atomic instruction. The lock makes the chaotic state originally scheduled by the OS controllable.
Implementation of lock
Discuss the goal that should be set before implementation, so how to evaluate the effect of a lock implementation? T ...
Posted by jmoreno on Fri, 01 Oct 2021 02:13:47 +0200
Multithreaded programming
11. Mutex initiate static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; ย ย ย The memory unit is not released until the process is completed dynamic initialization pthread_mutex_t mutex; // Define mutex objects pthread_ mutex_ init(&mutex, NULL); // Allocate kernel resources ... pthread_ mutex_ destroy(&mutex); // F ...
Posted by xiledweb on Mon, 27 Sep 2021 10:14:29 +0200