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
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
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.
Spring Cloud Gateway is a new project of Spring Cloud. Th ...
Posted on Wed, 30 Oct 2019 23:54:22 -0400 by alexscan
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
Posted on Sat, 19 Oct 2019 14:41:23 -0400 by Dark-Elk
This article is based on Spring 5 Enterprise Development Practice.
1.1 Traditional programming model
1.2 Responsive Programming Mode
1.3.1 Flux and Mono
1.3.2 subscribe() method
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
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
Initial knowledge of Spring Cloud Gateway
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
Without special instructions, the above versions are used in this series of articles.
Spring Cloud Alibaba | Sentinel: Foundation of Service Curren ...
Posted on Thu, 18 Jul 2019 22:35:46 -0400 by rajivv
ABSTRACT: Origin: https://www.bysocket.com
Content of this article
Why global exception handling?
WebFlux REST Global Exception Handling Practice
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
Spring 5.0 Spring webflux is a new non-blocking functional Reactive Web framework, which can be used to build asynchronous, non-blocking, event-driven services.Shortly after Springboot 2.0 was released, we recently studied the new features of Springboot 2.0, and found webflux.
Here's a demo of spring-flux that doesn't have much c ...
Posted on Mon, 22 Apr 2019 03:51:34 -0400 by rks