Tagged articles

spring-cloud-gateway

151 articles · Page 1 of 2
samdeepthink
samdeepthink
Aug 12, 2026 · Backend Development

Designing an Enterprise‑Level CAS SSO Architecture: A Practical Blueprint

This article presents a detailed technical blueprint for building an enterprise‑grade single sign‑on system that combines Apereo CAS, OAuth2, and JWT across four microservices, covering service responsibilities, data models, API contracts, deployment trade‑offs, and operational safeguards.

CASJWTOAuth2
0 likes · 26 min read
Designing an Enterprise‑Level CAS SSO Architecture: A Practical Blueprint
Mike Chen Rui
Mike Chen Rui
Aug 5, 2026 · Backend Development

How Can a Gateway Sustain Million‑Level Concurrency in High‑Traffic Scenarios?

The article explains why a gateway is the first traffic entry in microservice systems and how Spring Cloud Gateway achieves million‑level concurrent handling through a reactive model, non‑blocking I/O, event‑driven scheduling, zero‑copy transmission, and built‑in rate‑limiting mechanisms.

event-drivenhigh-concurrencynon-blocking-io
0 likes · 3 min read
How Can a Gateway Sustain Million‑Level Concurrency in High‑Traffic Scenarios?
samdeepthink
samdeepthink
Aug 5, 2026 · Backend Development

Building Enterprise‑Level CAS SSO: Lessons from Our First Implementation

When a company’s internal tools each required separate logins, the team built an enterprise‑grade CAS single sign‑on system that unified identity, login entry, logout handling, and extensible integration, and they document the entire process across nine detailed articles.

CASEnterprise AuthenticationJava
0 likes · 7 min read
Building Enterprise‑Level CAS SSO: Lessons from Our First Implementation
Mike Chen Rui
Mike Chen Rui
Jul 29, 2026 · Backend Development

How Spring Cloud Gateway Handles Tens of Millions QPS

The article explains how Spring Cloud Gateway achieves ultra‑high QPS by leveraging Netty's non‑blocking I/O, Project Reactor's event‑driven streams with backpressure, and lightweight route predicates combined with load‑balancing to maximize thread utilization and system throughput.

API GatewayNettyProject Reactor
0 likes · 4 min read
How Spring Cloud Gateway Handles Tens of Millions QPS
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 13, 2026 · Backend Development

5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately

This article walks through five practical ways to implement gray (canary) releases in Spring Boot 3.5.0, covering gateway‑based weight and header routing, programmatic route configuration, a custom reactive load‑balancer, and application‑layer annotations with custom HandlerMapping, each illustrated with concrete code samples.

AnnotationCustom Load BalancerJava
0 likes · 12 min read
5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately
Java Architect Handbook
Java Architect Handbook
Jul 8, 2026 · Backend Development

Why a Gateway Is Essential in Microservices and What It Actually Does

The article explains that a gateway serves as the unified entry point of a microservice system, handling routing, authentication, rate limiting, logging and protocol conversion, compares architectures with and without a gateway, details Spring Cloud Gateway's core concepts, shows configuration and custom auth filter code, and contrasts it with Zuul, providing interview‑ready insights and sample questions.

API GatewayRoutingZuul Comparison
0 likes · 13 min read
Why a Gateway Is Essential in Microservices and What It Actually Does
Java Tech Workshop
Java Tech Workshop
May 29, 2026 · Backend Development

Why Use Spring Cloud Gateway? A Beginner’s Guide to Building a SpringBoot API Gateway

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 GatewayNettySpring Boot
0 likes · 18 min read
Why Use Spring Cloud Gateway? A Beginner’s Guide to Building a SpringBoot API Gateway
Coder Trainee
Coder Trainee
May 16, 2026 · Cloud Native

Spring Cloud Gateway: Unified Entry Point for Microservice Calls

This tutorial walks through adding Spring Cloud Gateway as a single entry point for client calls to multiple microservices, covering why a gateway is needed, project structure, dependency and configuration setup, global logging and authentication filters, startup verification, and common pitfalls with solutions.

Global FilterLoad BalancerNacos
0 likes · 13 min read
Spring Cloud Gateway: Unified Entry Point for Microservice Calls
Java Tech Enthusiast
Java Tech Enthusiast
May 9, 2026 · Backend Development

Why Still Put Nginx in Front of Spring Cloud Gateway?

The article explains that Nginx and Spring Cloud Gateway serve distinct roles—Nginx as a network‑level gateway handling static assets, SSL termination, and load balancing, while Gateway focuses on business‑level routing and filters—making the two‑layer architecture both logical and efficient.

SSL Offloadingload balancingmicroservices
0 likes · 6 min read
Why Still Put Nginx in Front of Spring Cloud Gateway?
IT Services Circle
IT Services Circle
May 2, 2026 · Backend Development

Why Add an Nginx Layer in Front of Spring Cloud Gateway?

The article explains that Nginx and Spring Cloud Gateway serve different roles—Nginx as a network gateway handling static files, load balancing, SSL termination, and ops tasks, while Gateway focuses on business routing—so using both together improves performance, scalability, and operational separation.

SSL Terminationbackend architectureload balancing
0 likes · 5 min read
Why Add an Nginx Layer in Front of Spring Cloud Gateway?
dbaplus Community
dbaplus Community
May 1, 2026 · Operations

Why a Simple Nginx Change Made All Gateway Requests Return 400 (And How to Fix It)

A production incident caused by replacing two Nginx reverse proxies introduced an upstream name with an underscore, resulting in invalid Host headers and 400 Bad Request responses from Spring Cloud Gateway; the article details the step‑by‑step investigation, evidence from logs, tcpdump, and code, and presents configuration fixes to restore normal operation.

HTTP 400SREhost-header
0 likes · 15 min read
Why a Simple Nginx Change Made All Gateway Requests Return 400 (And How to Fix It)
Architect Chen
Architect Chen
Apr 22, 2026 · Cloud Native

Understanding Spring Cloud Gateway: Architecture, Core Concepts, and Configuration

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
Understanding Spring Cloud Gateway: Architecture, Core Concepts, and Configuration
Architect Chen
Architect Chen
Apr 13, 2026 · Backend Development

How to Make Spring Cloud Gateway Handle a Million Concurrent Requests

This article explains how Spring Cloud Gateway leverages a reactive, non‑blocking architecture, OS‑level tuning, zero‑copy networking, and built‑in rate‑limiting and circuit‑breaker features to reliably sustain million‑level concurrent traffic in production environments.

NettyPerformance Tuninghigh-concurrency
0 likes · 4 min read
How to Make Spring Cloud Gateway Handle a Million Concurrent Requests
Java Companion
Java Companion
Apr 3, 2026 · Cloud Native

Why Every Microservice Architecture Needs an API Gateway

The article explains that without a gateway each microservice must duplicate authentication, rate‑limiting, logging and other cross‑cutting concerns, leading to maintenance overhead and security risks, and shows how a gateway centralises these functions while providing routing, load‑balancing, circuit‑breaking and observability, backed by real‑world code examples and a comparative analysis of popular gateway solutions.

API GatewayLoggingauthentication
0 likes · 19 min read
Why Every Microservice Architecture Needs an API Gateway
Lobster Programming
Lobster Programming
Feb 2, 2026 · Cloud Native

Why You Still Need an API Gateway Even When Using Nginx

Even with Nginx handling high‑performance load balancing and static content, a dedicated API gateway is essential for flexible routing, dynamic service discovery, fine‑grained traffic governance, and centralized business logic such as authentication and logging in microservice architectures.

API GatewayTraffic Managementnginx
0 likes · 6 min read
Why You Still Need an API Gateway Even When Using Nginx
Tech Freedom Circle
Tech Freedom Circle
Jan 22, 2026 · Operations

Designing Gray Release and A/B Testing for Safe Deployments and Winning Experiments

This article explains the fundamental differences between gray release and A/B testing, provides step‑by‑step guidance for implementing both strategies with Spring Cloud Gateway, Nacos and Kubernetes, and compares container‑level canary deployments with gateway‑level traffic routing to help you choose the right approach for reliable production releases.

A/B testingKubernetesNacos
0 likes · 43 min read
Designing Gray Release and A/B Testing for Safe Deployments and Winning Experiments
Tech Freedom Circle
Tech Freedom Circle
Dec 31, 2025 · Information Security

Unified SSO via Gateway: Multi‑App Auth & Authz and JWT vs Auth vs Authz

This article walks through a complete design and implementation of a unified single sign‑on system using OAuth2.0 authorization‑code flow, Spring Cloud Gateway, JWT, Redis, and Nacos, comparing JWT, authentication, and authorization while presenting performance metrics, security considerations, and interview‑ready answers.

JWTOAuth2SSO
0 likes · 59 min read
Unified SSO via Gateway: Multi‑App Auth & Authz and JWT vs Auth vs Authz
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 6, 2025 · Cloud Native

How Spring Cloud Gateway Handles Millions of Concurrent Requests

Spring Cloud Gateway achieves ultra‑high concurrency through asynchronous non‑blocking I/O, minimal Netty event‑loop threads, horizontal scaling with load balancers, Redis‑based distributed rate limiting, and built‑in circuit‑breaker protection, ensuring stable performance even under massive traffic spikes.

circuit breakerhigh-concurrencymicroservices
0 likes · 4 min read
How Spring Cloud Gateway Handles Millions of Concurrent Requests
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Oct 14, 2025 · Cloud Native

How Spring Cloud Gateway Handles Billions of Requests with Reactive, Cloud‑Native Architecture

Spring Cloud Gateway leverages reactive programming, Netty’s non‑blocking I/O, and cluster scaling on Kubernetes or Docker to support tens of millions of QPS, using techniques like sharding, load‑balancing, DNS/Anycast, and built‑in rate‑limiting and circuit‑breaker mechanisms for resilient, high‑throughput microservice traffic.

Reactive Programmingcircuit breakermicroservices
0 likes · 5 min read
How Spring Cloud Gateway Handles Billions of Requests with Reactive, Cloud‑Native Architecture
Su San Talks Tech
Su San Talks Tech
Oct 13, 2025 · Backend Development

Essential Microservice Architecture Components Explained

This article outlines the key building blocks of a microservice architecture—including Nginx as the traffic entry, Spring Cloud Gateway, service registration, Redis caching, MySQL persistence, Elasticsearch, message queues, ELK logging, distributed scheduling, and object storage—providing practical guidance on design choices and high‑availability setups.

ELKElasticsearchMinIO
0 likes · 9 min read
Essential Microservice Architecture Components Explained
Code Ape Tech Column
Code Ape Tech Column
Sep 18, 2025 · Backend Development

Master Traffic Coloring & Gray Release with Spring Cloud Gateway

This article explains how to use Spring Cloud Gateway for traffic coloring and gray release, enabling you to tag requests, route VIP or test traffic to new service versions gradually, and ensure safe, controlled rollouts in production environments.

backendgray releasemicroservices
0 likes · 14 min read
Master Traffic Coloring & Gray Release with Spring Cloud Gateway
IT Services Circle
IT Services Circle
Sep 10, 2025 · Backend Development

Why Does Spring Cloud Gateway Return 404 After Nacos Config Changes?

After a year‑long mystery, we discovered that Spring Cloud Gateway 3.x caches stale weight data from Nacos, causing 404 errors when routes are removed, and we detail the debugging steps, root‑cause analysis, and a custom solution that synchronizes the weight cache on configuration changes.

JavaNacosspring-cloud-gateway
0 likes · 11 min read
Why Does Spring Cloud Gateway Return 404 After Nacos Config Changes?
Su San Talks Tech
Su San Talks Tech
Sep 9, 2025 · Cloud Native

Master Spring Cloud Gateway: Routing, Custom Predicates & Filters Explained

This guide walks through using Spring Cloud Gateway to replace direct service calls with a unified entry point, covering service discovery, load‑balanced routing, predicate definitions, custom predicates, rewrite‑path filters, global filters, and CORS configuration for microservice architectures.

CORSCustom PredicateRouting
0 likes · 21 min read
Master Spring Cloud Gateway: Routing, Custom Predicates & Filters Explained
Programmer XiaoFu
Programmer XiaoFu
Sep 8, 2025 · Backend Development

Why My Spring Cloud Gateway Returns 404 After Nacos Config Changes – A Year-Long Debugging Tale

The article walks through a year‑long investigation of a 404 error that appears after updating Nacos dynamic routing in Spring Cloud Gateway 3.0.1, explains how stale weight caches cause the failure, and presents a custom event‑listener solution that synchronizes the gateway's weight cache with the latest Nacos configuration.

404JavaNacos
0 likes · 12 min read
Why My Spring Cloud Gateway Returns 404 After Nacos Config Changes – A Year-Long Debugging Tale
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 27, 2025 · Backend Development

How Spring Cloud Gateway Handles Millions of Requests with NIO and Reactive Design

This article explains how Spring Cloud Gateway leverages a non‑blocking NIO model, Reactor's reactive programming, cluster horizontal scaling, token‑bucket rate limiting, and Resilience4j circuit breaking to sustain million‑level concurrent traffic while maintaining low latency and high throughput.

NIOcircuit breakerreactive
0 likes · 4 min read
How Spring Cloud Gateway Handles Millions of Requests with NIO and Reactive Design
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 12, 2025 · Backend Development

How Spring Cloud Gateway Handles Millions of Requests with Reactive Non‑Blocking Architecture

This article explains how Spring Cloud Gateway leverages an asynchronous non‑blocking model built on Netty and Project Reactor, along with rate limiting, circuit breaking, and degradation strategies, to sustain million‑level concurrent traffic while protecting backend services.

backend developmentcircuit breakingrate limiting
0 likes · 5 min read
How Spring Cloud Gateway Handles Millions of Requests with Reactive Non‑Blocking Architecture
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 4, 2025 · Backend Development

Understanding Spring Cloud Gateway’s Non‑Blocking Architecture for Million‑Level Concurrency

The article explains how Spring Cloud Gateway leverages a fully non‑blocking, reactive architecture built on Project Reactor and Netty to handle millions of concurrent requests, and discusses essential protection mechanisms such as rate limiting, circuit breaking, and degradation for high‑traffic scenarios.

circuit breakinghigh-concurrencynon-blocking
0 likes · 6 min read
Understanding Spring Cloud Gateway’s Non‑Blocking Architecture for Million‑Level Concurrency
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 26, 2025 · Backend Development

Upgrade Your Microservice Gateway: Auto‑Routing and Load Balancing with Spring Cloud Gateway + Nacos

This guide walks through upgrading a Spring Cloud Gateway by integrating Nacos as a service registry and configuration center, showing how to enable automatic request forwarding, dynamic route loading, and load‑balancing with step‑by‑step code examples and configuration files.

Configuration CenterNacosdynamic routing
0 likes · 16 min read
Upgrade Your Microservice Gateway: Auto‑Routing and Load Balancing with Spring Cloud Gateway + Nacos
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 19, 2025 · Cloud Native

Master Spring Cloud Gateway in 3 Minutes – Complete Service Gateway Guide

This article introduces Spring Cloud Gateway as a high‑performance replacement for Zuul, explains its core components (Route, Predicate, Filter) and request flow, provides step‑by‑step setup of a gateway project, demonstrates route configuration, custom GlobalFilter and GatewayFilter implementations, and validates the behavior with example requests.

API GatewayCustom FilterJava
0 likes · 17 min read
Master Spring Cloud Gateway in 3 Minutes – Complete Service Gateway Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 27, 2024 · Backend Development

Master Spring Cloud Gateway: Real‑World Cases, Configurations, and Code Samples

This tutorial introduces Spring Cloud Gateway, explains its core features and Actuator integration, and provides step‑by‑step practical examples for viewing routes, global filters, route filters, refreshing routes, managing routes via REST endpoints, creating and deleting routes, and sharing routes with Redis, all accompanied by code snippets and configuration details.

API GatewayActuatorRedis
0 likes · 11 min read
Master Spring Cloud Gateway: Real‑World Cases, Configurations, and Code Samples
Selected Java Interview Questions
Selected Java Interview Questions
Jul 10, 2024 · Information Security

Symmetric and Asymmetric Encryption, Digital Signatures, HTTPS, and Secure URL Handling with Spring Cloud Gateway

This article explains the fundamentals of symmetric and asymmetric encryption, how digital signatures and HTTPS work with certificate authorities, and demonstrates a practical implementation of secure URL encryption, key exchange, and request validation using custom Spring Cloud Gateway filters written in Java.

HTTPSJavadigital-signature
0 likes · 22 min read
Symmetric and Asymmetric Encryption, Digital Signatures, HTTPS, and Secure URL Handling with Spring Cloud Gateway
Su San Talks Tech
Su San Talks Tech
Jun 20, 2024 · Backend Development

Master Spring Cloud Gateway: Basics, Custom Filters, Nacos Integration & Dynamic Routing

This comprehensive guide explains why a gateway is essential in microservice architectures, outlines Spring Cloud Gateway's core features, walks through building a gateway from scratch, and demonstrates advanced topics such as custom predicates, filters, Nacos service discovery, dynamic routing, and global error handling.

Gateway FiltersNacos Integrationbackend development
0 likes · 19 min read
Master Spring Cloud Gateway: Basics, Custom Filters, Nacos Integration & Dynamic Routing
Architect
Architect
May 18, 2024 · Backend Development

Building a Microservice Gateway with Spring Cloud Gateway

This article explains what a microservice gateway is, outlines the advantages of Spring Cloud Gateway, and provides step‑by‑step instructions with code examples to create, configure, and run a reactive API gateway for Java microservices.

API GatewayJavaReactive Programming
0 likes · 7 min read
Building a Microservice Gateway with Spring Cloud Gateway
Selected Java Interview Questions
Selected Java Interview Questions
Mar 4, 2024 · Backend Development

Spring Cloud Gateway: A Step‑by‑Step Guide to Building a Scalable Microservice Gateway

This article introduces Spring Cloud Gateway as a powerful tool for building scalable microservice gateways, explains its reactive architecture and advantages, and provides a step‑by‑step tutorial—including Maven dependency, route configuration, custom filter code, and deployment instructions—plus suggestions for advanced features.

API GatewayJavaReactive Programming
0 likes · 8 min read
Spring Cloud Gateway: A Step‑by‑Step Guide to Building a Scalable Microservice Gateway
macrozheng
macrozheng
Jan 26, 2024 · Backend Development

Implement Full‑Link Gray Release with Spring Cloud Gateway, Ribbon, and OpenFeign

This article explains how to achieve full‑link gray (canary) release in a microservice architecture by adding a gray tag in a Spring Cloud Gateway global filter, propagating it through request headers, customizing Ribbon load‑balancing rules to select gray instances from Nacos, and using an OpenFeign interceptor to transmit the tag downstream, ensuring seamless A/B testing and stable deployments.

NacosOpenFeignRibbon
0 likes · 14 min read
Implement Full‑Link Gray Release with Spring Cloud Gateway, Ribbon, and OpenFeign
Code Ape Tech Column
Code Ape Tech Column
Jan 23, 2024 · Information Security

Implementing Sa-Token Authentication and Authorization in Spring Cloud Gateway

This article demonstrates how to replace heavyweight Spring Security with the lightweight Sa-Token framework by configuring token generation, session management, role and permission retrieval, and global gateway filters in a Spring Cloud micro‑service architecture, including complete code examples and deployment tips.

JavaSa-Tokenauthentication
0 likes · 20 min read
Implementing Sa-Token Authentication and Authorization in Spring Cloud Gateway
IT Niuke
IT Niuke
Jan 21, 2024 · Cloud Native

Implementing Gray Release with Spring Cloud Gateway

The article explains how to safely upgrade services by using gray (canary) release strategies with Spring Cloud Gateway, compares rolling and blue‑green deployments, and demonstrates weight‑based routing, hint‑based routing, and custom ServiceInstanceListSupplier implementations to control traffic between old and new service versions.

Canary DeploymentLoadBalancergray release
0 likes · 17 min read
Implementing Gray Release with Spring Cloud Gateway
Selected Java Interview Questions
Selected Java Interview Questions
Jan 20, 2024 · Backend Development

Implementing Sa-Token Authentication in Spring Cloud Gateway with Redis and Nacos

This article demonstrates how to replace heavyweight Spring Security with the lightweight Sa-Token framework by configuring token generation, session storage in Redis, service discovery via Nacos, and permission checks in a Spring Cloud Gateway micro‑service architecture, complete with code examples and deployment settings.

JavaNacosRedis
0 likes · 21 min read
Implementing Sa-Token Authentication in Spring Cloud Gateway with Redis and Nacos
Alibaba Cloud Native
Alibaba Cloud Native
Oct 25, 2023 · Cloud Native

Why Higress Transformer Beats Spring Cloud Gateway Filters: Performance and Usage Guide

This article reviews how Spring Cloud Gateway modifies HTTP requests/responses with built‑in filters, introduces the Higress cloud‑native gateway’s Transformer plugin as a higher‑performance alternative, compares their CPU and memory usage, and provides step‑by‑step deployment and configuration instructions.

HigressTransformer PluginWebAssembly
0 likes · 12 min read
Why Higress Transformer Beats Spring Cloud Gateway Filters: Performance and Usage Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2023 · Backend Development

Master Spring Cloud Gateway: Build Scalable Microservice Gateways Step‑by‑Step

This guide explains what a microservice gateway is, outlines the advantages of Spring Cloud Gateway, and provides a step‑by‑step tutorial—including Maven dependency, YAML routing configuration, custom filter code, and deployment instructions—to help developers build scalable, reactive API gateways for modern backend systems.

API Gatewaybackend-developmentmicroservices
0 likes · 8 min read
Master Spring Cloud Gateway: Build Scalable Microservice Gateways Step‑by‑Step
Huolala Tech
Huolala Tech
Oct 12, 2023 · Backend Development

Inside LApiGateway: Building a Scalable Microservice Gateway for High Availability

LApiGateway is Huolala's custom Java-based microservice gateway built on Spring Cloud Gateway, featuring service discovery via Consul, centralized configuration, a rich plugin system, DSL-driven routing, high‑availability designs like physical and service isolation, gray‑scale migration, traffic pre‑warming, and adaptive load balancing to ensure stable, efficient API management.

DSLJavaMicroservice Gateway
0 likes · 12 min read
Inside LApiGateway: Building a Scalable Microservice Gateway for High Availability
Su San Talks Tech
Su San Talks Tech
Oct 9, 2023 · Backend Development

Why Did My Spring Cloud Gateway Crash? Uncovering Inode Exhaustion and the Fix

After a sudden 500 error crippled an online service, the author traced the issue to Spring Cloud Gateway’s HttpMessageReader creating temporary directories for every request, eventually exhausting inode space; the article explains the root cause, inode basics, and how upgrading to version 5.2.16 resolves the problem.

HttpMessageReaderSpring Bootinode exhaustion
0 likes · 8 min read
Why Did My Spring Cloud Gateway Crash? Uncovering Inode Exhaustion and the Fix
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2023 · Backend Development

Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling

This article introduces Spring Cloud Gateway as a unified entry for microservices, explains its core functions, advantages over Zuul, Maven dependencies, YAML routing configuration, detailed route components, filter types with code examples, custom global filters, execution order, and CORS solutions for backend development.

CORSFiltersRouting
0 likes · 14 min read
Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling
Java Architecture Diary
Java Architecture Diary
Aug 21, 2023 · Backend Development

How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade

This article explains why URL mappings that worked in Spring Boot 2.x break after upgrading to Spring Boot 3, demonstrates the issue with trailing slashes, and provides three practical solutions—including a filter, Nginx rule, and Spring Cloud Gateway optimization—to restore correct routing.

Spring BootTrailing Slashfilter
0 likes · 5 min read
How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade
Top Architect
Top Architect
Aug 8, 2023 · Backend Development

Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling

This article introduces Spring Cloud Gateway as a unified entry point for microservices, explains its core functions, compares it with Zuul, provides Maven and YAML configuration examples, details route definitions, filter types and ordering, shows how to implement custom filters, and demonstrates CORS solutions using both YAML and Java code.

API GatewayCORSCustom Filter
0 likes · 16 min read
Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2023 · Backend Development

Introduction to Spring Cloud Gateway and Its Core Concepts

This article explains the purpose of an API gateway, introduces Spring Cloud Gateway as a modern, WebFlux‑based solution, outlines its features, core concepts such as routes, predicates and filters, shows configuration examples, dynamic routing, and how to create custom predicates and filters for microservice architectures.

API GatewayJavaSpring Boot
0 likes · 10 min read
Introduction to Spring Cloud Gateway and Its Core Concepts
iQIYI Technical Product Team
iQIYI Technical Product Team
Jul 14, 2023 · Backend Development

Investigation and Optimization of Long GC Pauses Caused by Excessive FinalReference in Spring Cloud Gateway

The team discovered that frequent Logback file rotations created thousands of FileOutputStream objects whose finalize‑based FinalReference instances flooded the G1GC reference‑processing phase, causing 13‑second pauses, and resolved the issue by enabling parallel reference processing, enlarging log rotation size, and adjusting GC initiation thresholds.

FinalReferenceGC pauseJVM
0 likes · 13 min read
Investigation and Optimization of Long GC Pauses Caused by Excessive FinalReference in Spring Cloud Gateway
Architecture Digest
Architecture Digest
May 22, 2023 · Backend Development

API Gateway Design Principles, Functions, and Comparison of Popular Implementations

This article explains why API gateways are essential in micro‑service architectures, outlines their four core functions, discusses high‑performance, high‑availability, and scalability design goals, and compares major open‑source gateways such as OpenResty, Kong, Zuul, and Spring Cloud Gateway to help engineers choose the right solution.

Kongbackend architecturemicroservices
0 likes · 22 min read
API Gateway Design Principles, Functions, and Comparison of Popular Implementations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 14, 2023 · Backend Development

How Spring Cloud Gateway Routes Requests: Inside the Core Filters

An in‑depth walkthrough of Spring Boot 2.7.10 with Spring Cloud Gateway 3.1.6 shows how the RouteToRequestUrlFilter, ReactiveLoadBalancerClientFilter, NettyRoutingFilter, and NettyWriteResponseFilter sequentially transform incoming URLs, resolve service instances via load balancing, and forward requests to target microservices.

FiltersLoad BalancerReactive Programming
0 likes · 13 min read
How Spring Cloud Gateway Routes Requests: Inside the Core Filters
macrozheng
macrozheng
Apr 10, 2023 · Backend Development

Choosing the Right API Gateway: Theory, Practice, and Real‑World Comparisons

This article explains the fundamentals of API gateways, outlines their core functions, compares popular solutions such as Nginx, Zuul, Spring Cloud Gateway, Kong, and Traefik, and details a custom Traefik‑based gateway architecture with its technology stack, backend design, and protocol‑conversion module.

API GatewayKongTraefik
0 likes · 19 min read
Choosing the Right API Gateway: Theory, Practice, and Real‑World Comparisons
Code Ape Tech Column
Code Ape Tech Column
Mar 8, 2023 · Cloud Native

Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions

This article explains why an API gateway is essential in micro‑service architectures, introduces Spring Cloud Gateway’s core features, walks through project setup, routing predicates, filters, integration with Nacos for service discovery and dynamic routing, and demonstrates custom global error handling.

API GatewayCustom FiltersNacos
0 likes · 25 min read
Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 20, 2023 · Cloud Native

How to Implement and Combine Global & Gateway Filters in Spring Cloud Gateway

This guide explains the purpose, signatures, and ordering of GlobalFilter and GatewayFilter in Spring Cloud Gateway, shows how to combine them, and provides detailed code examples for custom global filters, forward routing, load‑balancing, Netty, WebSocket, and other core filters, including configuration tips.

GatewayFilterGlobalFilterJava
0 likes · 8 min read
How to Implement and Combine Global & Gateway Filters in Spring Cloud Gateway
Top Architect
Top Architect
Jan 7, 2023 · Backend Development

Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication

This article provides a step‑by‑step guide to building a Spring Cloud Gateway for microservices, covering system setup, request routing, cross‑origin handling, token‑bucket rate limiting, password hashing with BCrypt, an overview of symmetric and asymmetric encryption, and JWT‑based authentication with code examples and configuration details.

JWTJavabcrypt
0 likes · 24 min read
Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication
Architecture Digest
Architecture Digest
Nov 28, 2022 · Backend Development

Understanding API Gateways: Concepts, Design Principles, Types, and Comparison of Popular Solutions

This article explains what an API gateway is, why it is needed in micro‑service architectures, outlines core design ideas such as routing, service registration, load balancing, resilience and security, distinguishes traffic and business gateways, and compares major open‑source implementations like OpenResty, Kong, Zuul 1/2 and Spring Cloud Gateway.

API GatewayKongService Mesh
0 likes · 26 min read
Understanding API Gateways: Concepts, Design Principles, Types, and Comparison of Popular Solutions
Top Architect
Top Architect
Nov 22, 2022 · Backend Development

Handling Cross‑Origin Requests with Spring Cloud Gateway, @CrossOrigin Annotation, and HttpClient

The article explains why browsers enforce same‑origin policies, then presents three practical ways to solve cross‑origin issues in a Spring Boot backend—using the @CrossOrigin annotation, routing through Spring Cloud Gateway, and making server‑side requests with HttpClient—accompanied by configuration examples and full code snippets.

CORSHttpClientJava
0 likes · 12 min read
Handling Cross‑Origin Requests with Spring Cloud Gateway, @CrossOrigin Annotation, and HttpClient
Architect
Architect
Nov 18, 2022 · Backend Development

Handling Cross‑Origin Issues with @CrossOrigin, Spring Cloud Gateway, and HttpClient

This article explains why browsers enforce same‑origin policies, presents common CORS solutions such as the @CrossOrigin annotation, gateway integration with Spring Cloud Gateway, and using HttpClient, and provides detailed configuration and code examples for implementing these approaches in a Java backend project.

CORSHttpClientJava
0 likes · 11 min read
Handling Cross‑Origin Issues with @CrossOrigin, Spring Cloud Gateway, and HttpClient
Java Architect Essentials
Java Architect Essentials
Nov 17, 2022 · Backend Development

Handling Cross-Origin Issues with Spring Cloud Gateway and HttpClient in Java

This article explains why browsers enforce same‑origin policies, presents common CORS solutions such as the @CrossOrigin annotation, HttpClient usage, and Spring Cloud Gateway integration, and provides detailed code examples for configuring gateways, CORS filters, and making HTTP requests in Java backend projects.

CORSCross-OriginHttpClient
0 likes · 14 min read
Handling Cross-Origin Issues with Spring Cloud Gateway and HttpClient in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 14, 2022 · Backend Development

Spring Cloud Gateway Deep Dive: Request Flow, Handlers & Filters

This article explains the internal execution process of Spring Cloud Gateway, detailing how DispatcherHandler locates HandlerMapping, creates FilteringWebHandler, selects SimpleHandlerAdapter, builds and runs the filter chain—including core filters like RouteToRequestUrlFilter and NettyRoutingFilter—and transforms incoming URLs to their target destinations.

DispatcherHandlerFilteringWebHandlerJava
0 likes · 7 min read
Spring Cloud Gateway Deep Dive: Request Flow, Handlers & Filters
Sohu Tech Products
Sohu Tech Products
Nov 9, 2022 · Backend Development

Implementing Traffic Replication in an API Gateway with Sentinel

This article explains how to extend Sentinel's flow‑control capabilities in a Spring Cloud Gateway to implement traffic replication, covering Sentinel fundamentals, its slot‑chain architecture, custom filter code, configuration steps, and practical usage for testing and load‑testing with real traffic.

API GatewayFlow ControlSentinel
0 likes · 14 min read
Implementing Traffic Replication in an API Gateway with Sentinel
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 20, 2022 · Backend Development

Implementing Rate Limiting in Spring Cloud Gateway Using Redis

This article explains how to configure distributed rate limiting in Spring Cloud Gateway by adding the reactive Redis dependency, setting up Redis connection properties, defining a RequestRateLimiter filter with token‑bucket parameters, implementing a custom KeyResolver, and demonstrating the behavior with HTTP 429 and 403 responses.

Javamicroservicesrate limiting
0 likes · 12 min read
Implementing Rate Limiting in Spring Cloud Gateway Using Redis
HomeTech
HomeTech
Oct 19, 2022 · Backend Development

Reactor in Spring Cloud Gateway: Reactive Programming for API Gateways

This article explores the use of Reactor in Spring Cloud Gateway, highlighting its role in enabling reactive programming for efficient API gateway implementations through non-blocking, asynchronous operations and advanced data flow management.

API GatewayReactive ProgrammingReactor
0 likes · 12 min read
Reactor in Spring Cloud Gateway: Reactive Programming for API Gateways
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2022 · Backend Development

Choosing a Microservice Gateway: Spring Cloud Gateway vs APISIX

After moving to a new team lacking a dedicated gateway, the author evaluates two popular microservice gateway solutions—Spring Cloud Gateway and Apache APISIX—comparing their features, cloud‑native capabilities, performance, and ease of use, ultimately selecting Spring Cloud Gateway for its Java ecosystem and extensibility.

APISIXbackendcloud-native
0 likes · 11 min read
Choosing a Microservice Gateway: Spring Cloud Gateway vs APISIX
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2022 · Cloud Native

Implementing a Spring Cloud Gateway with Nacos for Dynamic Service Discovery and Load Balancing

This tutorial walks through setting up a Spring Cloud Gateway integrated with Nacos as a registration and configuration center, covering Nacos installation, project configuration, route definition, and a listener that dynamically refreshes service instances to ensure reliable request forwarding.

Dynamic ConfigurationNacosload balancing
0 likes · 16 min read
Implementing a Spring Cloud Gateway with Nacos for Dynamic Service Discovery and Load Balancing
Wukong Talks Architecture
Wukong Talks Architecture
Sep 18, 2022 · Cloud Native

Why the Financial Platform “Huanbei” Switched from Spring Cloud Gateway to Apache APISIX: Architecture, Implementation, and Benefits

The article explains the specific stability, regulatory, and precision requirements of financial software, examines Java's role in the sector, describes the shortcomings of Spring Cloud Gateway, and details how Apache APISIX was adopted, deployed, customized, and evaluated to improve performance, cost, and operational efficiency in a cloud‑native environment.

API GatewayApache APISIXFinancial Services
0 likes · 14 min read
Why the Financial Platform “Huanbei” Switched from Spring Cloud Gateway to Apache APISIX: Architecture, Implementation, and Benefits
Selected Java Interview Questions
Selected Java Interview Questions
Aug 19, 2022 · Backend Development

Integrating Sentinel with Spring Cloud Gateway for Rate Limiting

This tutorial explains what gateway rate limiting is, shows how to integrate Alibaba Sentinel with Spring Cloud Gateway, details the configuration of Sentinel dashboard, gateway flow rules, API group management, implementation principles, and how to customize block responses for robust microservice protection.

API GatewaySentinelmicroservices
0 likes · 10 min read
Integrating Sentinel with Spring Cloud Gateway for Rate Limiting
Top Architect
Top Architect
Aug 16, 2022 · Backend Development

Spring Cloud Gateway: Service Gateway Basics, Deployment, Routing, Filters, Nacos Integration, Apollo Dynamic Configuration, and Global Exception Handling

This comprehensive guide explains why a service gateway is needed in microservice architectures, details Spring Cloud Gateway's core concepts, deployment steps, route and predicate configurations, local and global filters, integration with Nacos for service discovery, dynamic routing via Apollo, and custom global exception handling, providing code examples throughout.

ApolloJavaNacos
0 likes · 24 min read
Spring Cloud Gateway: Service Gateway Basics, Deployment, Routing, Filters, Nacos Integration, Apollo Dynamic Configuration, and Global Exception Handling
Wukong Talks Architecture
Wukong Talks Architecture
Aug 10, 2022 · Backend Development

Designing API Gateways: Comparison, Key Considerations, and Best Practices

This article explains how to design API gateways by comparing common gateway solutions, outlining essential design aspects such as routing, service discovery, load balancing, resilience, security, and high performance, availability, and scalability, and summarizing the strengths of OpenResty, Kong, Zuul, and Spring Cloud Gateway.

API GatewayKonghigh availability
0 likes · 24 min read
Designing API Gateways: Comparison, Key Considerations, and Best Practices
Java High-Performance Architecture
Java High-Performance Architecture
Jul 17, 2022 · Cloud Native

How to Build a Spring Cloud Gateway with Dynamic Nacos Routing and Auth Filters

This guide walks through setting up a Spring Cloud Gateway service using Spring Boot 2.1, configuring static and dynamic routes via YAML and Nacos JSON, and implementing a custom authentication filter with Redis token validation, covering gateway framework, route definitions, dynamic updates, and security filters.

dynamic routingspring-cloud-gateway
0 likes · 12 min read
How to Build a Spring Cloud Gateway with Dynamic Nacos Routing and Auth Filters
Aotu Lab
Aotu Lab
Jul 14, 2022 · Backend Development

Monet: Building a Unified API Gateway with Spring Cloud Gateway

Monet is a custom API gateway built on Spring Cloud Gateway that consolidates multiple platform endpoints into a single domain, providing unified routing, API management via Zookeeper, authentication and authorization, dynamic rate‑limiting with Sentinel, and extensible monitoring, addressing scalability and operational challenges of the Linglong platform.

API Gatewayauthenticationbackend development
0 likes · 10 min read
Monet: Building a Unified API Gateway with Spring Cloud Gateway