rabbitmq simple introduction
1, rabbitMq concept
rabbitMq is a message oriented middleware that receives and uses messages for third parties. Just like express delivery, merchants are producers, express stations are MQ, and users are consumers.
2, Why rabbitMq
decoupling For example, system A of the company needs to push data to other different systems. In this way ...
Posted by monkeynote on Sun, 13 Feb 2022 15:40:08 +0100
Mybatis notes of the eight part script
Recently, I went out for an interview and wrote some technical points about Mybatis in my resume, so the interviewer began to ask me constantly. This article specially records some problems encountered in the interview.
What is Mybatis
Mybatis is a persistent SQL framework that encapsulates SQL to a certain extent. It encapsulates the commonl ...
Posted by feliperal on Sun, 13 Feb 2022 15:27:10 +0100
Use and analysis of C# operation path class method
English Translation: As the name suggests, it is the operation path
Namespace:
using System.IO;
File stream... And so on are common in this namespace. They are all classes and methods related to operation files
This article explains and runs all the methods inside
F12 go to the definition and find that it is a static class
What ...
Posted by delassus on Sun, 13 Feb 2022 15:25:01 +0100
Adapter mode
I. Introduction of models
1.1 definition
Convert the interface of a class into another interface that the customer wants. So that those classes that cannot work together due to incompatible interfaces can work together.
The adapter mode is divided into class structure mode and object structure mode. The former has a higher degree of coupling ...
Posted by Bike Racer on Sun, 13 Feb 2022 15:19:49 +0100
[daily problem] Li Kou - game 280 (I really didn't know how to solve other people's problems so succinctly)
⭐ New pit in winter vacation -- daily question notes of code Fox 😢 The winter vacation is about to expire 😢
6007. Maximum sum of array - Hard - game 280 weekly question 4
Give you an integer array nums with length N and an integer numSlots, satisfying 2 * numSlots > = n. There are a total of numSlots baskets numbered 1 to numSlots.
Y ...
Posted by andrewgauger on Sun, 13 Feb 2022 15:18:17 +0100
Summary of Unix network programming -- simple server implementation
1. Preface
To realize a simple server, it needs several steps to establish a connection with the client and receive the data from the client for processing. The figure above shows the basic socket functions needed to implement the TCP client / server program. This article focuses on the implementation of server-side.
2.sokcet()
First, call ...
Posted by tejama on Sun, 13 Feb 2022 15:13:19 +0100
Shuttle: IOS sideslip return
Write in front
In fluent, the default is to support the sideslip return of the screen edge of iOS. However, if we rewrite the onWillPop callback of WillPopScope due to some requirements, this feature will become invalid.
content
In general, we do not add WillPopScope to the page and rewrite its onWillPop method. On iOS, we can sideslip b ...
Posted by KC_Geek on Sun, 13 Feb 2022 15:11:31 +0100
Building a common Vue component library using Vue Demi
In this article, we learn about Vue Demi by considering its function, how it works, and how to start using it.Vue Demi is a great package with a lot of potential and practicality. I strongly recommend using it when creating the next Vue library.According to the founder Anthony Fu, Vue Demi Is a development utility that allows users to write com ...
Posted by rgpayne on Sun, 13 Feb 2022 14:44:07 +0100
How can concurrent locks protect multiple resources
Concurrent locks protect multiple resources
For mutexes, the relationship between protected resources and locks is generally many to one, so how to use a mutex to protect multiple resources?
First, you need to distinguish whether there is an association between multiple resources.
There is no association between multiple resources
There is ...
Posted by davieboy on Sun, 13 Feb 2022 14:39:51 +0100
Task of Gradle learning
1, Create tasks in multiple ways
1. Create task with task name
Example:
// Create task with task name
def Task taskCreatedByName = task taskCreatedByName
// def Task taskCreatedByName = task(taskCreatedByName)
taskCreatedByName.doLast {
println "This is a task created by task name"
}
Prototype:
Task task(String name) throws InvalidU ...
Posted by skehoe on Sun, 13 Feb 2022 14:29:29 +0100