Implementation details of ConcurrentHashMap

Implement lock striping Concurrent HashMap allows multiple modification operations to be performed concurrently. The key is to use lock separation technology. It uses multiple locks to control changes to different parts of the hash table. Concurrent HashMap uses segments to represent these differen ...

Posted by rwwd on Fri, 25 Oct 2019 22:30:12 -0700

Jenkins deployment, continuous integration and deployment (CICD)

Catalog: Jenkins deployment process Jenkins continuous integration - publish JAVA website code example Jenkins deployment process Download Jenkins war package wget http://mirrors.jenkins-ci.org/war-stable/2.150.1/jenkins.war Configure java JDK, decompress and install tar xvf jdk1.8.0_131.ta ...

Posted by kaveman50 on Wed, 23 Oct 2019 20:36:47 -0700

GitLab+jenkins+docker release

Article directory Basic services Microservice provider Jenkins http://192.168.2.5:181/view/all/newJob Build a maven project HT micro record service note provider Add jenkins host public key to gitlab and generate global credentials 1.Username with password root/123456 2.SSH Username with private k ...

Posted by V34 on Fri, 18 Oct 2019 13:25:54 -0700

jenkins is automatically packaged and deployed to a specified directory

Antecedents and consequences Recently, I'm not busy with my work. I'm going to study automated packaging. The goal is to package automatically through jenkins and copy it to a specified directory. target git updates the code and jenkins automatically packages and deploys First install jenkins Look at the document jenkins need Docker installatio ...

Posted by wesley1189 on Sat, 05 Oct 2019 07:02:17 -0700

Docker-swarm Cluster Deployment and High Availability Configuration of Swarm Cluster Management Nodes

I. Docker deployment yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum makecache fast yum install docker-ce service docker start vim /usr/lib/systemd/system/docker.service #Add to --graph /data/docker --storage-driver=overlay ...

Posted by feest on Mon, 23 Sep 2019 03:18:42 -0700

Instructions for putty use

I. Overview PuTTY is a Telnet, SSH, rlogin, pure TCP and serial interface connection software. Earlier versions only support Windows platforms, and in recent versions, Unix platforms have been supported and are intended to be ported to Mac OS X. In addition to the official version, many third-party gr ...

Posted by timgetback on Wed, 31 Jul 2019 19:01:46 -0700

Jmeter+Jenkins+Ant Interface Automation Test Platform Build (Mac) Output Test Report

1. First, copy the jar package ant-jmeter-1.1.1 under apache-jmeter-3.2 extras to ant's lib directory Copy it to the lib file in your installation ant directory (not here) /usr/local/Cellar/ant/1.10.6/libexec/lib Tip: If you can't find the path after downloading ant, you can enter the command at ...

Posted by ManicMax on Fri, 19 Jul 2019 03:11:04 -0700

Practical small commands

1. Practical Small Commands 1.1,cat The cat command is mainly used to view file contents, create files, merge files, append file contents and other functions.Common Options-n: Display line numbers when viewing text-b: Display line numbers when viewing text, excluding blank lines-E: Displays whether or not a line break occurs, ending with'$'to ...

Posted by Jmz on Wed, 05 Jun 2019 09:26:55 -0700

Internship Log (Week 6, 2)

Common plug-in additions to jenkins 1. Subversion Plugin Jenkins can pull the Subversion repository for changes, which can only happen once a minute, so you may have to wait an entire minute to find the changes. To reduce this delay, you can set up a post-commit hook so that the Subversion repository can notify Jenkins when changes are made ...

Posted by mainewoods on Mon, 20 May 2019 15:16:07 -0700

Jenkins Jenkinx-client Curl operation jenkins

There are two ways for Jenkins to call Java remotely, one is REST API, the other is to use jenkins-client. Reference link: https://www.cnblogs.com/zjsupermanblog/archive/2017/07/26/7238422.html Implementation of jenkins-client The bottom layer of jenkins-client is implemented by sending post requests using HttpClient HttpPost, which encapsulate ...

Posted by Jpauls104 on Fri, 17 May 2019 14:27:57 -0700