Source code analysis of Spring transaction execution
Spring transactions rely on AOP. The transaction execution process is to add AOP facet logic when the business method is executing. It is intercepted by the TransactionInterceptor class. We use this as the entry point to analyze the whole process.
1, TransactionInterceptor
public Object invoke(MethodInvocation invocation) throws Throwable {
...
Posted by passagewds on Tue, 24 Mar 2020 04:06:06 -0700
In a few thousand times, I used SpringBoot+Redis to handle the repeated submissions
Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on!
In a real development project, an exposed interface is often faced with a large number of repeated requests submitted in an instant. If you want to filter out the repeated requ ...
Posted by kevinn on Tue, 24 Mar 2020 00:19:18 -0700
How to integrate Redis cluster in Spring
In the last article, I talked about--- How to build a redis cluster? Let the cluster have the capacity expansion of fragmented data memory and the high availability of sentry . Today, I'll show you how Spring integrates Redis cluster
First of all, I'd like to tell you about the characteristics of segmentation and sentry:
1. The main function ...
Posted by Xoom3r on Mon, 23 Mar 2020 23:53:00 -0700
Detailed explanation of CGLIB, one of Java Dynamic agents
In the last article< Java agent pattern and dynamic agent >In Java, we introduce the static proxy mode and dynamic proxy mode, and take JDK native dynamic proxy as an example to explain. In this article, we will introduce the dynamic agent based on CGLIB and compare it with the native dynamic agent.
CGLIB introduction
CGLIB(Code Generatio ...
Posted by Tekron-X on Mon, 23 Mar 2020 18:43:56 -0700
Spring Cloud Micro Service Architecture From Getting Started to Getting Used - Service Gateway Spring Cloud Gateway
In the first two articles, we have preliminarily completed a small micro-service framework, including a service registry, an order service, and an inventory service. Order services can also make inter-service invocations of inventory services through feign.In that article, we will introduce the service gateway Spring Cloud Gateway.
Spring Cloud ...
Posted by daddymac on Mon, 23 Mar 2020 10:59:24 -0700
Spring boot admin turbine configuration details
Because hystrix is a single application for monitoring the traffic status. Sometimes we need to view the monitoring status of the whole system comprehensively, so we may need to introduce the monitoring check of turbine. Spring boot admin already has the plug-in spring boot admin server UI turbine
turbine is a collection of hystrix. It shows a ...
Posted by LennyG on Mon, 23 Mar 2020 07:57:23 -0700
rabbitmq Series Dead Letter Queue
1. What is the Dead Letter Queue
When a message becomes a dead letter in one queue, it is re publish ed to another switch, which is called a dead letter switch. A private switch delivers a dead letter to a queue, which is a dead letter queue.The principle is as follows:
There are three situations when a message becomes dead letter:
Message re ...
Posted by uluru75 on Sun, 22 Mar 2020 18:58:17 -0700
Spring boot -- loading in the preparation stage of spring application
Learning notes are notes made according to my own needs and understanding after learning the core technology of Spring Boot 2.0 in-depth practice by brother Ma on mooc.com.
Preface
Spring boot is built based on spring, that is to say, Spring Framework is the basis of learning spring boot well.
First of all, the premise of und ...
Posted by NiallThistle on Sun, 22 Mar 2020 09:18:17 -0700
Spring cloud series configuration center (Config) instructions
Hello, everyone. Recently, the company's new project is developed with spincloud family bucket. Originally, spring cloud was only at the primary level of understanding. This time, with the opportunity of the new project, we can deeply practice spring cloud, even Happy. When I graduated from University, I had the idea of writing technical articl ...
Posted by goodtimeassured on Sun, 22 Mar 2020 05:44:22 -0700
Pretty boy, is spring boot still in Baidu search configuration? The old driver taught you a trick!!!
Guide reading
Recently, chen company is busy, in order to ensure the high quality of the article, it may take two days to change, here Chen said sorry first!!!
Yesterday, a friend asked me how to integrate Redis with SpringBoot. He said that Baidu Google search is not reliable. I was shocked. So you integrated spring boot with Internet sear ...
Posted by wilburforce on Sun, 22 Mar 2020 01:17:30 -0700