Analysis of Nginx source code -- master process and worker process
1, Explain
In the previous chapter, we had a general understanding of the startup of the nginx process. We didn't go deep into what the process did. In this chapter, we'll look at what the master process is doing.
2, Function analysis
./src/os/unix/ngx_process_cycle.c>ngx_master_process_cycle(ngx_cycle_t *)
ngx_new_bina ...
Posted by caine on Tue, 07 Sep 2021 08:14:06 +0200
Four network modes and data management of docker
When the project uses docker on a large scale, the problem of container communication arises. To solve the problem of container communication, you must first understand a lot of knowledge about the network. Docker, as the most popular lightweight container technology, has many commendable functions, such as docker image management. However, doc ...
Posted by iHack on Sun, 05 Sep 2021 04:23:03 +0200
Disk management - expand swap space + disk quota + hard and soft links
Disk management - supplemental expansion
Expand swap space
Add disk expansion
Process: new partition – > refresh partition table – > format – > activate
see information
[root@server1 ~]# free -h
total used free shared buff/cache available
Mem: 1.8G 147M 1.2G 9.6M ...
Posted by barryflood22 on Fri, 03 Sep 2021 00:27:45 +0200
git usage record
In short, it's not very appropriate to talk about several git partitions
Workspace: all the files you currently see are actually workspaces
Staging area: after running git add, the changes to the working area will arrive at the staging area
Version area: after running git commit, changes to the staging area will arrive at the version area
Re ...
Posted by j4ymf on Wed, 24 Jun 2020 05:38:18 +0200
k8s uses Nodeport to expose services
k8s uses Nodeport to expose services
There are many ways to expose K8s services. Here we mainly study how to expose services through Nodeport
First of all, we must understand several concepts before exposing ports:
*< 1 >. Server: it is a cluster instance entry composed of accessing backend pod replicas. It consists of: ` [cluster_ip] ` ...
Posted by mrpickleman on Wed, 24 Jun 2020 04:03:57 +0200
Install MySQL on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
MySQL is the most popular open source relational database management system. It's fast, easy to use, easy to expand, and part of the popular LAMP and LEMP.
This guide explains how to install and protect MySQL on Ubuntu 20.04.
prerequisite
Make sure you are logged in as sudo user
Install MySQL on Ubuntu
At th ...
Posted by dorgon on Tue, 16 Jun 2020 08:57:06 +0200
Docker Learning Diary
Introduction:Docker is an open source application container engine based on the Go language and compliant with the Apache 2.0 protocol.Docker s can allow developers to package their applications and dependencies into a lightweight, portable container that can then be published to any popular Linux machine, or they can be virtualized.Containers ...
Posted by fabrice on Sat, 13 Jun 2020 19:22:01 +0200
Centos7 implementation of MySQL database backup and recovery
brief introduction
MySQL database backup can be divided into logical backup and physical backup. The logical backup tools are mysqldump and the physical backup tools are xtrabackup. The two backup methods have their own advantages and disadvantages
Backup tools
mysqldump
xtrabackup
advantage
Support hot backup and incremental backup, requ ...
Posted by Gath on Fri, 12 Jun 2020 11:30:10 +0200
vnc,vnc remote control tutorial, vnc server installation tutorial diagram.
VNC introduction
VNC is a remote control tool software. VNC is a free open source software based on UNIX and Linux operating system. It has powerful remote control ability, high efficiency and practicality. iis7 server management tool is a free VNC connection software. It supports batch opening and installation of VNC servers. It can connect m ...
Posted by ashly on Tue, 02 Jun 2020 16:50:15 +0200
How springboot integrates Prometheus how to expose Histogram to obtain monitoring indicators such as P99
background
How springboot integrates Prometheus is not described in detail here. For an understanding of the integration process, refer to the blog:
Spring Boot uses Micrometer integrated Prometheus to monitor Java application performance,
Let me tell you a little bit about how long p99, p90 and other metrics we need to get for some monitoring ...
Posted by weedo on Sat, 23 May 2020 21:43:57 +0200