RocketMQ privilege control

RocketMQ, as an excellent middleware, has a wide range of applications. There are large-scale applications in different fields such as finance, e-commerce, telecommunications, medical, social science, security and so on. There is no doubt that the security is very questionable, because there is no security-related business module in RocketMQ, a ...

Posted by kinadian on Tue, 06 Aug 2019 05:21:12 +0200

12. Feign Integrated Circuit Breaker Hystrix

Public number: java paradise The first edition of RestTemplate+Ribbon Integrated Circuit Breaker Hystrix, this article to see how Feign Integrated Circuit Breaker Hystrix, Feign Integrated Circuit Breaker Hystrix is relatively simple. Feign has its own circuit breaker Hystrix by default, so you don't need to add annotations to SpringBook's boo ...

Posted by eabigelow on Sat, 03 Aug 2019 17:28:35 +0200

Custom WebMvc Configurer for Spring MVC Source Series

Centralized Registry for All Components in Spring MVC What does a component centralized registry mean? To put it bluntly, if you start the project with pure annotations, the components registered in xml will be transferred to the implementation of the WebMvcConfigurer class. The following is an explan ...

Posted by rxero on Fri, 02 Aug 2019 09:58:11 +0200

29. Java Foundation - Log4j Configuration and Use

I. Introduction Examples 1. Configure dependencies in maven's pom file as follows: <!-- log4j support --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> 2. Create the lo ...

Posted by dvonj on Thu, 01 Aug 2019 08:12:05 +0200

The fifteenth Generic of Java Foundation

Chapter 15 Generics General classes and methods can only use specific types: either basic types or custom types. If you want to write code that can be applied to many types of code, this rigid restriction will impose great constraints on the code. In object-oriented programming languages, polymorphism is a generalization mechanism. Generics imp ...

Posted by jbog91 on Thu, 01 Aug 2019 04:39:13 +0200

Result Set from BeanHandler and BeanListHandler

Links to the original text: https://blog.csdn.net/smile_Running/article/details/87009755 DBUtils Toolkit DBUtils is an open source JDBC tool class library provided by Apache. It is a simple encapsulation of JDBC and has a very low learning c ...

Posted by signs on Wed, 31 Jul 2019 18:43:32 +0200

wordcount of Mapreduce implemented by python

Articles Catalogue introduce Hadoop Stream The Role of Streaming Limitations of Streaming Relevant parameters of Streaming command Python implements MapReduce's WordCount introduce Hadoop is the foundation project of Apache, which solves the problem of long data processing time. MapReduce par ...

Posted by ryanb on Wed, 31 Jul 2019 16:54:25 +0200

Construction of Alibaba Open Source Sentinel Current Limiting Scheme

Sentinel is a current limiting scheme framework of Ali Open Source, which has the following characteristics: Rich application scenarios: Sentinel takes over the core scenarios of Alibaba's "Twenty-Eleven" traffic promotion in recent 10 years, such as second killing (i.e., burst traffic control within the system capacity can be tole ...

Posted by ryclem on Wed, 31 Jul 2019 16:42:44 +0200

ab Testing Tool - Server Stress Testing Details

ab pressure testing tool Ab is a tool for testing Apache Hypertext Transfer Protocol (HTTP) servers. Apache comes with ab tools, which can test apache, IIs, tomcat, nginx, web and other servers But ab does not have Jmeter, Loadrunner, such as a variety of scenario design, various graphics reports a ...

Posted by sijis on Wed, 31 Jul 2019 12:08:19 +0200

Springboot 2.0 Maven uploads files to remote servers

Undertake previous blog posts ” springboot maven+layui upload file“ The file is uploaded to the remote server and returned to the file server storage path and file size needed to store the database. pom.xml dependencies <dependency> <groupId>org.apache.commons</groupI ...

Posted by phanh on Tue, 30 Jul 2019 23:07:16 +0200