Actual combat and source code analysis of Alibaba micro service component Nacos configuration center
1, Nacos configuration center
Official documents: https://github.com/alibaba/spring-cloud-alibaba/wiki/Nacos-config
Nacos provides key/value storage for storing configuration and other metadata, and provides server-side and client-side support for externalized configuration in distributed systems. Using Spring Cloud Alibaba Nacos Config, ...
Posted by jOE :D on Sun, 28 Nov 2021 06:30:01 -0800
Information collection and msf tool usage under linux
00x01. Information collection under Linux
Under linux, port scanning, IP scanning and MAC scanning are mainly used to collect information
Information collection in the early stage of NMAP
As one of the most commonly used tools for penetration testing, nmap appears in various scenarios, and its functions are also very rich. It can not only scan ...
Posted by Germaris on Sun, 28 Nov 2021 06:26:32 -0800
Introduction to docker
Introduction to docker
docker pull website Docker - Official Image | Docker Hub
1. Install docker
1. Delete the local docker
yum remove docker*
2. Download the yum runtime library
sudo yum install -y yum-utils
3. Set download source
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
4. Download do ...
Posted by sader on Sun, 28 Nov 2021 06:23:48 -0800
Analysis of Buffer implementation principle of Java NIO three piece suite
At present, many high-performance Java RPC frameworks are implemented based on Netty, and the design principle of Netty is inseparable from Java NIO. ***
1. Buffer inheritance system
As shown in the figure above, for all basic types in Java, there will be a specific Buffer type corresponding to it. Generally, we most often use ByteBuffer. ...
Posted by NTFS on Sun, 28 Nov 2021 06:14:41 -0800
new and delete overloads, templates
new and delete
Tmp* p=new Tmp();------new operator(Not reloadable)
Request memory (call) operator new)Can overload
Call construct
delete p ;-----delete operator((not reloadable)
Call destructor
Memory release(operator delete)Can overload
void* operator new(size_t size)overloaded function
{
cout<<"void* operator new(size_t siz ...
Posted by Fredix on Sun, 28 Nov 2021 06:10:33 -0800
Cambrian acceleration platform (MLU200 Series) Fishing Guide -- Analysis of edge end example program
PS: if you want to reprint, please indicate the source. I own the copyright. PS: This is only based on my own understanding, If it conflicts with your principles and ideas, please understand and do not spray.
Environmental description
MLU220 development boardUbuntu18.04 + one mlu270 development hostAarch64 Linux GNU GCC 6. X cross compiling ...
Posted by rwfresh on Sun, 28 Nov 2021 06:07:09 -0800
Using C + + concurrent API [async, thread, atomic, volatile] - Lecture 16 of C++2.0
Concurrent API usage
0 Basics
Hardware thread (logical core): the thread actually executing the calculation (number of hardware threads = number of physical CPUs * number of physical cpu cores * number of logical cores per core (2) [with hyper threading technology enabled])Software thread: the thread used by the operating system for cross ...
Posted by Alex C on Sun, 28 Nov 2021 05:56:01 -0800
Unity (study notes) -- basic overview of Animator
The three states of Animator Cintroller and the properties of animation states
Original here
First we have to create a new animation controller
1 right click the folder Assets2 click Create3. Click Animator Controller again
This creates an animation controller
What we will see is the following scenario:
1 each Animator Controller comes ...
Posted by richie on Sun, 28 Nov 2021 05:50:55 -0800
2021SC@SDUSC TencentOS Tiny event
2021SC@SDUSC
Wait event
tos_ event_ The pend() function is used to obtain events. Through this function, you can know which bit in the event flag is set to 1, that is, which event has occurred. Then, the task can specify "logical and" and "logical or" to wait for the waiting event (opt_pend option).
And this function i ...
Posted by mnewhart on Sun, 28 Nov 2021 05:49:57 -0800
vue3 quick start
1. Ecology and advantages of vue3
Community ecology - gradually improvedOverall optimization - Performance Optimization / TS support optimization / combined API blessingMarket use - some companies with radical technology selection have used vue3 in the production environment
Community ecology
Component (plug-in) nameOfficial addressbrief i ...
Posted by LiLaaron on Sun, 28 Nov 2021 05:41:31 -0800