Introduction to k8s actual combat

preface This blog will introduce how to deploy and access an nginx service in a k8s cluster. This article is a brief introduction to the following five concepts. The details are in the subsequent blog posts of the column. Namespace introduce Namespace is a very important resource in k8s system. Its main function is to realize resource i ...

Added by cypher235 on Mon, 28 Feb 2022 16:18:28 +0200

Use gimerge -- branch conflict handling

Version control system is responsible for managing submissions from multiple submitters (usually developers). Sometimes multiple developers may edit the same part of the content. Once developer A edits what developer B is editing, A conflict will arise. In order to reduce the probability of conflict, developers will work in separate branches. T ...

Added by mikelmao on Mon, 28 Feb 2022 15:53:59 +0200

C language one-dimensional array - learning twelve

arrayAn array is a set of ordered data. The arrangement of each data in the array is regular, and the subscript represents the serial number of the data in the array.Each element in the array belongs to the same data type.Arrays must be defined before use.definitionType character array name [constant expression]One dimensional arrayGeneral form ...

Added by melittle on Mon, 28 Feb 2022 15:49:02 +0200

C language two-dimensional array - learning thirteen

This article was last updated on February 5, 2022, and has not been updated for more than 22 days. If the article content or picture resources fail, please leave a message and feedback. I will deal with it in time. Thank you! Two dimensional arrayGeneral form:Type specifier array name [constant expression] [constant expression];for exampleint ...

Added by Arryn on Mon, 28 Feb 2022 15:48:44 +0200

C language circular structure - learning nine

Cyclic structureFeatures: when a given condition is true, execute a program segment repeatedly until the condition is not true.while statementGeneral form: while(expression){ sentence; }flow chartbe careful:There should be statements in the loop body that make the loop tend to end, otherwise the program will fall into an endless ...

Added by BETA on Mon, 28 Feb 2022 15:47:41 +0200

[linux] allocate physical memory page of linux memory management

linux allocate physical memory page 1, Physical memory allocation overview In the linux kernel, the page allocator can allocate one or more consecutive physical pages. The number of allocated pages can only be an integer power of 2; Allocating continuous physical pages is more beneficial to alleviate the memory fragmentation of the system ...

Added by PandaFi on Mon, 28 Feb 2022 15:38:16 +0200

Notes: summary of common data structure knowledge points in Java

1. Data structure classification Java data structures can be divided into two categories according to linearity and nonlinearity: ① Linear data structure: array, linked list, stack, queue ② Nonlinear data structure: tree, heap, hash table, graph 2. Linear data structure 2.1 array Array is a data structure that stores elements in continuous ...

Added by Rose.S on Mon, 28 Feb 2022 15:25:59 +0200

linux virtual file system source code analysis (detailed explanation)

preface Virtual file system is a huge architecture. If you want to analyze everything, it will be particularly complex and clumsy. If you look at it, you won't know what to say (of course, it's mainly the author's food). Therefore, this blog tries to analyze the operation mechanism of VFS file system with the open() function as the startin ...

Added by Patch^ on Mon, 28 Feb 2022 15:02:08 +0200

Implementation of aop annotation in Spring

1. What is AOP AOP is a feature of java's spring framework. AOP is the abbreviation of aspect oriented programming. What is aspect oriented programming? Aspect oriented programming is to enhance the functions of the source code without modifying the source code. Examples Originally, a program can realize the function of user login, and the ...

Added by MNSarahG on Mon, 28 Feb 2022 14:54:14 +0200

[deep learning and effective alchemy] multi GPU tutorial, comparison between DP and DDP, ray multi-threaded parallel processing, etc. [analysis of low GPU utilization]

⬅️ preface The main reason is that the last time server12 was pulled full by one of its own train direct threads (yes... server8 was also pulled full by emm. I didn't find out at first that it was me) Live situation Later, Liu Suo told me that let me see if there are too many processes in the dataset. In this way, the utilization r ...

Added by intodesi on Mon, 28 Feb 2022 14:51:09 +0200