unordered_map multi thread crash in find

collapse Recently, there was a crash in the program. After query, it was found that the crash occurred in the query of STL container. The screenshot of the crash is as follows: About unordered_map Unordered map container_ The map container does not sort the stored data like the map container. unordered_ The bottom layer of the map container ...

Posted by aconite on Fri, 17 Dec 2021 11:37:00 +0100

Harbor deployment and simple application and Docker Compose syntax

Harbor deployment and simple application Introduction to Harbor Although Docker officially provides a public image repository, it is also very necessary to deploy the Registry in our private environment in terms of security and efficiency. Harbor is an open-source enterprise Docker Registry management project of VMware company. Compared with ...

Posted by bjblackmore on Thu, 16 Dec 2021 14:08:04 +0100

harbor warehouse construction and docker compose syntax

harbor warehouse construction and docker compose syntax Harbor Whether you use docker distribution to build your own warehouse or run the container through the official image, we can find that it is very simple through the previous demonstration. It is not as convenient as directly using the official Docker Hub to manage the image. At lea ...

Posted by MinDFreeZ on Thu, 16 Dec 2021 13:58:26 +0100

[Dead Spring 15/43] --- Summary of IOC initialization for IOC

[Spring 15/43] - Summary of IOC Initialization for IOC https://www.cmsblogs.com/article/1391375372632854528 text The first 13 Posts analyze the whole initialization process of IOC from the source level, and this one summarizes and concatenates these. As mentioned earlier, the initialization process of an IOC container is divided into three s ...

Posted by ltbaggz on Wed, 15 Dec 2021 22:46:49 +0100

Docker learning | 4 Docker container

catalogue 1. Start the container 1.1 create and start 1.2 start terminated container 2. Background operation 3. Terminate the container 4. Enter the container attach command exec command -i - t {parameter 5. Import and export containers Export container Import container snapshot 6. Delete container Delete a container Clean all co ...

Posted by Serpent_Guard on Wed, 15 Dec 2021 16:11:02 +0100

kubernetes persistent storage PV and PVC

kubernetes persistent storage PV and PVC 1. Introduction of PV and PVC Volume provides a very good data persistence scheme, but there are still deficiencies in manageability. Take the previous example of AWS EBS. To use Volume, Pod must know the following information in advance: The current Volume is from AWS EBS. The EBS Volume has been crea ...

Posted by DepretioN on Wed, 15 Dec 2021 03:28:25 +0100

Detailed explanation of Pod in Kubernetes

1, kubectl command kubectl is the command line tool of Kubernetes cluster. kubectl can manage the cluster itself and install and deploy container applications on the cluster The command format is as follows kubectl [command] [type] [name] [flags] parameter command: Specifies the operations to be performed on the resource, such as crea ...

Posted by scs on Wed, 15 Dec 2021 00:53:50 +0100

docker---dockerfile writing & & Optimization

catalogue 1, dockerfile layering principle 1.docker image layering (based on aufs) 2. Technology involved 2, Written by dockerfile 1.dockerfile operation instruction 2. Prepare dockerfile file 2.1 example 1: ​ 2.2 example 2: III. dockerfile optimization 1. Optimization mode 2. Optimize nginx dockerfile summary 1, dockerfile lay ...

Posted by Scooby Doo on Tue, 14 Dec 2021 10:07:36 +0100

Spring source code analysis 2 Parse the Xml configuration file and register the BeanDefinition to the container

1. Important core interfaces 1.1 resource interface Inheritance system The Resource interface represents a Resource class, which is essentially an InputStream. It is used to read a configuration file and encapsulate it into a Resource. 1.2BeanDefinition interface BeanDefinition inheritance system According to the English meaning, bean def ...

Posted by ranjuvs on Sun, 12 Dec 2021 13:25:29 +0100

Docker gitlab / gitlab CE upgrade

reason: It is found that the server occupies 100% of the memory. Execute the command to check the memory usage ps aux | head -1;ps aux |grep -v PID |sort -rn -k +4 | head -20   It is found that the / tmp/juma directory occupies too much memory, but the local directory does not have the / tmp/juma directory. Through search and troubles ...

Posted by Paul Ferrie on Thu, 09 Dec 2021 02:43:56 +0100