Operations and Maintenance Choreography Scenario Series - Download JVM Stack to OSS
Scenario introduction
Jstack is used to generate thread snapshots of the current time of the java virtual machine. Thread snapshots are a collection of method stacks that are being executed by each thread in the current java virtual machine. The main purpose of generating thread snapshots is to locate the causes of long thread pauses, such as ...
Posted by Ryanz on Fri, 06 Sep 2019 03:40:28 -0700
SprBoot Embedded Servlet Container Automatic Configuration Principle
1. Automatic Configuration Principle of Embedded Servlet Container
Embedded Servlet Container AutoConfiguration: Automatic Configuration of Embedded Servlet Containers
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
@Configuration
@ConditionalOnWeb ...
Posted by zerogreen on Thu, 05 Sep 2019 22:51:26 -0700
Dubbo multi-protocol support
Dubbo version: 2.6.5
Dubbo supports dubbo, rmi, hessian, http, web service, thrift, redis and other protocols, but Dubbo's official website recommends that we use the Dubbo protocol. Dubbo can publish a single protocol, multiple protocols for the same service, multiple protocols for multiple service ...
Posted by nrussell on Thu, 01 Aug 2019 20:19:14 -0700
Brief Analysis of ActeMQbroker Source Code
Architecture diagram
The architecture of activeMQ is shown in the figure, leaving aside the right part, we can see that there are three parts from top to bottom:
1. connector: connector
2. region: mainly divided into topic and queue, dealing with related content separately
3. message store: storage
DEMO
Let's start with IDERunner, a tes ...
Posted by DeltaRho2K on Wed, 03 Jul 2019 09:41:44 -0700
Problems with AMQ under Servlet 3.0
Question 1: http status 500
Description:
When the project switched to Tomcat 7, there was a problem with message push implemented by amq. Most of the requests sent by amq.js were 500, only a few were 200.
Analysis:
Under Servlet 2.5 container, the servlet component supports asynchronous communication by default, but it needs to be open ...
Posted by xtops on Tue, 18 Jun 2019 16:52:40 -0700
Note a jar package conflict that caused the project to fail to start [java.lang.NoSuchMethodError:javax.servlet.ServletContext]
Ever since I figured it out Under idea, Jetty uses the main method to start the web project After that, I was ready to start other web projects with jetty. Unfortunately, the first project encountered problems. Here is a record of the whole process of investigation and treatment.
1. Abnormal occurrence
Project press Under idea, Jetty uses the m ...
Posted by wystan on Tue, 23 Apr 2019 13:30:34 -0700
Calling Third Party Interface to Send SMS
Enter Aliyun Market Page: After login, select API.
Select the SMS interface item I need on the API service page and click Enter
Choose the eye-to-eye interface service.
If it's a trial, choose 0 yuan/5 times. If you have money and don't worry about spending, choose 30,000 yuan/100,000 times to buy.
After payment is ...
Posted by Tindo on Fri, 05 Apr 2019 16:39:29 -0700
Azkaban3.X Multiple Excutors Installation Documents
Azkaban3.X Multiple Excutors Installation Documents
1. Compiling source code
1.1 Cloned Source Code
git clone https://github.com/azkaban/azkaban.git
1.2 Compilation
# Enter the azkaban directory
cd azkaban;
# Compiling projects using gradle
./gradlew build installDist
After compilation, build directories will be generat ...
Posted by longtone on Sun, 20 Jan 2019 10:18:12 -0800
Micro Services - Using HTTPS to Build Private Dock on Nexus Repository Manager 3.0
http://ju.outofmemory.cn/entry/357233
Ways of buildingConfigure HTTPSGenerate keystore fileAdd an SSL portAdd HTTPS Support ProfileModify the HTTPS configuration fileVerificationRestart serviceWeb accessdocker configurationLogin error1 - Modify the daemon.json file2 - Configure ca-trust (centos)Reference materials
Ways of buil ...
Posted by Scrank.com on Thu, 10 Jan 2019 18:03:10 -0800