c++webserver/Chapter II Multiprocess Development
1. PCB on Linux
2. Process State Transition
1.Tristate
2.Pentastate
3.ps command.
//Static View Process
ps aux(View all current processes) | ajx
4.top command
//View process dynamically
5.kill command
//Kill Process
kill -9/SIGKILL pid Force Kill Process
killall -name Process name Kill by process name
6. Process re ...
Posted by may27 on Sun, 20 Feb 2022 00:06:25 +0100
C + + experience -- managing resources in the form of objects
The so-called resources are things borrowed from the system during the operation of the program. Once used, when you don't use them, you must return them. The most common resource of C + + is dynamic memory allocation, that is, the memory we dynamically allocate from the system with new or malloc. Of course, resources also include other resourc ...
Posted by swell on Sat, 19 Feb 2022 23:24:40 +0100
Spring core knowledge - Ioc brief introduction (concept and use)
The two core contents of spring are ioc and aop. This chapter introduces the concept, function and usage of ioc.
ioc brief introduction:
Concept: inversion of control, the creation of objects and the calling process between objects are handed over to Spring for management The purpose is to reduce coupling Underlying principles: xml parsing, f ...
Posted by bravo81 on Sat, 19 Feb 2022 22:47:47 +0100
VII. Java object oriented
Object oriented concept
Process oriented & object oriented
Process oriented thought
The steps are clear and simple. What to do in the first step and what to do in the second stepFacing the process, it is suitable to deal with some relatively simple problems Object oriented thought
Birds of a feather flock together in a classif ...
Posted by dschreck on Sat, 19 Feb 2022 22:04:30 +0100
Linux common commands
catalogue
1. Document processing command
1.1 # directory processing
1.2 document processing
1.3 link handling
2. Permission management command
2.1 change authority
2.2 # change of ownership
3. File search command
4. Help command
5. User management commands
6. Compression and decompression command
7. Network command
8. Shutdown and ...
Posted by TFD3 on Sat, 19 Feb 2022 21:28:25 +0100
Teach your wife by hand: RocketMQ cluster mode - RocketMQ Master-Slave - Multi Master and multi Slave mode
Technical work should be rewarded
follow+Click three times (like, comment, collect) and watch again to form a good habit
RocketMQ tutorial related series directory
catalogue
Section I: server preparation
Section 2: installing RocketMQ
Create rocketmq storage directory
Modify runbroker sh
Modify runserver sh
Section III: Configuration ...
Posted by dudejma on Sat, 19 Feb 2022 21:16:26 +0100
java: exception, File, recursion
abnormal
Abnormal conditions refer to abnormal conditions of the program
Corresponding to the classification of exceptions in java, exceptions in java: Throwable serious problems: Error, we don't handle them. Such problems are generally very serious. For example, memory overflow (OOM) problems: exceptions (exceptions) compile time exceptions: ...
Posted by impressthenet on Sat, 19 Feb 2022 20:16:53 +0100
How does Spring solve circular dependency
1. Preface
Cyclic dependence : is N class circular (nested) references.
Generally speaking, N beans refer to each other and finally form A closed loop. It can be represented by A classic diagram as follows (A, B and C all represent objects, and the dotted line represents reference relations):
In fact, it can be N=1, that is, the cyclic ...
Posted by classic on Sat, 19 Feb 2022 19:39:27 +0100
[hand tear STL] stack&queue
Introduction and use of stack
stack is a container adapter, which is specially used in the context of last in first out operation. Its deletion can only insert and extract elements from one end of the container.Stack is implemented as a container adapter. A container adapter encapsulates a specific class as its underlying container, and pr ...
Posted by scotthoff on Sat, 19 Feb 2022 18:30:48 +0100
Summary of simulated interview questions
Summary of simulated interview questions
First round interview questions
catalogue
Summary of simulated interview questions
First round interview questions
1, Describe the characteristics of the transaction ACID in the database.
2, What is springboot? Which version does your company use?
Second round interview questions
The third round ...
Posted by prion on Sat, 19 Feb 2022 17:53:19 +0100