Introduction and deployment of Prometheus
1. Introduction to Prometheus
Prometheus is an open source system for monitoring and alarming. It has now joined the CNCF Foundation as the second CNCF-hosted project after k8s. In the kubernetes container management system, Prometheus is often used for monitoring. It also supports multiple exporter s for data collection and pushgateway fo ...
Posted by vintox on Sun, 28 Nov 2021 19:16:18 +0100
Linux Basics
file
Directory tree
/Bin: bin is the abbreviation of Binaries. This directory stores the most frequently used commands./boot: here are some core files used when starting Linux, including some connection files and image files./Dev: dev is the abbreviation of device. External devices of Linux are stored in this directory. The way to access de ...
Posted by Magicman0022 on Sun, 28 Nov 2021 08:00:44 +0100
Two ways to implement AOP in Java
Everyone who knows Spring knows the aspect oriented programming (AOP) of Spring. We won't talk about the aspect of Spring here. Later, we will have an opportunity to dissect the aspect programming of Spring. We want to explain how to implement AOP in ordinary Java code. There are two ways to implement AOP. One is the implementation of the nativ ...
Posted by adige72 on Fri, 26 Nov 2021 21:27:20 +0100
Use jdbc, java and database connection to realize the method of accessing data in the database in java code ---- the simplest entry level
I am a computer white, just started self-study, slowly improving
It's lucky to knock the code and correct the mistakes. Please leave your praise. It's my greatest encouragement and gives the little girl the confidence to continue to improve! Thank you
jdbc download address Click here to download
For specific download methods, please refer to ...
Posted by jack_wetson on Fri, 26 Nov 2021 19:22:06 +0100
What if Redis memory is full? Let you understand 8 memory elimination strategies
We know that redis is a very common memory database, and reading data from memory is one of the reasons why it is very efficient. However, if one day, "What if redis's allocated memory is full?" ? Don't panic when you encounter this interview question. We can answer this question from two angles:
"What will redis d ...
Posted by nemonoman on Fri, 26 Nov 2021 15:19:59 +0100
python Programming (from introduction to practice) Chapter 1-2
Chapter 1 setting up programming environment
Installation environment
All Python exercises in this article are applicable to the python 3.6 environment. If the execution fails, you can use the python 3.6 environment.
A simple python program, hello_world.py
#cat hello_world.py
print("Hello Python world!")
Run hello_world.py
#python hello_ ...
Posted by tefuzz on Fri, 26 Nov 2021 08:37:34 +0100
Learn a linux command awk every day
Awk pattern scanning and processing language to process text and data.
Awk is a programming language used to process text and data under linux/unix. The data can come from stdin, one or more files, or the output of other commands. It is used on the command line, but more as a script. Awk has many built-in functions, such as arrays and f ...
Posted by scoobydoo9749 on Fri, 26 Nov 2021 00:25:57 +0100
Detailed explanation of Linux character device driver II (using device driver model)
preface
Please read: Detailed explanation of Linux character device driver This article mainly comes from punctual atom, wildfire Linux tutorial and my understanding. If there is infringement, please contact me in time to delete it.
text
Why do I need a device driven model
The early kernel (before 2.4) did not have a unified device driver m ...
Posted by Mr Tech on Wed, 24 Nov 2021 21:49:02 +0100
The basic concept, command, reverse proxy, load balancing, dynamic and static separation and high availability of Nginx sunflower dictionary
1, Basic concepts
1. What is Nginx
Nginx is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP proxy server. Its characteristic is that it occupies less memory. The concurrency ability is strong, and its concurrency ability is indeed better in the same type of web server.
http server A Web server is a program t ...
Posted by hthighway on Tue, 23 Nov 2021 17:09:48 +0100
Multithreaded server programming [2] - Essentials of thread synchronization
Four principles of thread synchronizationMinimum sharing of objects, reducing the need for synchronizationUse advanced concurrency components, such as TaskQueue, producer consumer queue, CountDownLatch, etcWhen you have to use the underlying synchronization primitive, only use non recursive mutexes and conditional variables. Use read-write lock ...
Posted by metuin on Tue, 23 Nov 2021 06:26:00 +0100