Tagged articles
WebFlux
59 articles · Page 1 of 1
This article analyzes Spring Cloud Gateway's reactive architecture through three production incidents, detailing route predicates, filter chain mechanics, source code flow, and four critical tuning dimensions—thread model, connection pooling, timeout hierarchy, and off-heap memory—to prevent gateway failures under high concurrency.
Filter ChainHigh Concurrency TuningMicroservices Gateway
0 likes · 39 min read

This article details the architecture and implementation of a WebRTC signaling service using Spring Boot 3.2 and WebFlux, covering protocol design, room state management, media server integration, recording callbacks, horizontal scaling strategies, and fault tolerance for real-time audio/video applications.
Horizontal ScalingICEKafka
0 likes · 45 min read

This article demonstrates four Spring Boot patterns to replace inefficient polling with real-time server push: STOMP over WebSocket for bidirectional updates, user-specific private channels, SSE with WebFlux for unidirectional streams, and Debezium CDC for database-level change capture — each with working code and configuration details.
CDCDebeziumReal-time
0 likes · 10 min read

This article traces an HTTP request through Spring Boot's Servlet and reactive stacks, explaining how SpringApplication chooses between Tomcat and Netty, detailing Netty's event-loop decoding, Spring Cloud Gateway's routing and filtering, Tomcat's request processing to DispatcherServlet, and four common gateway-downstream issues including timeout alignment, header forwarding, thread-model mismatch, and unsafe retries.
DispatcherServletNettyReactive Programming
0 likes · 24 min read

This article explains why Spring Cloud Gateway cannot coexist with Spring MVC due to fundamental model differences, and details how Spring Boot's DeferredImportSelector and conditional annotations enable intelligent auto-configuration by evaluating classpath, beans, and environment at runtime.
Auto-configurationConditional AnnotationsDeferredImportSelector
0 likes · 21 min read

This article details the development of custom Spring Cloud Gateway plugins for rate limiting, circuit breaking, and gray release to overcome Sentinel's production limitations, covering architecture design, Redis-based rule storage with pub/sub, token bucket and sliding window algorithms, circuit breaker state machines, tag-based canary routing, and production lessons learned with performance benchmarks.
Gray ReleaseSpring Cloud GatewayWebFlux
0 likes · 20 min read

This guide walks through why traditional polling or WebSocket solutions quickly break at scale, explains the Server‑Sent Events protocol, and presents a production‑grade architecture that combines Spring Boot 3, WebFlux, Kafka, Redis, and Kubernetes to deliver reliable, ordered, and observable one‑way push notifications for millions of concurrent users.
KafkaSSEWebFlux
0 likes · 43 min read

This article compares Spring Data JDBC and Spring Data R2DBC for Spring Boot 3.x/4.x projects, detailing setup, Maven dependencies, configuration, entity definitions, repository and service implementations, transaction handling, performance trade‑offs, and provides a hybrid approach that wraps JDBC calls in reactive Monos for WebFlux, helping developers decide which persistence layer best fits their reactive architecture.
Database AccessJDBCR2DBC
0 likes · 22 min read

This article presents nine practical techniques—async processing, caching, database query tuning, response compression, WebFlux reactive endpoints, logging reduction, index optimization, connection‑pool configuration, and CDN static‑asset delivery—to dramatically cut Spring Boot API latency and boost throughput in high‑concurrency environments.
API performanceAsynchronous ProcessingCaching
0 likes · 11 min read

This article shows how Spring Boot 3.5.0’s built‑in UrlHandlerFilter can safely handle trailing‑slash URLs by either issuing a permanent redirect or wrapping the request, with step‑by‑step examples for Spring MVC, custom servlet filters, reactive WebFlux filters, and equivalent Nginx configuration.
NGINXServlet FilterTrailing Slash
0 likes · 9 min read

This article explains how to design and implement a production‑grade, million‑scale long‑connection audio gateway using Java WebFlux, covering architecture decomposition, capacity planning, back‑pressure handling, routing, Kubernetes deployment, monitoring, and real‑world pitfalls for reliable real‑time voice services.
AudioGatewayDistributedSystemsJava
0 likes · 39 min read

This comprehensive guide explains how Spring Boot 3 + WebFlux can handle massive concurrent API traffic by leveraging event‑loop I/O, Reactive Streams back‑pressure, and a layered architecture that separates ingestion, processing, storage, and dispatch, while covering pitfalls, performance tuning, observability, and production‑grade best practices.
SSEWebFluxWebSocket
0 likes · 46 min read

The article outlines eight pivotal 2026 Spring Boot trends—from mandatory migration to Java 17 and Jakarta namespaces, GraalVM native images, reactive WebFlux, OpenAPI/GraphQL APIs, zero‑trust Spring Security 6, Spring Cloud governance, Actuator observability, to AI integration—explaining why each matters and how to prepare.
AI integrationGraalVMJava 17
0 likes · 8 min read

The article debunks the myth that Spring Boot cannot scale, showing that with WebFlux, Netty, Reactive Redis, GraalVM Native Image and horizontal scaling a Spring Boot service can reliably achieve 500,000 queries per second, backed by concrete benchmark data and a full demo implementation.
Horizontal ScalingNative ImageNetty
0 likes · 10 min read

This article explains how to replace annotation‑based controllers with Spring Boot 3 functional routing, covering both servlet‑blocking and reactive WebFlux implementations, complete with code examples for handlers, routers, parameter validation, nested routes, filters, and resource redirects.
Functional RoutingHandlerFunctionRouterFunction
0 likes · 10 min read

This article introduces a Spring‑based download library that lets developers add a single @Download annotation to any controller method to automatically handle file, HTTP resource, or text downloads, supporting concurrent loading, compression, and both WebMVC and WebFlux response models.
DownloadSpringWebFlux
0 likes · 15 min read

This tutorial explains how to implement sequential streaming for multipart uploads and downloads in Spring MVC and reactive streaming in Spring WebFlux, enabling large files to be processed without excessive memory usage and improving performance for high‑load web applications.
File UploadMVCSpring
0 likes · 13 min read

This article introduces a Spring‑based library that reduces multi‑step download, compression, and response handling to a single annotation, supporting files, HTTP URLs, strings, collections and custom objects across WebMvc and WebFlux with reactive programming.
DownloadSpringWebFlux
0 likes · 17 min read

This article demonstrates how to create a complete real‑time message broadcasting system using Spring Boot 3's reactive Server‑Sent Events (SSE) and WebFlux, covering the core Sink component, backend implementation, and a simple front‑end page to display live updates.
JavaServer-Sent EventsSinks
0 likes · 9 min read

This article explains how to efficiently handle massive file uploads and downloads in Spring Boot 3 using traditional blocking I/O, reactive WebFlux streams, and proper configuration to keep memory usage low while maintaining high performance.
DataBufferFile UploadInputStream
0 likes · 11 min read

This article provides a comprehensive guide to integrating WebSocket in Spring Boot, covering Javax, WebMVC, WebFlux implementations with detailed server and client configurations, as well as brief introductions to Java‑WebSocket, SocketIO, and Netty libraries, including full code examples.
JavaJavaxWebFlux
0 likes · 19 min read

This article introduces a Spring‑compatible download library that lets developers annotate a single method to download arbitrary objects—files, HTTP resources, or custom objects—while handling caching, concurrent loading, compression, and reactive response writing for both MVC and WebFlux environments.
CompressionFile DownloadJava
0 likes · 14 min read

This article compares six WebSocket integration approaches—Javax, WebMVC, WebFlux, Java-WebSocket, SocketIO, and Netty—showing how to configure both server and client sides in Spring Boot, with step‑by‑step code examples, key annotations, and practical tips for each method.
JavaJavaxWebFlux
0 likes · 17 min read

This article provides a comprehensive guide to integrating WebSocket in Spring Boot, covering the native Javax API, Spring WebMVC and WebFlux approaches, as well as popular third‑party libraries such as Java‑WebSocket, SocketIO and Netty, with detailed configuration steps, code examples, and practical tips.
BackendJavaJavax
0 likes · 17 min read

This article introduces a Spring‑based download library that simplifies file, HTTP, and custom object downloads by using annotations, reactive programming, and a flexible handler chain to support both WebMVC and WebFlux, enabling concurrent loading, compression, and response writing with minimal controller code.
DownloadLibraryWebFlux
0 likes · 17 min read

This article walks through the design and implementation of a Spring‑based download library that lets developers download files, HTTP resources, or arbitrary objects with a single @Download annotation, covering the problem setup, reactive architecture, source abstraction, concurrency handling, compression, response writing, and the lessons learned.
DownloadJavaSpring
0 likes · 18 min read

This article introduces a Java library that simplifies file download functionality in Spring MVC and WebFlux by using a single @Download annotation, handling various source types, concurrent loading, compression, and response writing through a flexible, reactive handler chain architecture.
BackendDownloadJava
0 likes · 16 min read

The Concept‑Download library lets SpringBoot developers replace verbose download code with a single @Download annotation that automatically handles classpath resources, local files, HTTP URLs, custom objects, compression and reactive streaming, simplifying batch and QR‑code ZIP exports.
AOPFileDownloadJava
0 likes · 8 min read

This article provides a comprehensive guide on implementing WebSocket clusters in Spring Boot, covering three main integration methods—Javax, WebMVC, and WebFlux—including server‑side and client‑side configurations, code examples, and practical tips for each approach.
JavaxWebFluxWebSocket
0 likes · 21 min read

This article reviews several ways to integrate WebSocket with Spring Boot, focusing on the three mainstream approaches—Javax, WebMVC, and WebFlux—by providing server and client configurations, code examples, and practical tips such as handling ping/pong, handshake interceptors, and reactive streams.
JavaxWebFluxWebSocket
0 likes · 20 min read

This article compares Spring Boot 3.2's virtual‑thread support with traditional Tomcat thread pools and reactive WebFlux, showing configuration steps, code examples, JMeter load‑test results, and database access benchmarks to illustrate throughput, CPU and memory impacts.
Java 21WebFluxbackend development
0 likes · 9 min read

This article explains how Spring Boot 3's Http Interface feature enables declarative HTTP service calls by defining Java interfaces, covering dependency setup, interface definition, token handling, configuration, controller integration, testing with Postman, and a brief discussion of its WebFlux dependency.
Declarative RESTJavaRemote Call
0 likes · 10 min read

This article examines a performance comparison of Spring Boot applications using physical threads, Java virtual threads, and WebFlux for JWT verification with MySQL, detailing test setup, code examples, benchmark results across various concurrency levels, and concluding that virtual threads perform worst due to MySQL driver incompatibility.
MySQLWebFluxspring-boot
0 likes · 9 min read

This article explains how to set up WebSocket communication in Spring Boot 2.7.12, covering the protocol basics, handshake process, custom HandlerMapping, annotation-driven routing, and a reactive WebFlux handler with code examples, plus deployment considerations behind reverse proxies.
JavaReal-time MessagingWebFlux
0 likes · 7 min read

Learn how to integrate Spring Boot WebFlux with R2DBC for reactive database operations, covering R2DBC basics, driver selection, configuration, entity and service implementation, controller endpoints, repository usage, optimistic locking, and practical code examples to build high-performance, non-blocking backend applications.
R2DBCReactive ProgrammingWebFlux
0 likes · 9 min read

Learn the fundamentals of Project Reactor’s Mono and Flux, including creation, subscription, error handling, and common operators, with detailed code examples and visual diagrams, enabling you to effectively implement reactive, asynchronous streams in WebFlux-based Java backend applications.
FluxJavaProject Reactor
0 likes · 11 min read

This article introduces a Java library that simplifies downloading various resources—files, HTTP URLs, or custom objects—by using a single @Download annotation, reactive programming, customizable handlers, source factories, concurrent loading, compression, and event‑driven logging to streamline complex download workflows in Spring MVC and WebFlux applications.
DownloadJavaSpring
0 likes · 16 min read

This article provides a comprehensive guide on implementing WebSocket in Spring Boot, covering three native approaches (Javax, WebMVC, WebFlux) with server‑ and client‑side configurations, and briefly introducing four third‑party libraries (Java‑WebSocket, SocketIO, Netty) for advanced use cases.
JavaJavaxWebFlux
0 likes · 20 min read

This article summarizes a performance comparison between Spring Boot applications using virtual threads and those built with Spring WebFlux, detailing the test scenario of JWT verification and MySQL queries, the environment, code implementations, benchmark results across various concurrency levels, and concluding that WebFlux outperforms virtual‑threaded Spring Boot.
JWTMySQLWebFlux
0 likes · 9 min read

This article explains how to build a highly extensible download library for Spring applications by using annotations, reactive programming, customizable handlers, source factories, compression strategies, and unified response writing, while addressing common pitfalls and providing detailed code examples.
DownloadJavaWebFlux
0 likes · 16 min read

This article explains how a Java download library uses a @Download annotation, reactive programming, handler chains, source abstractions, compression, and event logging to simplify downloading various resources—including files, HTTP URLs, and custom objects—while supporting both Spring MVC and WebFlux with concurrent processing and customizable pipelines.
DownloadJavaSpring
0 likes · 14 min read

This article provides a comprehensive guide to implementing WebSocket in Spring Boot, covering server and client configurations for Javax, WebMVC, and WebFlux, along with code examples, deployment tips, and insights into alternative libraries such as Java-WebSocket, SocketIO, and Netty.
JavaxWebFluxWebSocket
0 likes · 16 min read

This article introduces the Concept-Download library, explains how a single @Download annotation can handle various download sources—including files, HTTP URLs, and custom objects—by leveraging reactive programming, handler chains, source factories, concurrent loading, compression, and unified response writing for both Spring MVC and WebFlux.
File DownloadJavaReactive Programming
0 likes · 16 min read

This article introduces Spring WebFlux as a reactive, non‑blocking web framework built on Reactor, explains the concepts of reactive programming, compares it with traditional Spring MVC, and provides practical code examples for building and running a WebFlux application with Spring Boot.
APIBackendJava
0 likes · 8 min read

This article demonstrates how to create a fully reactive backend using Spring Cloud Finchley, WebFlux, Eureka service discovery, and Reactive MongoDB, covering service registration, inter‑service communication with WebClient, and reactive data access to achieve a complete reactive microservices stack.
EurekaMongoDBReactive Programming
0 likes · 8 min read

This guide walks through creating a fully reactive microservice architecture using Spring Cloud Finchley, WebFlux, and Spring Data Reactive, including setting up a Eureka service registry, building account and customer services with reactive MongoDB repositories, configuring load‑balanced WebClient calls, and demonstrating load‑balancing across multiple instances.
EurekaMongoDBReactive Programming
0 likes · 10 min read

This tutorial demonstrates how to create a fully reactive microservice architecture using Spring Cloud Finchley, WebFlux, Spring Data Reactive, Eureka for service discovery, and MongoDB (via Docker), covering service registration, inter‑service calls with WebClient, and reactive data access.
EurekaMongoDBReactive Programming
0 likes · 8 min read

This tutorial demonstrates how to create a full‑reactive microservice system using Spring Cloud Finchley, WebFlux, Spring Data Reactive MongoDB, and Eureka for service discovery, covering project setup, service registration, reactive repositories, controllers, inter‑service calls with WebClient, and load‑balanced testing.
EurekaMongoDBReactive Programming
0 likes · 11 min read

This guide walks through setting up a Spring Boot 2.7.7 WebFlux project, configuring R2DBC dependencies, defining entity, repository and service layers, writing unit tests, and implementing a full reactive security configuration using WebFlux filters and custom access rules.
R2DBCWebFluxreactive-security
0 likes · 10 min read

This article explains how Spring WebFlux uses the DispatcherHandler, HandlerMapping, HandlerAdapter, and various HandlerResultHandlers to process requests, configure special beans, and manage exceptions in a reactive backend environment.
WebFlux
0 likes · 8 min read

This article explains how Spring WebFlux processes HTTP requests by auto‑configuring an HttpHandler, building a chain of WebFilters and exception handlers, delegating through HttpWebHandlerAdapter, and ultimately invoking DispatcherHandler, detailing each component’s role and the flow of request handling.
WebFlux
0 likes · 11 min read

This article examines the performance challenges of high‑concurrency Java services and demonstrates how applying reactive programming with Spring WebFlux and lightweight fibers via Quasar can dramatically reduce thread and memory overhead, improve throughput, and simplify asynchronous code.
FiberJavaQuasar
0 likes · 24 min read

The article explains how Spring WebFlux, built on the Reactor project, offers a non‑blocking, reactive alternative to traditional Spring Web MVC, detailing its relationship with servlet containers, the advantages of Reactive Streams, and considerations for adopting it in Java backend development.
ReactorWebFluxreactive
0 likes · 8 min read


ITPUBSep 29, 2020 · Backend Development
This article explains how Spring WebFlux, built on the Reactor project, provides a reactive, non‑blocking alternative to traditional Servlet‑based Spring MVC, detailing its advantages, limitations, and the considerations developers must evaluate before adopting it.
JavaReactive ProgrammingSpring
0 likes · 9 min read

This article explains why traditional @ControllerAdvice fails in Spring Cloud Gateway, introduces the built‑in ExceptionHandlingWebHandler and DefaultErrorWebExceptionHandler, and shows how to override them with a custom GlobalExceptionConfiguration for robust reactive error handling.
Global Exception HandlingJavaSpring Cloud Gateway
0 likes · 5 min read

Spring Framework 5.2 has been officially released, bringing deep Kotlin 1.3 integration, enhanced reactive support for WebFlux, RSocket, and data stores like R2DBC, MongoDB, and Neo4j, along with a comprehensive list of new features and improvements for developers.
JavaKotlinReactive Programming
0 likes · 3 min read

This open‑source project offers a Spring Cloud Finchley‑based RBAC permission system using Spring Security OAuth2, a data‑driven Element‑ui front‑end that works without Vue experience, and full container support (Docker, Kubernetes, Rancher2) plus production‑ready lambda, Stream API and WebFlux examples, with detailed dependency listings and contribution guidelines.
DockerOAuth2RBAC
0 likes · 2 min read

The article explains why microservices require a gateway for unified requests, monitoring, rate limiting, authentication, and troubleshooting, then introduces Soul as a high‑performance reactive gateway, detailing its features, key highlights, and the scenarios where it is most suitable.
SoulWebFluxgateway
0 likes · 4 min read

This article shares the practical experience, new features, component changes, migration steps, and pitfalls encountered while upgrading an old Spring Boot 1.x backend to Spring Boot 2.0, offering guidance for a smoother transition and highlighting post‑upgrade issues such as path matching, HTTP PUT handling, and Swagger compatibility.
BackendJavaSpring
0 likes · 9 min read
