How spring cloud gateway works

Package structure of spring cloud gateway (shown in Idea 2019.3)This package is spring cloud gateway core. This is where the real spring gateway is implementedTo prove it, we open the pom file of spring cloud starter gateway <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> ...

Posted on Tue, 28 Apr 2020 10:58:52 -0400 by flashmonkey

Asynchronous Servlet features

Asynchronous Servlet This article mainly explains how to use asynchronous Servlet to process requests, and demonstrates the difference between synchronous Servlet and asynchronous Servlet, as well as the benefits of asynchronous Servlet. 1. Problems to be solved 1. Why use asynchronous servlet? What is blocked by the synchronous Servlet 2. Asy ...

Posted on Sun, 01 Mar 2020 00:58:24 -0500 by Dujo

New features of Spring Security Lambda DSL use

Lambda DSL overview Spring Security 5.2 enhances the syntax of lambda DSL, allowing the use of lambda to configure HttpSecurity and ServerHttpSecurity It is important to note that the previous configuration method is still valid. Lambda was added to provide more flexibility, but usage is optional. Let's take a look at HttpSecurity's lambda conf ...

Posted on Mon, 25 Nov 2019 14:01:33 -0500 by coily

spring cloud 2.x version Gateway routing Gateway tutorial

Preface In this paper, Spring cloud is adopted, which is 2.1.8RELEASE, version=Greenwich.SR3. This paper is based on the implementation of Eureka server, Eureka client, Eureka ribbon and Eureka feign. Reference resources eureka-server eureka-client eureka-ribbon eureka-feign concept Spring Cloud Gateway is a new project of Spring Cloud. Th ...

Posted on Wed, 30 Oct 2019 23:54:22 -0400 by alexscan

Spring Boot 2: use Spring Boot Admin to monitor your application

1. Preface It is necessary to monitor Web application in production. We can monitor application health, performance and other indicators in near real time to deal with some emergencies in time. Avoid some faults. For Spring Boot applications, we can monitor through a lightweight monitoring tool, Spring Boot Admin (SBA). 2. Spring Boot Admin Sp ...

Posted on Sat, 19 Oct 2019 14:41:23 -0400 by Dark-Elk

Spring's WebFlux and WebClient

This article is based on Spring 5 Enterprise Development Practice. 1. WebFlux 1.1 Traditional programming model 1.2 Responsive Programming Mode 1.3 Reactor 1.3.1 Flux and Mono 1.3.2 subscribe() method 1.3.3 Operator 1.3.4 Thread Model 1.4 Spring WebFlux 1.4.1 Annotation-based WebFlux devel ...

Posted on Wed, 25 Sep 2019 05:23:20 -0400 by jrws

Learn the sixth article of spring-cloud-aibaba, API Gateway

Articles Catalogue 1. What is a gateway? 2. Why do we need gateways? 3.Spring Cloud Gateway 4. Create Spring Cloud Gateway Project 4.1 IDEAJ creates gateway project 4.2 Adding Dependencies 4.3 Write Configuration 4.4 Start the gateway project and ...

Posted on Sun, 25 Aug 2019 05:37:01 -0400 by jtymes

Second Generation Microservice Gateway Component - Spring Cloud Gateway

[TOC] Initial knowledge of Spring Cloud Gateway Introduction: Spring Cloud Gateway is the second generation gateway component of Spring Cloud system. It is developed based on WebFlux, a new feature of Spring 5.0. The underlying network communication framework uses Netty, so it has high throughput and strong performance. It will replace the f ...

Posted on Sat, 17 Aug 2019 16:15:35 -0400 by timbo6585

Spring Cloud Alibaba | Sentinel: Foundation of Service Current Limitation

Spring Cloud Alibaba | Sentinel: Foundation of Service Current Limitation Springboot: 2.1.6.RELEASE SpringCloud: Greenwich.SR1 Without special instructions, the above versions are used in this series of articles. Articles Catalogue Spring Cloud Alibaba | Sentinel: Foundation of Service Curren ...

Posted on Thu, 18 Jul 2019 22:35:46 -0400 by rajivv

Spring Boot 2.x series of tutorials: WebFlux REST API global exception handling Error Handling

ABSTRACT: Origin: https://www.bysocket.com Content of this article Why global exception handling? WebFlux REST Global Exception Handling Practice Summary Abstract: Only by constantly cultivating good habits and breaking bad habits, can we behave correctly from beginning to end. First, why do we need global exception handling? The front-end ...

Posted on Mon, 20 May 2019 00:03:39 -0400 by scottd