[Spring Cloud]Gateway - RouteLocator RouteDefinitionLocator FilteringWebHandler

preface Record the Spring Cloud Gateway from the dimensions of routelocator, routedefinitionlocator, filteringwebhandler and related assembly classes RouteLocator public interface RouteLocator { Flux<Route> getRoutes(); } The Route positioning class is generally configured with Spring Cloud Gateway. We will also construct the ...

Posted by spenceddd on Wed, 29 Dec 2021 14:40:49 +0100

Microservice architecture | how to solve the fragment upload of super large attachments?

Reading Guide: piecemeal upload and breakpoint continuation, these two terms should not be unfamiliar to friends who have done or are familiar with file upload. To summarize this article, I hope to help or inspire students engaged in related work. When our files are very large, does it take a long time to upload? With such a long connection, w ...

Posted by Vincent III on Tue, 28 Dec 2021 16:32:47 +0100

Spring Cloud Open Feign series [6] ribbon configuration class source code analysis

Ribbon auto configuration class Based on the automatic configuration function provided by Spring Boot, the Ribbon automatically configured classes are available at org.com springframework. cloud. netflix. The RibbonClientConfiguration and RibbonAutoConfiguration configuration classes of the Ribbon package. RibbonAutoConfiguration Ribbon ...

Posted by Love_Daddy on Tue, 28 Dec 2021 15:36:26 +0100

SpringCloud Alibaba Nacos service registration and configuration center

1, Introduction to Nacos Why Nacos The first four letters of Nacos are the first two letters of Naming and Configuration respectively, and the last s is Service What is Nacos A dynamic service discovery, configuration management and service management center that is easier to build cloud native applications Nacos: Dynamic Naming and Configura ...

Posted by idire on Tue, 28 Dec 2021 13:03:01 +0100

hystrix source code analysis

Recently, I encountered some production problems involving hystrix. I want to understand the underlying principle. Hystrix makes a lot of use of Rxjava's responsive programming. It's a little hard to understand because you don't understand Rxjava. Basic preparation <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.a ...

Posted by hmgroen on Mon, 27 Dec 2021 19:46:13 +0100

sentinel learning document

sentinel documents summarized in the internship Official documents: https://sentinelguard.io/zh-cn/docs/dashboard.html 1. Characteristics Sentinel vs. Hystrix SentinelHystrixIsolation strategyBased on ConcurrencyThread pool isolation / semaphore isolationFuse degradation strategyBased on response time or failure rateBased on failure ratioRe ...

Posted by Byron on Mon, 27 Dec 2021 17:07:06 +0100

[spring cloud] spring cloud integrates the environment of Seata distributed transactions

1, Foreword In the last article Research on distributed transaction principle of Seata AT mode In this paper, we will use spring cloud and spring cloud Alibaba to integrate Seata to realize distributed transaction control, and use Nacos as the registration center to register Seata into Nacos. 2, Environmental preparation This article mainly ...

Posted by burtybob on Mon, 27 Dec 2021 10:26:35 +0100

Ribbon load balancing of spring cloud Alibaba project

SpringCloudAlibaba essay directory I SpringCloudAlibaba is the father of the project II Nacos building and service registration of spring cloud Alibaba project III Producers and consumers of spring cloud Alibaba project IV Ribbon load balancing of spring cloud Alibaba project V OpenFeign remote call of spring cloudalibaba project Vi Nacos confi ...

Posted by Love_Daddy on Mon, 27 Dec 2021 02:55:21 +0100

Eureka builds microservices

preface This paper will introduce the process of using Eureka to build micro services, step by step from scratch. There are probably the following construction processes: 1. Rest microservice engineering construction 2. Stand alone Eureka build 3. Cluster Eureka construction steps Through these three processes, the latter always shows the cons ...

Posted by nesargha on Sun, 26 Dec 2021 15:24:07 +0100

Spring Cloud microservice Learning Series 12 Gateway gateway

Spring Cloud Gateway brief introduction Spring Cloud Gateway is a gateway service developed on the spring official website based on Spring 5.0, Spring Boot 2.0, Project Reactor and other technologies. Main functions of gateway: Spring Cloud Gateway provides the basic functions of the gateway based on the Filter chain: security, monitoring / ...

Posted by soniared2002 on Sat, 25 Dec 2021 11:22:35 +0100