When doing interface testing, we often encounter some interfaces to call other service interfaces, or call third-party interfaces. Problems will be encountered during the pressure test, because it is difficult to isolate the performance changes of other services and third-party interfaces. Although maintaining a set of pressure test environment ...
Posted on Tue, 26 May 2020 21:19:00 -0700 by shyish
Maven is a building tool that we often use in developing java programs. During team development, if we want to share our own written jar packages with others, we usually need to build our own Maven repository and upload the written jar packages to the Maven repository for other users to use.
Building a maven repository requir ...
Posted on Tue, 26 May 2020 15:55:01 -0700 by eddiegster
I have written this tutorial before, but I haven't finished it. Because of the delay in the process, I'm going to reopen an article to write about TabLayout
I will not elaborate here. In fact, basic use is not often seen in project development. In fact, there are two common usage scenarios f ...
Posted on Tue, 26 May 2020 09:23:57 -0700 by azeem123456
1. Understanding Strategic Patterns
Policy mode is a behavioral mode that separates objects from behaviors and defines behaviors as an interface to behaviors and an implementation of specific behaviors.The most important feature of strategy mode is the change of behavior, which can be replaced by each other.
Posted on Mon, 25 May 2020 18:19:41 -0700 by gizmola
We often see @Import import functionality in the Spring framework, especially at the framework level.
I'll just tell you what it can import. First, declare that @Import is a comment. There are three types of imports:
1. Import the configuration @Configuration, similar to the import xml file of spring's earlier version 2.5,
<?xml version=" ...
Posted on Mon, 25 May 2020 16:46:45 -0700 by warriors2003
Kafka Quick Start (7) - Kafka Monitoring
1. Kafka Monitoring Indicators
1. Kafka host monitoring indicators
Host monitoring monitors the performance of the node machine where the Kafka cluster Broker resides.Common host monitoring metrics include:(1) Machine Load(2) CPU utilization(3) Memory usage, including Free Memory and Used Memory(4) Disk ...
Posted on Mon, 25 May 2020 10:37:33 -0700 by meckr
Recently, I am reading Qin Xiaobo's Zen of design pattern. This article is another 2000 line long and watery note, recording 22 of the 23 design patterns mentioned in the book, basically copying the definition, advantages, disadvantages, applicable scenarios and demo of each design pattern mentioned in the book. It is recommended to read the o ...
Posted on Mon, 25 May 2020 08:52:40 -0700 by depsipher
For the source code of this tutorial, please visit: tutorial_demo
Before learning this tutorial, you need to know (use it if you want) the following:
Database connection pool c3p0;
Apache Commons DbUtils.
Learning without practicing is false. Next, we use the knowledge of IOC and DI learned before to combine Apache Commons DbUtils to implem ...
Posted on Mon, 25 May 2020 08:51:45 -0700 by squiblo
According to the life cycle of fragments, we know that onAttach() method will be executed first, so we do some data initialization operations here, such as calling getNews() method to get several simulated news data, and completing the creation of NewsAdapter, and then loading news in onCreateView() method_ title_ Frag layout, and register the ...
Posted on Mon, 25 May 2020 07:53:45 -0700 by geoffjb
docker environment configuration
Correct time zone time
# View current time
# Modify current time
$ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo 'Asia/Shanghai' > /etc/timezone
Replace the software source to aliyun
cp /etc/apt/sources.list /etc/apt/sources.list.bak
# Ubuntu14.0 aliyun source:
deb http://mir ...
Posted on Sun, 24 May 2020 19:17:31 -0700 by danlayton00