Kernel modular programming

catalogue Introduction to the concept of kernel module Dynamic modular programming framework Module loading function Module unloading function Open source protocol and declaration of module Module compilation Makefile template Programming steps of single module 1 write the kernel module file test c 2. Write Makefile 3 compile and gene ...

Added by Morbius on Sat, 29 Jan 2022 15:01:36 +0200

nginx proxy and concurrent and Keepalived high availability cases

Load balancing, there is a place where = 5 is not written. Pay attention to the following figure Installing telnet Restart ng and configure ip Address hash Maximum number of links Carry header With host name and ip Domain name splitting Include include files proxy.conf proxy settings Dynamic and static separation The ...

Added by nakago on Sat, 29 Jan 2022 10:57:40 +0200

Service orchestration of docker

docker service orchestration Docker service orchestration, also known as docker compose, is designed to solve the problem of deploying large-scale applications using docker. Generally, in the production environment, using docker to deploy an application requires multiple containers, such as deploying front-end, back-end, dependent services, da ...

Added by duklaprague on Sat, 29 Jan 2022 05:38:29 +0200

In depth evaluation - impact of GaussDB(for Redis) large Key operation

This article is shared from Huawei cloud community Evaluation of ink Sky Wheel: the impact of GaussDB(for Redis) big Key operation , author: Goss Redis official blog. In the previous article Evaluation of ink Sky Wheel: stability and capacity expansion performance of GaussDB(for Redis) In, we use the multithreaded pressure measurement tool memt ...

Added by e11even on Fri, 28 Jan 2022 19:10:31 +0200

Linux_ Authority management

Authority management Permission viewing and reading Permission view ls -l file #View file permissions ls -ld dir #View directory permissions | rw-r–r-- | . | 1 | root | root | 0 | Apr 12 10:57 | westos [1] [2] [3] [4] [5] [6] [7] [8] [9] [1] # file type #-Ordinary file #d directory #l soft connection #b. fast equipment #c char ...

Added by []InTeR[] on Fri, 28 Jan 2022 17:30:21 +0200

Container: docker -- use dockerfile to build images and docker compose to manage images

1, Building images using Dockerfile Dockerfile is a script composed of a series of commands and parameters. These commands are applied to the basic image and finally create a new image. For developers: it can provide a completely consistent development environment for the development team;For testers: you can directly take the image built ...

Added by rachel2004 on Fri, 28 Jan 2022 13:56:50 +0200

SRS streaming media server - source code analysis - simple analysis of basic process

SRS streaming media server - source code analysis - simple analysis of basic process preface The Department plans to use SRS to build a live broadcast source station, which is my responsibility. Therefore, I take this opportunity to learn about SRS, which is also an opportunity for me to improve. Recently, I also started to build clusters of ...

Added by mikeatrpi on Fri, 28 Jan 2022 07:29:52 +0200

Linux system programming - process creation (fork), external program call (exec)

1. Introduction to fork function fork function is a very important function in linux. It can create a new process from an existing process. The new process is a child process and the original process is a parent process. The return value of fork function is as follows: 1. In the parent process, fork returns the PID number of the newly created ...

Added by adamjblakey on Thu, 27 Jan 2022 22:24:43 +0200

Mysql learning notes (quick review)

MySQL is a must for programmers to master. In fact, the language is simple. As long as you practice more, you can master it. 1, MySQL Foundation 1. Database connection tool 1.1 Navicat tutorial Navicat for MySQL tutorial (implementation of addition, deletion, modification and query) 2. DDL operation database SHOW DATABASES; The ...

Added by Radon3k on Thu, 27 Jan 2022 02:32:38 +0200

Linux learning notes (17.6) -- key driver based on asynchronous notification

Asynchronous notification When using sleep wake and POLL mechanisms, sleep is required. When waiting for an event to occur, the difference between them is that the latter can specify the duration of sleep. What if APP doesn't want to sleep? There are similar methods: when the driver has data, it actively notifies the APP, and the APP executes ...

Added by fxb9500 on Wed, 26 Jan 2022 22:52:41 +0200