Concurrent programming process
First of all, what do we need to know about the process?
Narrow sense: a process is an ongoing program
Generalized: it is the basic unit of operating system allocation
Program: it is an inanimate entity waiting for the processor to give life. Once the program has life, it becomes a process.
Differences between procedures and processes: ...
Posted by lowspeed on Fri, 03 Dec 2021 18:42:24 -0800
Introduction to Docker container network and virtualization network
1. Virtualized network
Network Namespace is a function provided by Linux kernel and an important function to realize network virtualization. It can create multiple isolated network spaces with independent network stack information. Whether it is a virtual machine or a container, it seems as if it is running in an independent network. Moreo ...
Posted by danger2oo6 on Fri, 03 Dec 2021 14:50:35 -0800
I/O reuse method - select
I/O multiplexing
I/O complex method: select poll epoll
effect:
You can listen to multiple file descriptors at the same time, Enables the server to process multiple file descriptors at the same time without introducing multiple processes.
Network programs need to use I/O multiplexing technology:
◼ The TCP server handles both listening sock ...
Posted by kevbev16 on Fri, 03 Dec 2021 08:14:54 -0800
Interviewer: how is Mybatis loaded and executed in SpringBoot?
This article mainly describes how mybatis is loaded and executed in springboot. Because there will be a lot of content involved, this time we will only explain the call relationship and key code points. In order to avoid the article being too long and sleepy to read, some details that do not affect the overall process will not be involved.
Sou ...
Posted by pandhandp on Fri, 03 Dec 2021 07:03:05 -0800
Kolla ansible deploying OpenStack multi node
https://zerosun.top/2019/08/12/openstack-deploying-by-OSA/
https://www.bookstack.cn/read/deployopenstackwithpuppet/deployment_tool-osa.md
1. Preparation environment:
Three physical machines or virtual machines (CentOS7 system and virtual machine environment are used in this paper)
One deploy and two network cards (ens192 and ens224)
One cont ...
Posted by hofdiggity on Fri, 03 Dec 2021 05:09:45 -0800
socket communication programming
socket introduction
The "ip address" of the network layer can uniquely identify the host in the network, while the "port" of the transport layer can uniquely identify the application (process) in the host. In this way, triples (ip address, protocol, port) are used The process of the network can be identified, and the proces ...
Posted by dimkasmir on Thu, 02 Dec 2021 11:57:34 -0800
2021SC@SDUSC PALISADE open source library CKKS code analysis Advanced Code steps
2021SC@SDUSC
catalogue
introduce
General steps
1. Enable TIC-TOC timing measurement
2. Define the functions and methods to be used
3. "EXACTRESCALE" and "APPROXRESCALE"
4.HYBRID switching technology
5. Zoom operation
6. Manual readjustment demonstration
introduce
&n ...
Posted by CFennell on Tue, 30 Nov 2021 16:18:26 -0800
[business decision] simple finite state machine design method
Catalogue of series articles
Tip: you can add the directories of all articles in the series here. You need to add the directories manually TODO: finishing after writing
preface
Limited cognition, I hope you will forgive me. If you have any problems, I hope to communicate with you and grow together!
This paper first makes a brief in ...
Posted by rajivgonsalves on Mon, 29 Nov 2021 19:14:51 -0800
LAN networking | common commands of switches
catalogue
1, Experimental environment
2, Common commands
3, Noun interpretation
1. Switch
2. Switch configuration
3. Port aggregation
4. Port mirroring
5. Port binding
6.VLAN
1, Experimental environment
Switch: H3C S5000P series Ethernet switch
2, Common commands
1.Enter system vie ...
Posted by Alexhoward on Mon, 29 Nov 2021 05:31:59 -0800
[C/C + + backend development and learning] 19 Redis basic data structure and commands
About Redis
Redis (Remote Dictionary Service) is an in memory database, also known as KV database and data structure database.
Redis is often used as data cache to cache hot data and reduce the pressure on the database.
View the complete Redis command: Redis command center.
Key value basic data structure
Redis's external interface alw ...
Posted by rslnerd on Sun, 28 Nov 2021 14:17:54 -0800