IO multiplexing -- detailed explanation and example of poll

1, poll system call Poll and select adopt the polling method, that is, each call scans the entire set of registered file descriptors and returns the ready file descriptors to the user program. Therefore, the time complexity of their algorithm for detecting ready events is O(n). However, the way in which poll describes the fd set is different fr ...

Added by Branden Wagner on Wed, 24 Nov 2021 09:18:16 +0200

Concurrent programming case: high performance current limiter Guava RateLimiter

Guava is Google's open source Java class library, which provides a tool class RateLimiter. Let's take a look at the use of RateLimiter to give you a sensory impression of current limiting. Suppose we have a thread pool, which can only process two tasks per second. If the task submitted is too fast, it may lead to system instability. At this tim ...

Added by mirana on Tue, 23 Nov 2021 18:43:40 +0200

NGINX introduction to enterprise application practice - Basic

This is a series of free knowledge, including graphic version and video version. What you see now is graphic version.NGINX series courses are divided into three parts: basic part, advanced part and enterprise practice part. What you are reading now is basic part.The video version is published in my own community. Friends who like watching video ...

Added by bladx on Tue, 23 Nov 2021 09:32:31 +0200

Oracle 11g Linux centros7 installation

Oracle 11g Linux centros7 installation Oracle 11g graphical installation requires the installation of xmmanager or vnc, which is troublesome and error prone in the intermediate process. The following describes the silent installation. preparation 1.1 modify the host name and configure the host file vim /etc/hosts 127.0.0.1 orcl-db ...

Added by TanyaTR on Tue, 23 Nov 2021 08:50:55 +0200

Linux NFS Service & samba&ftp

NFS introduction Network file system is a network file system that shares files with other clients for mounting nfs can only be shared between linux characteristic (1) Provide transparent file access and file transfer (2) It is easy to expand new resources or software without changing the existing working environment (3) High performance ...

Added by art15 on Tue, 23 Nov 2021 04:59:03 +0200

[Linux] Orphan Processes, Dead Processes, and Signals

I. Orphan Process The parent process ends, the child process does not end, and the child process is left to the init process to care for 2. Zombie Processes When the parent process does not end, the child process has ended and the parent process does not process the exit status of the child process. A process consists of process enti ...

Added by PyraX on Mon, 22 Nov 2021 23:39:27 +0200

ip address introduction

1, Role of mask 1.1 the mask is 32bit from left to right, with 1 on the left and 0 on the right, and 1 cannot be interrupted 1.2 the mask is used to divide the network part and the host part of the ip address 192.168.1.1 255.255.255.0 11000000 10101000 00000001 00000001 IP address 11111111 11111111 11111111 00000000 Mask 11000000 101010 ...

Added by kfir91 on Mon, 22 Nov 2021 22:49:48 +0200

Linux privilege maintenance

One: Adaptation method 1: Backdoor account ###Add normal users: # Create a normal user with a username guest and password 123456 useradd -p `openssl passwd -1 -salt 'salt' 123456` guest # The useradd-p method ` ` is used to store executable system commands,'$()'can also store command execution statements useradd -p "$(openssl passwd -1 12345 ...

Added by smarthouseguy on Mon, 22 Nov 2021 22:28:42 +0200

K8s component - graphical web interface Dashboard setup and installation, making k8s management easier

1: Introduction to Dashboard Dashboard is a web-based Kubernetes user interface. You can use dashboard to deploy container applications to Kubernetes cluster, troubleshoot container applications, and manage cluster resources. You can use the dashboard to get the overview information of the applications running in the cluster, or you can creat ...

Added by auddog on Mon, 22 Nov 2021 16:13:39 +0200

Linux Svn automatic update

Linux Svn automatic update 1. Installation yum install subersion 2. Configuration 2.1 create warehouse We can store all the warehouses in / www/server/svn/tests. Later, we can put all the warehouses in / www/server/svn [root ~]# cd /www/server/svn [root svn]# svnadmin create /www/server/svn/tests [root svn]# ls chats tests [root svn]# c ...

Added by kb0000 on Mon, 22 Nov 2021 14:33:36 +0200