Spring Cloud Eureka integrates Seata to realize distributed transactions
1, Introduction to Seata
Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to-use distributed transaction services. Seata will provide users with AT, TCC, SAGA and XA transaction modes to create a one-stop distributed solution for users.
2, Software version
Software edition ...
Posted by DeepakJ on Mon, 07 Mar 2022 11:20:27 +0100
paging goes from use to abandonment, and then to use
Remember that the paging framework should have been used in version 2.0. But to be honest, if I want to realize paging Dehua, I must first write a lot of code and go around. No matter how encapsulated, the amount of code will not be small. Layering is clear to the dog. However, at present, we are so busy that we can't use it out of the box. I r ...
Posted by alex_funky_dj on Mon, 21 Feb 2022 07:31:54 +0100
Integration of springcloud components and Zuul implementation of service gateway
1, What is Zuul?
Zuul is an open source API Gateway server of netflix. It is essentially a web servlet application. The core of Zuul is a series of filters, which can be compared with the Filter of Servlet framework or AOP. Zuul can realize the following functions by loading the dynamic filtering mechanism: Verification and security: Ide ...
Posted by pacmon on Sat, 19 Feb 2022 04:57:32 +0100
Microservice development framework: introduction to eureka and nacos
I Microservices
1. Single architecture and distributed architecture
Monomer architectureDistributed architecture The system is split according to business functions, and each business module is developed as an independent project to become a service advantage: Disadvantages: the strength of service splitting, how to maintain the address of se ...
Posted by garblar on Fri, 18 Feb 2022 16:35:58 +0100
Eureka highly available Client retry mechanism: retryableeureka httpclient
Eureka highly available Client retry mechanism: retryableeureka httpclient
Here are a few questions I asked myself when I read the source code. First put them forward. I hope people who read this article will read them with questions, and then preliminarily introduce the EurekaHttpClient system. Later, I will talk about RetryableEurekaHt ...
Posted by goldfiles on Tue, 15 Feb 2022 08:59:35 +0100
If the order has not been paid for 30 minutes, it will be automatically cancelled. How to realize it
In development, we often encounter some requirements about delayed tasks. for example
If the order has not been paid for 30 minutes, it will be automatically cancelled 60 seconds after the order is generated, send a text message to the user
For the above tasks, we give a professional name to describe, that is, delayed tasks. Then a question ...
Posted by mentalfloss on Mon, 07 Feb 2022 10:23:58 +0100
Mbatis plus usage details
1, Pure Mybatis is integrated with Mybatis plus.
1. Import dependency
<?xml version="1.0" encoding="UTF-8"?>
<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"> ...
Posted by my_mind on Sun, 06 Feb 2022 06:44:36 +0100
springcloud note 3 registration centers eureka, zookeeper and consumer
1, eureka
1. Server
pom file
Add Eureka server
<!--eureka-server-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
yaml file
# eureka clusters register with each ...
Posted by angelcool on Mon, 31 Jan 2022 20:44:52 +0100
Eureka service governance of Spring Cloud
1, Eureka overview
Spring Cloud Eureka implements the function of service governance. Eureka provides server and client. The server is Eureka service registry. The client completes the registration and discovery of microservices to Eureka services.
Relationship between server and client
1,Eureka Server It is the server, which is res ...
Posted by Gafaddict on Sun, 16 Jan 2022 15:12:06 +0100
How to local joint commissioning test environment for FM project
backgroundAt present, the company still has many front-end and back-end projects (hereinafter referred to as FM projects). The development students can only jointly debug the alpha environment locally. However, after the project is transferred to the test and performance, the jira orders proposed by the test students are all hwbeta and gamma en ...
Posted by matifibrahim on Tue, 11 Jan 2022 13:05:46 +0100