Elastic Search 7.1.1 Cluster Building
1. Cluster Introduction:
First, three Elastic Search servers are required, and Elastic Search 7.1.1 is successfully installed. After successful installation, three Elastic Search services are started respectively (see Installation Method: Elastic search installation tutorial After service start-up, all ...
Posted by neoform on Wed, 07 Aug 2019 07:58:26 +0200
Java Concurrent Programming Ten Thread Pool Tool Class
Thread pool
newFixedThreadPool
newCachedThreadPool
newScheduledThreadPool
newWorkStealingPool
ForkJoinPool
Instructions
Java Concurrent Programming 1: Concurrent Basis KnowsJava Concurrent Programming II: Threads in JavaJava concurrent programming three: volatile useJava concurrent programming four ...
Posted by AIS4U on Tue, 06 Aug 2019 10:41:04 +0200
Jenkins small project - Code testing, deployment, rollback, keepalived+haproxy scheduling to tomcat
1. Configure the java environment of two tomcat back-end services separately
1) Prepare jdk8 compression packages
[root@tomcat jdk]# pwd
/usr/local/src/jdk
root@tomcat jdk]# ls
jdk-8u211-linux-x64.tar.gz
2) Unzip the jdk package in the current directory and create a soft connection
[root@tomcat jdk]# tar xvf jdk-8u211-linux-x64.tar.gz
[root@ ...
Posted by Major Tom on Mon, 05 Aug 2019 11:11:31 +0200
The expansion process of synchronized lock (lock upgrade process) in java Concurrent note 4
The expansion process of synchronized lock (lock upgrade process) in java Concurrent note 4In this paper, we discuss the expansion process of bias lock (batch bias, batch revocation), lightweight lock, heavyweight lock and lock (that is, the upgrading process of lock) through a large number of example codes and hotspot source code analysis.
Let ...
Posted by forsooth on Mon, 05 Aug 2019 06:10:51 +0200
Java - Factory Design Patterns
Polymorphism:
Method Polymorphism
Method overloading
2. Method overwriting
Object polymorphism
3. Inheritance of abstract classes
4. Implementation of Interface
Coupling: When the code changes, the client needs to adjust accordingly.
Factory design pattern:
1. Simple Factory Mode (Defining a ...
Posted by 758 on Fri, 02 Aug 2019 05:12:56 +0200
Dynamic proxy parsing
I. What is the Agency Model
Definition of proxy pattern: The proxy pattern provides a proxy object for an object, and the proxy object controls the reference of the original object. Generally speaking, the agency model is a common intermediary in our life.
Classification of Agent Patterns: Agent Patterns are divided into Static Agents and D ...
Posted by BoxingKing on Thu, 01 Aug 2019 05:52:27 +0200
Construction of Pseudo-Distribution Environment for Configuring Hadoop under Linux
View jps[root@master ~]# jps 7445 Jps
If this happens, you can move on to the next step.
If not, please refer to jdk environment construction
Import the Hadoop package and place it in the / opt directory
Check if the Hadoop package is imported
[root@master ~]# cd /opt
[root@master opt]# ll
total 4 ...
Posted by angelssin on Wed, 31 Jul 2019 15:20:34 +0200
JDK Source Array Blocking Queue
Thread is a very important part of JDK. All application services are inseparable from the relevant operations of threads. Thread pools are recommended for operation and management of a large number of threads. Thread pools provided by JDK itself are often used in services. Executors are often used to create them in the past, but Ali The specifi ...
Posted by djrichwz on Sun, 28 Jul 2019 07:52:30 +0200
Multithreading - Some ideas for improving lock performance
Locks are one of the most common synchronization methods. In high concurrent environments, intense lock competition can cause performance degradation of programs. Therefore, it is necessary to discuss some performance issues related to locks and some considerations, such as avoiding deadlocks.In order to reduce the competition for locks and cau ...
Posted by nikkio3000 on Sat, 27 Jul 2019 19:39:38 +0200
Dubbo Thread Pool Source Parsing
This article was first published in the public number "andyqian" of personal WeChat, and we look forward to your attention!
Preface
Previous article " Java Thread Pool Executor><Analysis of ThreadPoolExecutor Principle ThreadPoolExecutor describes the concepts and principles of ThreadPoolExecutor, and today we'll lo ...
Posted by esthera on Mon, 22 Jul 2019 05:10:30 +0200