Spring Cloud Gateway has built-in instructions for the use of various types of predicate (assertion)

SpringCloudAlibaba+Nacos integration Gateway Spring cloud gateway combined with Sentienl to implement gateway current limiting mechanism Spring Cloud Gateway filter factory Spring Cloud Gateway contains many built-in routing assertion factories. All of these assertions match different attributes of the HTTP request. You can combine multipl ...

Added by BenS on Mon, 28 Feb 2022 04:06:19 +0200

Log management system, summary in various ways

1, Background introduction Log management in the project is one of the basic functions. Different users and scenarios have specific requirements for logs, so different strategies need to be used for log collection and management. If it is a distributed project, the log system design is more complex. Log type: business operation, information p ...

Added by fareasd on Mon, 28 Feb 2022 02:50:14 +0200

It is said that HashMap is thread unsafe. Where is it reflected?

Foreword: we all know that HashMap is thread unsafe and is not recommended to be used in multi-threaded environment, but where is its thread unsafe? This paper will decrypt this problem. 1.jdk1. HashMap in 7 In jdk1 Many optimizations have been made to HashMap in 8. Here, we first analyze it in jdk1 7, I believe you all know in jdk1 7. ...

Added by kovudalion on Mon, 28 Feb 2022 02:41:31 +0200

[true question 3 of blue bridge] the reform of blue bridge becomes difficult. If you want to enter the national competition, you can't lack any of these abilities

โญ Introduction โญ ๏ธ Hello, I'm Zhijie. There is only one month left for the countdown of the provincial competition of the Blue Bridge Cup. If you have practiced the real problem for nearly seven or eight years, you can obviously feel that the difficulty of the Blue Bridge Cup is becoming more and more difficult. Although it is far from being ...

Added by airdee on Mon, 28 Feb 2022 02:39:12 +0200

[RabbitMQ series that laymen can understand] - dead letter queue of RabbitMQ advanced (including video demonstration service and service code)

preface Congratulations to all the friends who read this article for successfully unlocking the advanced features of RabbitMQ series Contents of dead letter queue ๐ŸŽ Through this article, you will clearly understand: what is dead letter? What is a dead letter queue? How to use the dead letter queue? etc. ๐Ÿ˜„ Finally, Xiaoming will he ...

Added by billcoker on Mon, 28 Feb 2022 02:39:48 +0200

[war, interviewer] I think the salary of spring recruitment is higher than that of the interviewer. Just read this concurrent HashMap

I'm kangarooking, not my brother's brother. An Internet worm "gua" cow, sincerely share experience and technical dry goods. I hope my article is helpful to you. Pay attention to me and make a little progress every day โ— โ— โ— preface This article is applicable to the following groups: The old fellow who wanted to change jobs rec ...

Added by plisken on Mon, 28 Feb 2022 02:19:54 +0200

Kotlin - improved factory model

Welcome to WeChat official account: FSA full stack operation ๐Ÿ‘‹ 1, Foreword Design pattern is a guide to solve specific problems in software engineering. We often say that there are 23 design patterns in Java. As a better Java, Kotlin with multi paradigm has many new language features. What improvements can be made when using the design pat ...

Added by B of W on Sun, 27 Feb 2022 17:41:15 +0200

Java annotation and reflection mechanism

Java annotation Introduction to annotation Annotation is from jdk5 0 began to introduce new technologies that can be used for checking and constraints Function of Annotation: It's not the procedure itself. It can be explained (this is no different from a comment.)It can be read by other programs (such as compiler, etc.) Format of An ...

Added by falcon1 on Sun, 27 Feb 2022 16:29:49 +0200

[deep analysis of Spring source code] 07 database link JDBC

1. Implementation of spring connection database (JDBC) Spring has done a lot of encapsulation for JDBC, eliminating redundant code and greatly reducing the development cost. Let's learn about the operation of JDBC in spring through an example. 1) Create data table structure CREATE TABLE user ( id int(1) NOT NULL auto increment, name v ...

Added by Rovas on Sun, 27 Feb 2022 11:52:56 +0200

Summary of MyBatis learning notes [1]

Official learning documents Introduction to MyBatis mybatis is a persistence layer framework written in Java. He encapsulates many details of jdbc operation, so that developers only need to care about the sql statement itself, without paying attention to the complex processes such as registering drivers and creating connections. It uses t ...

Added by purpleshadez on Sun, 27 Feb 2022 10:56:40 +0200