commons-lang3 tool class learning (2)

From http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/ Official documents to organize and remember for yourself 3. BooleanUtils Boolean Tool Class and(boolean...array) logic and BooleanUtils.and(true, true) = true BooleanUtils.and(false, false) = false ...

Posted by dvd420 on Fri, 17 Jul 2020 17:51:35 +0200

javaSpring uses maven's initial build step java project

1. Modify in maven projectPom.xmlIntroduce dependencies on spring.<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com ...

Posted by rockintyler on Sun, 05 Jul 2020 16:37:42 +0200

Hadoop source code compilation

No one has to help you. Everything has to be done by yourself Hadoop source code compilation preparation (1) CentOS networking Configure CentOS to connect to the Internet. Linux virtual machine ping is smooth Note: use root role compilation to reduce the folder permissions (2) jar package preparation (hadoop source code, JDK8, maven, ant, p ...

Posted by henryblake1979 on Tue, 30 Jun 2020 10:51:58 +0200

[source code analysis] Oozie history submission task

0x00 summary Oozie is an open source framework based on workflow engine contributed by Cloudera company to Apache. It is an open source workflow scheduling engine of Hadoop platform, which is used to manage Hadoop jobs. This article, the first in a series, introduces oozie's task submission phase. 0x01 problem We deduce the implementation f ...

Posted by cowboy_x on Tue, 30 Jun 2020 05:26:29 +0200

Spring cloud Part 5: fuse monitoring

Hystrix Dashboard is a real-time monitoring tool for hystrix. Through the Hystrix Dashboard, we can directly see the request response time, request success rate and other data of each Hystrix Command. But if you only use the Hystrix Dashboard, you can only see the service information in a single application, which is obviously not enough. We ne ...

Posted by madhu on Mon, 29 Jun 2020 06:47:29 +0200

Spring cloud Part 6: Spring Cloud Config Github

As distributed projects get bigger and bigger, hardworking programmers will begin to face a challenge, and configuration files will become more and more complicated, although spring provides a chicken rib solution, spring.profiles.active In the large-scale distributed project system, it's better than nothing. The pain of manual maintenance of c ...

Posted by michealholding on Mon, 29 Jun 2020 06:15:03 +0200

Common methods of current limiting in high concurrency system

In the development of high concurrency system, there are four tools to protect the system: diffluence, cache, degradation and flow restriction. Based on the author's experience, this paper introduces the related concepts, algorithms and conventional implementation of current limiting. Concept interp ...

Posted by plapeyre on Mon, 29 Jun 2020 04:11:04 +0200

Analysis of Lucene from entry to normal use

Lucene (Chinese interpretation web search engine; full text search; search technology; vertical search engine;) About Lucene Lucene is a sub project of 4 jakarta project group of Apache Software Foundation, which is an open-source full-text search engine toolkit, but it is not a complete full-text sea ...

Posted by ckjian on Mon, 29 Jun 2020 03:36:01 +0200

Ad Concurrency Test

File descriptionab is a useful stress test tool that comes with apache. When Apache is installed, ab can be found under binDownload Link Linux/Mac: 1,yum -y install httpd-tools View information: ab-V 2,http://httpd.apache.org/download.cgi#apache24 Windows: http://www.apachehaus.com/cgi-bin/download.plx Unzip after downloading and a ...

Posted by Sangre on Mon, 29 Jun 2020 01:52:59 +0200

08 08Struts 2.x file upload

Article catalog 1 Basic upload 2 further operation of upload 3 upload restrictions If your code is developed with standard MVC, it is highly recommended to use SmartUpload. However, if your project code is developed with framework, such as Struts 1.x, Struts 2.x, and Spring MVC, you can only use F ...

Posted by nonexistence on Sun, 28 Jun 2020 06:52:44 +0200