Asynchronous notification and asynchronous I/O in device driver
Using asynchronous notification in the device driver can make the driver inform the user program to access the device. In this way, applications using non blocking I/O do not need polling mechanism to query whether the device is accessible, and blocking access can also be replaced by asynchronous not ...
Posted by jack_indigo on Thu, 12 Mar 2020 03:36:36 -0700
The general interface of psr/log log database
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
composer require psr/log
Log interface specification
In this paper, the general interface specification of log class library is established.
The main purpose of this specification is to make the log class library record log information by receiving a Ps ...
Posted by mark_18 on Wed, 11 Mar 2020 23:05:21 -0700
SpringBoot2 integrates ElasticJob framework and customizes management process
Source code for this article: GitHub. Click here || GitEE. Click here
1. Introduction to ElasticJob
1. Timing Tasks
In the previous article, you said that QuartJob is a timed task standard that is widely used.But the core point of Quartz is that executing timed tasks is not focused on business models and scenarios, and lacks highly customized ...
Posted by daedlus on Wed, 11 Mar 2020 16:53:30 -0700
Prepare for CKA's daily question - day 2 | Daemonset, docking storage CSI knowledge points
This activity is held on WeChat official account (my small bowl soup), and there is book delivery activity. You can't take part in the book delivery activity if you take part in the question answering here!
Pick up another article. Prepare for CKA daily question - day 1
Yesterday's examination questions
Which of the following Daemonset yaml i ...
Posted by neostrife on Wed, 11 Mar 2020 04:28:35 -0700
Prepare for CKA's daily problem - day 4: Master kubectl command to create resource object and analyze from source code
This activity is held on WeChat official account (my small bowl soup), and there is book delivery activity. You can't take part in the book delivery activity if you take part in the question answering here!
Yesterday's examination questions
Create a deployment with a single command and expose the Service. The deployment and Service names are ...
Posted by sprint10s on Wed, 11 Mar 2020 02:21:26 -0700
Spring Boot tutorial: how to develop a starter
How to develop a custom starter
One or more custom configured property configuration classes (optional)
One / more autoconfig classes
The auto configuration class is written to the SPI mechanism configuration file of Spring Boot: spring.factories
Introduction to Java SPI mechanism
The core of S ...
Posted by vimukthi on Wed, 11 Mar 2020 00:11:34 -0700
Serializable details: code validation Java serialization and deserialization
Note: This paper is a detailed explanation of Serializable (1). The last two paragraphs are ambiguous in translation (not translated for the time being), which will be supplemented in subsequent Serializable (2).
Introduction: This article is translated according to JDK English document. This translation is not completely literal translation a ...
Posted by oldefezziwig on Tue, 10 Mar 2020 22:53:22 -0700
Hyperf / websocket server / client and server real-time two-way data transmission
WebSocket service
WebSocket is a kind of communication protocol, which can carry out full duplex communication on a single TCP connection. WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In WebSocket API, browser and server only need to complete one handshake, ...
Posted by rawky1976 on Tue, 10 Mar 2020 21:06:02 -0700
Personal notes: algorithm lecture 3.4 - monetary system (complete backpack)
This article is for reference only. Thank you
Problem Description:
Simple algorithm (non dynamic programming):
#include <stdio.h>
#define max 1000
typedef struct {
int N;
int Money[max];
int solution[max];
}System;
System create(){
System A;
for (int i=0; i<max; i++) ...
Posted by tegwin15 on Tue, 10 Mar 2020 20:50:36 -0700
One article on the four main uses of Go Language Select
This article introduces you to the use of Select in the Go Language and believes that you are not unfamiliar with switching. However, select and switching have a common feature that they both handle things in a case way, but select and switching handle things completely different and incompatible.Let's see what switching is like: various types ...
Posted by wafawj on Tue, 10 Mar 2020 10:28:21 -0700