Tagged articles
Spring WebFlux
49 articles · Page 1 of 1
Spring WebFlux replaces the thread‑per‑request model of Spring MVC with an event‑loop, non‑blocking architecture that dramatically reduces memory and CPU usage, supports back‑pressure, streaming, and GraalVM native images, making it ideal for high‑concurrency microservices while acknowledging its learning curve and debugging challenges.
GraalVMJavaMicroservices
0 likes · 18 min read

The article explains how Spring WebFlux replaces the thread‑per‑request model with an event‑loop, non‑blocking I/O and reactive streams, offering higher resource efficiency, built‑in back‑pressure, and better support for real‑time data, while also discussing its drawbacks and when virtual threads may be a viable alternative.
Cloud NativeR2DBCReactive Programming
0 likes · 18 min read

In a micro‑service architecture, a centralized gateway eliminates the need for front‑ends to call dozens of services by handling authentication, rate‑limiting, logging, CORS, and security, and Spring Cloud Gateway—built on WebFlux and Netty—offers a non‑blocking, high‑throughput alternative to Zuul with detailed configuration and code examples for production use.
API gatewayMicroservicesNetty
0 likes · 18 min read

This article provides a detailed technical overview of Spring Cloud Gateway, covering its role as a second‑generation API gateway built on Spring 5, WebFlux, and Reactor, its core responsibilities, architectural placement, key concepts like routes, predicates and filters, the request processing flow, and a concrete YAML configuration example.
API gatewayConfigurationFilters
0 likes · 5 min read

This guide explains why traditional Spring MVC struggles under high concurrency, introduces Spring WebFlux’s asynchronous non‑blocking model, compares its performance to MVC, walks through core reactive concepts, shows practical code for controllers, functional endpoints, R2DBC integration, backpressure, scheduling, SSE, gateway usage, and real‑world benchmarking results.
R2DBCReactive ProgrammingSSE
0 likes · 17 min read

The article explains the limitations of Spring MVC's blocking model, introduces Spring WebFlux's reactive, asynchronous, non‑blocking architecture, compares annotation and functional programming models, details core components and request flow, and provides guidance on when and how to adopt WebFlux for high‑concurrency I/O‑intensive applications.
Backend ArchitectureFluxReactive Programming
0 likes · 13 min read

The article explains how Spring WebFlux replaces the thread‑per‑request blocking model of Spring MVC with an asynchronous, non‑blocking, reactive architecture that uses fewer threads for high‑concurrency I/O workloads, while also outlining its learning curve, ecosystem constraints, and practical decision guidelines for when to adopt it.
BackendJavaReactive Programming
0 likes · 13 min read

This article introduces the five most common Reactor error‑handling operators—onErrorReturn, onErrorResume, doOnError, retry, and blockOptional—explains their distinct behaviors, appropriate scenarios, and common pitfalls, and provides concise code examples for each within Spring WebFlux.
JavaReactive ProgrammingReactor
0 likes · 6 min read

This article, part of an async‑programming series, explains how Spring WebFlux’s non‑blocking Mono model can replace traditional Spring MVC blocking calls, presents common business scenarios, provides ready‑to‑use code templates, and demonstrates the performance benefits of reactive programming for high‑throughput Java backends.
JavaSpring WebFluxasynchronous
0 likes · 9 min read

This article explains how backpressure works in Spring WebFlux, outlines the built‑in Reactor strategies, provides practical code examples for handling slow consumers, and offers guidance on choosing and monitoring the right approach to keep reactive applications resilient under load.
JavaReactorServer-Sent Events
0 likes · 14 min read

This article explains the concept of backpressure, its implementation in Spring WebFlux, and presents practical strategies—including buffering, dropping, latest, and error handling—along with code samples to help developers manage data flow efficiently in reactive backend applications.
BackendFluxJava
0 likes · 11 min read

This article shows how to replace inefficient front‑end polling with a Spring WebFlux server‑sent events (SSE) solution that pushes file‑import progress to the browser in real time, providing complete code for the progress service, import logic, controller, and a vanilla‑JS front‑end example, plus deployment tips.
File ImportJavaReactive Programming
0 likes · 9 min read

This article explains why the traditional Spring MVC request‑response model struggles with real‑time scenarios and shows how WebFlux and its Flux API enable server‑side data streaming, concurrent aggregation, and progressive updates for use cases such as infinite scrolling, import progress, and live notifications.
FluxJavaReactive Programming
0 likes · 10 min read

This article explains how traditional synchronous JSON responses differ from modern streaming responses, introduces reactive programming concepts, and shows step‑by‑step how to implement non‑blocking, high‑throughput APIs using Spring WebFlux, Mono/Flux, SSE, WebSocket, and related protocols.
JavaReactive ProgrammingServer-Sent Events
0 likes · 10 min read

This article details the design, technology choices, functional modules, core implementation, performance optimizations, and future roadmap of Ops‑Nexus, an AI‑driven intelligent operations platform that streamlines alarm analysis, log processing, and host health checks for large‑scale monitoring environments.
AI OpsIntelligent OperationsLLM
0 likes · 12 min read

Web containers, such as Tomcat, keep running by continuously listening on network ports with socket servers and thread pools, handling I/O requests; this article explains the role of the main function, servlet lifecycle, Netty’s NIO framework, and why WebFlux‑based gateways outperform traditional Tomcat setups.
JavaNettyServlet
0 likes · 5 min read

This article examines why mainstream AI frameworks like Spring AI and LangChain4j cannot fully support DeepSeek’s R1 model, explains its unique chain‑of‑thought response format and parameter constraints, and provides a complete Spring WebFlux‑based solution—including API calls, streaming handling, and response parsing—to preserve reasoning content.
DeepSeekR1Spring WebFlux
0 likes · 8 min read

This article explains how to use Spring WebFlux's reactive, non‑blocking model to create a server‑sent events (SSE) endpoint that streams text data, and demonstrates a front‑end Vue implementation that splits the stream into characters to produce a realistic typing animation.
JavaReactive ProgrammingSSE
0 likes · 17 min read

This article explains Spring WebFlux's reactive programming model, compares it with Spring MVC, describes its concurrency advantages, and provides complete code examples for building a reactive Spring Boot application, helping developers decide when to adopt WebFlux.
Backend DevelopmentJavaReactive Programming
0 likes · 9 min read

This tutorial demonstrates how to use Spring WebFlux’s reactive streaming to create a ChatGPT‑like typing effect, covering backend setup, SSE integration, frontend Axios handling, and a comparison between Flux and traditional Server‑Sent Events.
AxiosJavaReactive Streams
0 likes · 8 min read

This article explains how Spring WebFlux's functional programming model uses HandlerFunction, ServerRequest, and ServerResponse to build reactive, immutable HTTP endpoints, covering routing with RouterFunction, request body extraction, response creation, validation, and practical code examples for Java developers.
HandlerFunctionJavaServerRequest
0 likes · 8 min read

This article introduces Spring WebFlux as a reactive, non‑blocking web framework built on Spring 5, explains the concepts of reactive programming, compares it with Spring MVC, and provides practical code examples and guidance on when to choose WebFlux for Java backend development.
Backend DevelopmentFluxJava
0 likes · 7 min read

This article presents a comprehensive case study of the SPA system used by Qunar, detailing its business and technical complexity, the adoption of Domain‑Driven Design and an adapter‑based architecture, the migration to Spring WebFlux for reactive asynchronous processing, and the measurable improvements achieved after refactoring.
DDDJavaReactive Programming
0 likes · 21 min read

This article explains the fundamentals of Spring WebFlux, its reactive programming model with Mono and Flux, compares it to Spring MVC, and provides practical code examples for building non‑blocking backend services using Spring Boot.
BackendFluxJava
0 likes · 9 min read

This article introduces Spring WebFlux, a reactive web framework introduced in Spring 5, explains the concept of reactive programming, compares it with Spring MVC, describes its concurrency model, and provides practical code examples for building a WebFlux application with Spring Boot.
Backend DevelopmentJavaReactive Programming
0 likes · 8 min read

This article introduces Spring WebFlux as a reactive, non‑blocking web framework for Java, explains the concepts of reactive programming, compares it with Spring MVC, and provides practical code examples—including Mono/Flux usage, routing, and handlers—to help developers build and run a WebFlux application with Spring Boot.
JavaReactive ProgrammingReactor
0 likes · 8 min read

This case study describes how the hotel business gateway at Qunar was refactored using Spring WebFlux to achieve full‑process asynchronous handling, service orchestration, and significant performance gains—including a 100% increase in single‑machine throughput, 50% reduction in response latency, and lower code complexity—while outlining the analysis, solution design, results, and future work.
JavaPerformance OptimizationReactive Programming
0 likes · 14 min read

This article explains how Spring Web 2.4.12 enables reactive web applications by introducing the minimal HttpHandler protocol, the richer WebHandler API, supported server adapters, bean components, form and multipart data handling, filters, exception handlers, and the underlying codec infrastructure.
HttpHandlerSpring BootSpring WebFlux
0 likes · 10 min read

Learn how to configure Spring WebFlux's WebClient with various HTTP client connectors, customize memory limits, handle responses, send request bodies and form data, apply filters, and use advanced exchange methods, all illustrated with concise Java code examples for reactive backend development.
Backend DevelopmentJavaReactive Programming
0 likes · 9 min read

This article explains Spring WebFlux's functional programming model, showing how HandlerFunction and RouterFunction work together to process HTTP requests and responses with reactive types, and provides practical code examples for routing, handling, and validating data.
HandlerFunctionJavaReactive Programming
0 likes · 9 min read

This article introduces Spring WebFlux, explains the concept of reactive programming, compares it with Spring WebMVC, describes its concurrency model, and provides complete code examples for building a reactive Spring Boot application using Mono, Flux, functional routing, and WebClient.
Backend DevelopmentJavaReactive Programming
0 likes · 9 min read

This article introduces Spring WebFlux, explains reactive programming concepts, compares it with Spring MVC, and provides practical code examples demonstrating how to build a reactive web application using Spring Boot, Reactor's Mono and Flux, and functional routing.
Backend DevelopmentFluxReactive Programming
0 likes · 10 min read

This article explains how Spring WebFlux automatically configures the HttpHandler, builds the HttpWebHandlerAdapter, chains WebFilters, and ultimately invokes the DispatcherHandler to process a request, detailing each class and method involved in the reactive request pipeline.
BackendHttpHandlerJava
0 likes · 10 min read

This article details the design, architecture, implementation, testing, and performance evaluation of a high‑throughput Java gateway built with Spring WebFlux, Netty, and Nacos, covering custom routing, load balancing, canary releases, and data synchronization mechanisms.
JavaSpring WebFluxload-balancing
0 likes · 20 min read

This guide introduces MongoDB fundamentals and demonstrates how to integrate it with Spring WebFlux to create a fully reactive CRUD service, covering dependencies, configuration, entity definitions, repository interfaces, service logic, and controller endpoints.
CRUDJavaMongoDB
0 likes · 7 min read

This article explains the fundamentals of Reactor's reactive programming model—including Mono and Flux types, map and flatMap operators, asynchronous execution, scheduler choices, and error handling—while providing practical code examples to help developers efficiently use Spring WebFlux.
FluxJavaReactive Programming
0 likes · 26 min read

This article describes how to design and build a high‑throughput, extensible gateway using Spring WebFlux, Netty, and Nacos, covering technical selection, architecture, core modules, plugin chain, data synchronization, WebSocket cache, testing, and performance results.
Load BalancingNettySpring WebFlux
0 likes · 20 min read

This article recommends a comprehensive CSDN blog series on reactive Spring, detailing beginner‑friendly explanations of reactive programming, lambda and functional concepts, testing tips, performance insights, and includes vivid CPU‑I/O analogies, plus useful links to the Reactor 3 manual and Apache Shenyu gateway.
Backend DevelopmentJavaMicroservices
0 likes · 7 min read

This article explains the motivations behind Spring WebFlux, introduces reactive programming concepts, compares annotated controllers with functional endpoints, discusses when to choose WebFlux over Spring MVC, and provides complete code examples for building a reactive CRUD service with Spring Boot.
Backend DevelopmentJavaReactive Programming
0 likes · 17 min read

This article provides a comprehensive overview of Spring WebFlux, covering its reactive fundamentals, key components, auto‑configuration process, functional endpoints, request handling flow, performance benchmarks against Spring MVC, and recommended reactive data stores for high‑concurrency applications.
Backend DevelopmentReactive ProgrammingSpring Framework
0 likes · 14 min read

This article describes the end‑to‑end design, implementation, and testing of a high‑throughput, extensible API gateway built with Spring WebFlux, Netty, Nacos service discovery, dynamic routing, load‑balancing, authentication plugins, and WebSocket‑based configuration synchronization.
API gatewayJavaLoad Balancing
0 likes · 19 min read

This article describes the design, architecture, implementation, and testing of a high‑throughput API gateway built with Spring WebFlux, Netty, and Nacos, covering technology selection, custom routing rules, load‑balancing, service registration, data synchronization, and performance benchmarking.
Load BalancingNacosNetty
0 likes · 22 min read

This article walks through the evolution of Java asynchronous programming, starting with a simple synchronous HTTP call, examining blocking I/O, exploring JDK NIO and Future, demonstrating callback patterns, addressing callback hell, and showing how CompletableFuture, Vert.x Future, Reactive Streams, and Spring WebFlux provide scalable, non‑blocking solutions.
Asynchronous ProgrammingCompletableFutureJava
0 likes · 10 min read

This article describes the end‑to‑end design, technology selection, architecture, core code implementation, data synchronization, and performance testing of a custom high‑throughput gateway built with Spring WebFlux, Netty, and Nacos, highlighting routing rules, load‑balancing, and gray‑release capabilities.
JavaLoad BalancingNacos
0 likes · 19 min read

The article argues that Spring MVC remains a mainstream Java web framework but explores how the rise of reactive programming and Spring WebFlux reshapes its relevance, highlighting the shift toward front‑back separation, @RestController usage, and the broader Reactive Revolution in web development.
Backend DevelopmentJavaReactive Programming
0 likes · 6 min read

Gaode Yuntu transformed its backend from a blocking servlet architecture to an asynchronous, event‑driven reactive stack using Vert.x, Spring WebFlux, Project Reactor and OpenResty, achieving a 480% QPS boost, higher resource efficiency, stable latency, and plans for RSocket back‑pressure and domain‑driven design.
JavaPerformance OptimizationReactive Programming
0 likes · 11 min read

This article explains why Spring WebFlux lacks RequestContextHolder, explores the ReactorContextWebFilter solution from Spring Security, and demonstrates a custom ReactiveRequestContextFilter and helper class that store and retrieve the request via Reactor's Context for exception handling and WebClient header propagation.
JavaReactive ProgrammingReactor Context
0 likes · 6 min read

This tutorial walks you through creating a reactive Spring WebFlux RESTful API using Spring Boot 2.0 and MongoDB, covering project setup, database connection, model, DAO, controller implementation, and testing the CRUD operations with practical code examples and screenshots.
JavaMongoDBREST API
0 likes · 4 min read

This tutorial walks you through creating a reactive microservice architecture using Spring WebFlux, Spring Cloud components such as Eureka and Gateway, and Spring Data Reactive MongoDB, covering dependency setup, controller and repository code, service discovery, load‑balanced inter‑service calls, gateway routing, Docker deployment, and testing with curl.
API gatewayEurekaMongoDB
0 likes · 14 min read
