Tagged articles
139 articles
Page 1 of 2
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.

AuthenticationGlobal FilterLoad Balancer
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.

MicroservicesNGINXSSL Offloading
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.

Backend ArchitectureNGINXSSL Termination
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 400Host headerNGINX
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.

FiltersMicroservicesSpring Cloud Gateway
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.

NettySpring Cloud Gatewayhigh 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.

AuthenticationCircuit BreakingMicroservices
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.

NGINXSpring Cloud Gatewayapi-gateway
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 testingDeploymentKubernetes
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.

AuthenticationAuthorizationJWT
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.

MicroservicesSpring Cloud Gatewaycircuit breaker
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.

MicroservicesSpring Cloud Gatewaycircuit breaker
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.

BackendMicroservicesSpring Cloud Gateway
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.

NacosSpring Cloud GatewayWeight Cache
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 PredicateMicroservices
0 likes · 21 min read
Master Spring Cloud Gateway: Routing, Custom Predicates & Filters Explained
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.

Spring Cloud Gatewaycircuit breakernio
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.

Circuit BreakingSpring Cloud Gatewaybackend-development
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 BreakingNon-blockingSpring Cloud Gateway
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 CenterDynamic RoutingMicroservices
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.

Custom FilterMicroservicesSpring Cloud Gateway
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.

ActuatorRoute ManagementSpring Cloud Gateway
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.

HTTPSSpring Cloud Gatewaydigital 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.

Dynamic RoutingGateway FiltersMicroservices
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.

Spring Cloud Gatewayapi-gatewaybackend-development
0 likes · 7 min read
Building a Microservice Gateway with Spring Cloud Gateway
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 19, 2024 · Backend Development

Spring Cloud Gateway: Overview, Usage, Configuration, and Performance

This article introduces Spring Cloud Gateway as a high‑performance, reactive API gateway for microservice architectures, explains why it is chosen, details Maven and YAML configuration, demonstrates routing predicates and filters with code examples, and evaluates its performance impact compared to alternatives.

CORSFiltersSpring Cloud Gateway
0 likes · 14 min read
Spring Cloud Gateway: Overview, Usage, Configuration, and Performance
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.

BackendMicroservicesSpring Cloud Gateway
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.

AuthenticationAuthorizationSa-Token
0 likes · 20 min read
Implementing Sa-Token Authentication and Authorization in 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.

AuthenticationMicroservicesNacos
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.

HigressSpring Cloud GatewayTransformer Plugin
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.

MicroservicesSpring Cloud Gatewayapi-gateway
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.

DSLMicroservice GatewaySpring Cloud 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 Cloud Gatewayinode 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.

BackendCORSFilters
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.

NGINXSpring Cloud GatewaySpring MVC
0 likes · 5 min read
How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 11, 2023 · Backend Development

How Spring Cloud Gateway Initializes Predicates and Routes Internally

This article explores how Spring Cloud Gateway (Hoxton.SR11) initializes predicate factories, binds configuration values, creates Route objects, and uses CachingRouteLocator and RouteDefinitionRouteLocator to locate and match routes at startup, detailing the underlying code flow and key classes involved.

Backend RoutingMicroservicesSpring Cloud Gateway
0 likes · 11 min read
How Spring Cloud Gateway Initializes Predicates and Routes Internally
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.

CORSCustom FilterSpring Cloud Gateway
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.

MicroservicesSpring Cloud Gatewayapi-gateway
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.

Backend ArchitectureKongMicroservices
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 BalancerMicroservices
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.

KongMicroservicesSpring Cloud Gateway
0 likes · 19 min read
Choosing the Right API Gateway: Theory, Practice, and Real‑World Comparisons
Java Architect Essentials
Java Architect Essentials
Apr 3, 2023 · Backend Development

Implementing Internal/External API Isolation with Gateway, Redis Whitelist, and AOP in Java Microservices

This article explains three practical approaches—separate microservices, gateway + Redis whitelist, and gateway + AOP—to restrict external access to internal APIs, and provides a detailed Spring Cloud Gateway and AOP code implementation for Java microservice architectures.

API SecurityMicroservicesSpring Cloud Gateway
0 likes · 7 min read
Implementing Internal/External API Isolation with Gateway, Redis Whitelist, and AOP in Java Microservices
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.

Custom FiltersMicroservicesNacos
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.

GatewayFilterGlobalFilterMicroservices
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.

JWTMicroservicesSpring Cloud Gateway
0 likes · 24 min read
Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication
Architect's Guide
Architect's Guide
Jan 4, 2023 · Backend Development

Understanding Cross-Origin Issues and Solutions with Spring Cloud Gateway and HttpClient

This article explains why browsers enforce same‑origin policies causing CORS problems, outlines common remedies such as the @CrossOrigin annotation, HttpClient usage, and Spring Cloud Gateway integration, and provides detailed configuration and code examples for implementing these solutions in a Java backend.

CORSHttpClientSpring Cloud Gateway
0 likes · 13 min read
Understanding Cross-Origin Issues and Solutions with Spring Cloud Gateway and HttpClient
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.

KongService MeshSpring Cloud Gateway
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.

CORSHttpClientSpring Cloud Gateway
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.

BackendCORSHttpClient
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
Top Architect
Top Architect
Nov 14, 2022 · Backend Development

Designing a Three‑Level HTTP Cache in B/S Architecture and Optimizing Microservice Gateways

This article explores the shortcomings of current HTTP caching practices, proposes a three‑level cache design for B/S architectures, discusses gateway simplification with Apache APISIX, offers data‑size reduction tips, and presents a hand‑crafted Java HTTP cache framework with code examples.

HTTP CachingMicroservicesSpring Cloud Gateway
0 likes · 16 min read
Designing a Three‑Level HTTP Cache in B/S Architecture and Optimizing Microservice Gateways
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.

DispatcherHandlerFilteringWebHandlerNettyRoutingFilter
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.

Flow ControlMicroservicesSpring Cloud Gateway
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.

MicroservicesSpring Cloud GatewayToken Bucket
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.

ReactorSpring Cloud Gatewayapi-gateway
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 ConfigurationMicroservicesNacos
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.

Apache APISIXFinancial ServicesSpring Cloud Gateway
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.

MicroservicesSpring Cloud Gatewayapi-gateway
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.

ApolloDynamic RoutingMicroservices
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.

KongSpring Cloud Gatewayapi-gateway
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.

AuthenticationSpring Cloud Gatewayapi-gateway
0 likes · 10 min read
Monet: Building a Unified API Gateway with Spring Cloud Gateway
Architect's Tech Stack
Architect's Tech Stack
Jun 1, 2022 · Backend Development

Integrating Alibaba Sentinel for Rate Limiting in Spring Cloud Gateway

This article explains how to integrate Alibaba Sentinel with Spring Cloud Gateway to configure rate‑limiting and circuit‑breaker rules, covering Maven dependencies, Java configuration classes, Sentinel rule definitions, and optional console‑based management for robust backend API protection.

Alibaba SentinelSpring Cloud Gatewayjava
0 likes · 10 min read
Integrating Alibaba Sentinel for Rate Limiting in Spring Cloud Gateway
Selected Java Interview Questions
Selected Java Interview Questions
May 27, 2022 · Backend Development

Integrating Alibaba Sentinel with Spring Cloud Gateway for Rate Limiting and Circuit Breaking

This article demonstrates how to integrate Alibaba Sentinel into Spring Cloud Gateway for traffic rate limiting and circuit breaking, covering Maven dependencies, configuration of SentinelGatewayFilter and exception handler, rule definitions via YAML or Java code, and custom API grouping, providing a complete backend gateway protection guide.

Alibaba SentinelCircuit BreakingSpring Cloud Gateway
0 likes · 11 min read
Integrating Alibaba Sentinel with Spring Cloud Gateway for Rate Limiting and Circuit Breaking
Programmer DD
Programmer DD
May 15, 2022 · Information Security

Secure Spring Cloud Microservices with the New Spring Authorization Server

This article explains how to replace the deprecated Spring Security OAuth2 with a modern Spring Authorization Server solution, detailing the authentication flow, required components, configuration examples for Spring Cloud Gateway, Resource Server, and Id Server, and provides step‑by‑step demo instructions.

Authorization ServerOAuth2Spring Cloud Gateway
0 likes · 9 min read
Secure Spring Cloud Microservices with the New Spring Authorization Server
Top Architect
Top Architect
Apr 22, 2022 · Backend Development

Building a Spring Cloud Gateway Service with Dynamic Routing via Nacos and Authentication Filter

This article demonstrates how to set up a Spring Cloud Gateway service using SpringBoot 2.1, configure static routes, implement dynamic routing through Nacos configuration listening, and create a custom authentication GlobalFilter, providing a step‑by‑step guide with Maven dependencies, YAML/JSON examples, and full Java code.

Authentication FilterDynamic RoutingNacos
0 likes · 12 min read
Building a Spring Cloud Gateway Service with Dynamic Routing via Nacos and Authentication Filter
Programmer DD
Programmer DD
Apr 12, 2022 · Information Security

Secure Microservice Auth with Spring Cloud Gateway & OAuth2

This article explores two common microservice authentication and authorization architectures, compares a dedicated auth server versus gateway‑handled OAuth2 flows, and provides a step‑by‑step implementation using Spring Cloud Gateway, Spring Authorization Server, Spring Security, OpenID Connect, and token relay techniques to secure resources.

MicroservicesOAuth2Spring Cloud Gateway
0 likes · 6 min read
Secure Microservice Auth with Spring Cloud Gateway & OAuth2
Code Ape Tech Column
Code Ape Tech Column
Mar 24, 2022 · Backend Development

Resolving Duplicate Access-Control-Allow-Origin Header Issues in Spring Cloud Gateway

This article explains why Spring Cloud Gateway may return multiple Access-Control-Allow-Origin headers, analyzes the internal processing flow that causes the duplication, and provides two practical solutions—using DedupeResponseHeader configuration or a custom GlobalFilter—to ensure a single, correct CORS header in responses.

CORSHeader DeduplicationSpring Cloud Gateway
0 likes · 11 min read
Resolving Duplicate Access-Control-Allow-Origin Header Issues in Spring Cloud Gateway