[source code reading] - Sylar server framework: timer module
Timer module overview
sylar implements the timer function based on epoll. Because the accuracy of epoll is milliseconds, the accuracy of its timer is also milliseconds. The timer has the design based on time wheel and time heap. In sylar, it adopts the design of minimum heap. For the specific explanation of timer, please refer ...
Posted by rrijnders on Mon, 06 Dec 2021 22:32:47 -0800
Overview of DNS domain name system and forward resolution experiment
catalogue
1, DNS - domain name system
2, DNS domain name structure
3, DNS server type
4, Steps to build DNS domain name resolution server
Domain name resolution using virtual machine win10
1, DNS - domain name system
DNS definition: DNS is the English abbreviation of "domain name system". As a distributed database that maps ...
Posted by paul_so40 on Sun, 05 Dec 2021 20:44:49 -0800
python module learning notes
#My QQ email authorization code: XXXXXXX 1.Python automatically sends mail import smtplib from email.mime.text import MIMEText from email.header import Header
qq_host = "smtp.qq.com" # Sending server
qq_port = "465" # Sending server port
qq_username = 'XXXXXXX@qq.com' # Sending user name
qq_password = "XXXXXXXXX" # Sending authorization co ...
Posted by youscript on Sun, 05 Dec 2021 16:08:15 -0800
[0x04] label management
What is a label
When publishing a version, we usually tag it in the version library first, so that we can only determine the version at the time of labeling. Whenever a label version is taken in the future, it is the historical version of the labeled time. Therefore, the tag is also a snapshot of the version library.
Although the Git tag is a ...
Posted by unklematt on Sun, 05 Dec 2021 15:23:27 -0800
Linux device driver learning notes - Advanced Character driver operations - Note.4 [blocking I/O]
Linux device driver learning notes - Advanced Character driver operations - Note.4 [blocking I/O]
LINUX DEVICE DRIVERS,3RD EDITIONMany of them are extracted from the Linux kernel source code
6.2 blocking I/O
The driver should (by default) block the process and put it to sleep until the request can continue. This section shows how to put a p ...
Posted by Senate on Sun, 05 Dec 2021 07:28:21 -0800
LVS / ipsadm mode and basic use
LVS
Article catalogDocker builds a simple LVS - dz45693 - blog Park (cnblogs.com)
Linux Virtual Server, Linux Virtual Server, mainly realizes soft load scheduling
1, Introduction
1.1 three working modes of LVS
NAT - network address translation NAT (Network Address Translation) refers to Network Address Translation. The requested data p ...
Posted by ParkerPHP on Sun, 05 Dec 2021 01:23:10 -0800
Build a Web server in 3 minutes -- Java Spring Boot + MySql + Android App
Personal Taobao store link Partners in need can click here
1 Preparation
(1) Download the official website of tomcat, unzip it to / Library, start the Tomcat server, and the official website of Tomcat appears; (2) When downloading MySql, the Mac should not download the latest version, because MySql cannot be opened in the system preferences. ...
Posted by LiveFree on Sat, 04 Dec 2021 22:14:02 -0800
Linux system software installation
preface
After we purchase a ECs, we usually need to install some common software. This article will introduce the common installation methods and configurations of some softwareBefore installing the software, we need to do some preparatory workFirst, check whether the yum source is available. If the following figure appears, it indicates ...
Posted by imekul on Sat, 04 Dec 2021 12:45:50 -0800
The server connects to alicloud Iot platform to issue instructions
brief introduction
This routine issues the instruction for NodeMCU-ESP8266 to connect to alicloud Iot platform. In fact, it publishes messages for the specified device Topic to achieve the effect of control. Specifically, it publishes messages to the Topic of product / product details / Topic class list / object model communication / sys/gmvzw ...
Posted by nareshrevoori on Sat, 04 Dec 2021 11:41:50 -0800
Innodb of Innodb engine_ lock_ wait_ Timeout parameter description and validation
Innodb of Innodb engine_ lock_ wait_ Timeout parameter description
explain
First, the Innodb engine will lock the corresponding row when executing the update statement and will not release it until the transaction is committed or rolled back. In the process of holding a row lock, if other transactions b also want to modify the data of the loc ...
Posted by justinh on Fri, 03 Dec 2021 22:34:34 -0800