Tagged articles
139 articles
Page 2 of 2
Top Architect
Top Architect
Mar 8, 2022 · Information Security

Critical Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation

This article explains two high‑severity Spring Cloud Gateway vulnerabilities (CVE‑2022‑22946 and CVE‑2022‑22947), outlines the affected versions, describes how attackers can exploit exposed Actuator endpoints, and provides concrete mitigation steps such as upgrading to safe releases or disabling the gateway actuator.

ActuatorCVE-2022-22946CVE-2022-22947
0 likes · 6 min read
Critical Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation
Programmer DD
Programmer DD
Mar 7, 2022 · Backend Development

Why Spring Cloud Gateway Returns Duplicate CORS Headers and How to Fix It

This article explains why Spring Cloud Gateway may emit duplicate Access-Control-Allow-Origin and Vary headers during CORS handling, analyzes the internal processing flow, and provides two practical solutions—using DedupeResponseHeader configuration or a custom GlobalFilter—to eliminate the duplication.

CORSSpring Cloud Gatewaybackend-development
0 likes · 12 min read
Why Spring Cloud Gateway Returns Duplicate CORS Headers and How to Fix It
Code Ape Tech Column
Code Ape Tech Column
Mar 5, 2022 · Information Security

Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation

This article explains two critical Spring Cloud Gateway vulnerabilities (CVE-2022-22946 and CVE-2022-22947), detailing their causes, affected versions, potential impact, and recommended remediation steps such as upgrading to safe releases or disabling the vulnerable actuator endpoint.

CVERemote Code ExecutionSecurity Patch
0 likes · 4 min read
Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation
Programmer DD
Programmer DD
Mar 2, 2022 · Information Security

Critical Spring Cloud Gateway Vulnerabilities and How to Mitigate Them

The article outlines two Spring Cloud Gateway CVEs—CVE-2022-22947 (critical code injection) and CVE-2022-22946 (medium HTTP/2 TrustManager issue)—detailing their severity, affected versions, and recommended mitigation steps such as upgrading to 3.1.1+, disabling Actuator, or securing it with Spring Security.

CVECode InjectionHTTP2
0 likes · 4 min read
Critical Spring Cloud Gateway Vulnerabilities and How to Mitigate Them
Top Architect
Top Architect
Dec 25, 2021 · Backend Development

Building a Spring Cloud Gateway with Dynamic Routing via Nacos and Implementing Authentication Filters

This tutorial demonstrates how to set up a Spring Cloud Gateway using Spring Boot 2.1, configure static and Nacos‑driven dynamic routes, and create a custom authentication GlobalFilter that validates tokens against Redis, providing a complete guide for backend developers to implement secure, flexible routing.

Authentication FilterDynamic RoutingNacos
0 likes · 9 min read
Building a Spring Cloud Gateway with Dynamic Routing via Nacos and Implementing Authentication Filters
Selected Java Interview Questions
Selected Java Interview Questions
Dec 21, 2021 · Cloud Native

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

This tutorial explains how to create a Spring Cloud Gateway service, configure static and dynamic routing using Nacos, and implement a custom authentication filter with Redis token validation, providing a step‑by‑step guide for backend developers building cloud‑native microservice gateways.

Dynamic RoutingNacosSpring Cloud Gateway
0 likes · 12 min read
Building a Spring Cloud Gateway Service with Dynamic Routing via Nacos and Authentication Filter
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 15, 2021 · Backend Development

Deep Dive into Spring Cloud Gateway: Architecture and Request Flow Explained

This article introduces Spring Cloud Gateway, outlines its core components such as routes, predicates, and filters, and provides a detailed step‑by‑step analysis of the request handling process—including code examples, filter chain execution, routing, and response writing—offering practical insights for backend developers.

FiltersSpring Cloud Gatewayapi-gateway
0 likes · 10 min read
Deep Dive into Spring Cloud Gateway: Architecture and Request Flow Explained
Code Ape Tech Column
Code Ape Tech Column
Nov 4, 2021 · Backend Development

Integrating Alibaba Sentinel with Spring Cloud Gateway for Rate Limiting

This article demonstrates how to integrate Alibaba Sentinel into Spring Cloud Gateway to implement both route‑level and custom API‑level rate limiting, covering project setup, Maven dependencies, configuration files, custom block responses, and the importance of combining gateway and service‑side throttling for robust microservice protection.

Spring Cloud Gatewayjavarate limiting
0 likes · 10 min read
Integrating Alibaba Sentinel with Spring Cloud Gateway for Rate Limiting
Code Ape Tech Column
Code Ape Tech Column
Nov 1, 2021 · Backend Development

Spring Cloud Gateway: Core Concepts, Configuration, Filters, Nacos Integration, and Dynamic Routing

This article explains why a gateway is essential in micro‑service architectures, introduces Spring Cloud Gateway’s core concepts such as routes, predicates and filters, shows step‑by‑step setup with Maven dependencies, demonstrates custom local and global filters, and details integration with Nacos for service discovery, load‑balancing, dynamic routing and global error handling.

FiltersNacosSpring Cloud Gateway
0 likes · 22 min read
Spring Cloud Gateway: Core Concepts, Configuration, Filters, Nacos Integration, and Dynamic Routing
IT Architects Alliance
IT Architects Alliance
Oct 31, 2021 · Operations

Mastering Rate Limiting: From SLB to Spring Cloud Gateway and Microservices

This article explains how to apply rate limiting at each layer of a modern service architecture—SLB, Nginx, Spring Cloud Gateway, and individual microservices—detailing traffic characteristics, interception methods, isolation techniques, and practical configurations to protect systems from overload, attacks, and cascading failures.

Circuit BreakingMicroservicesNGINX
0 likes · 7 min read
Mastering Rate Limiting: From SLB to Spring Cloud Gateway and Microservices
Top Architect
Top Architect
Oct 14, 2021 · Cloud Native

Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Practical Guide

This article provides a comprehensive overview of rate‑limiting techniques for Spring Cloud Gateway, covering common scenarios, classic algorithms such as fixed‑window, sliding‑window, leaky‑bucket and token‑bucket, and practical implementations using Redis, Resilience4j, Bucket4j, Guava and custom local limiters.

MicroservicesSpring Cloud GatewayToken Bucket
0 likes · 41 min read
Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Practical Guide
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 9, 2021 · Backend Development

Mastering Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Best Practices

This article explores the evolution of Spring Cloud Gateway, explains common rate‑limiting scenarios and algorithms, reviews open‑source libraries such as Guava, Bucket4j and Resilience4j, and provides detailed guidance for implementing both local and distributed request‑frequency and concurrency limits within the gateway.

Bucket4jSpring Cloud Gatewayjava
0 likes · 40 min read
Mastering Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Best Practices
Top Architect
Top Architect
Sep 30, 2021 · Backend Development

Rate Limiting in Spring Cloud Gateway: Scenarios, Algorithms, Open‑Source Tools, and Practical Implementations

This article comprehensively explains rate‑limiting concepts for Spring Cloud Gateway, covering common throttling scenarios, major algorithms such as Fixed Window, Sliding Window, Leaky Bucket and Token Bucket, reviews popular open‑source libraries, and demonstrates both single‑node and distributed implementations with detailed code examples.

AlgorithmsBackendSpring Cloud Gateway
0 likes · 41 min read
Rate Limiting in Spring Cloud Gateway: Scenarios, Algorithms, Open‑Source Tools, and Practical Implementations
Java Interview Crash Guide
Java Interview Crash Guide
Sep 3, 2021 · Backend Development

Mastering Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Pitfalls

This article explores the evolution of Spring Cloud Gateway, explains common rate‑limiting scenarios and algorithms such as fixed‑window, sliding‑window, leaky‑bucket and token‑bucket, reviews open‑source limiters like Guava RateLimiter, Bucket4j and Resilience4j, and provides detailed guidance for implementing both single‑node and distributed rate‑limiting and concurrency‑limiting solutions within the gateway.

Spring Cloud Gatewayjavaresilience4j
0 likes · 45 min read
Mastering Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Pitfalls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 27, 2021 · Backend Development

Mastering Spring Cloud Gateway Filters: Add Header, Parameter, Retry, and More

This guide demonstrates how to configure and test various Spring Cloud Gateway filter factories—including AddRequestHeader, AddRequestParameter, AddResponseHeader, PrefixPath, StripPrefix, Retry, RedirectTo, and default filters—using Spring Boot 2.3.7 with Hoxton.SR9, complete with YAML snippets and code examples.

FiltersMicroservicesSpring Cloud Gateway
0 likes · 7 min read
Mastering Spring Cloud Gateway Filters: Add Header, Parameter, Retry, and More
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jul 15, 2021 · Backend Development

Spring Cloud Gateway: Principles and Practical Applications

This article explains the architecture, core concepts, routing mechanisms, configuration options, and extensibility of Spring Cloud Gateway, illustrating how it replaces Zuul with a non‑blocking Netty‑based solution and how to customize routes, predicates, filters, and dynamic updates for microservice environments.

FiltersNettySpring Cloud Gateway
0 likes · 27 min read
Spring Cloud Gateway: Principles and Practical Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 9, 2021 · Backend Development

How to Dynamically Configure Routes in Spring Cloud Gateway with Zuul and Nacos

This guide explains how to locate and customize route locators in Spring Cloud Gateway by examining ZuulServerAutoConfiguration and SimpleRouteLocator, then shows how to implement a custom route locator using Nacos as a configuration center, including code examples and necessary YAML settings.

Dynamic RoutingNacosSpring Cloud Gateway
0 likes · 3 min read
How to Dynamically Configure Routes in Spring Cloud Gateway with Zuul and Nacos
Architecture Digest
Architecture Digest
Jun 26, 2021 · Backend Development

Design and Technical Specification for a High‑Throughput Messaging Center

This document outlines the technical, business, and product goals, functional requirements, architecture diagrams, technology selections, and detailed design and operational plans for building a highly available messaging center capable of handling 10,000 messages per second upstream and 1,000 messages per second downstream.

MessagingSpring Cloud Gateway
0 likes · 5 min read
Design and Technical Specification for a High‑Throughput Messaging Center
Ops Development Stories
Ops Development Stories
May 21, 2021 · Backend Development

How to Integrate Sentinel with Spring Cloud Gateway for Flow Control

This guide explains how to use Alibaba Sentinel with Spring Cloud Gateway, covering dependency setup, YAML configuration, gateway startup parameters, and defining flow‑control rules to protect microservice routes, including code examples and a brief summary of customization options.

Flow ControlMicroservicesSpring Cloud Gateway
0 likes · 4 min read
How to Integrate Sentinel with Spring Cloud Gateway for Flow Control
dbaplus Community
dbaplus Community
May 20, 2021 · Backend Development

Mastering API Gateways with Spring Cloud Gateway: Routing, Rate Limiting, and Dynamic Configuration

This article explains the purpose and principles of API gateways in microservice architectures, introduces Spring Cloud Gateway's core concepts and workflow, and provides step‑by‑step examples for basic routing, weighted routing, rate limiting, and dynamic route management with complete code snippets.

Dynamic ConfigurationMicroservicesSpring Cloud Gateway
0 likes · 19 min read
Mastering API Gateways with Spring Cloud Gateway: Routing, Rate Limiting, and Dynamic Configuration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 8, 2021 · Backend Development

How to Configure Spring Cloud Gateway Route Predicates for Precise Routing

This guide explains how to configure various Spring Cloud Gateway route predicates—including After, Before, Between, Cookie, Header, Host, Method, Path, and Query—providing YAML examples, execution flow, and test results to achieve precise request routing in a Spring Boot microservice environment.

MicroservicesSpring Cloud Gatewayroute predicates
0 likes · 9 min read
How to Configure Spring Cloud Gateway Route Predicates for Precise Routing
Top Architect
Top Architect
Mar 14, 2021 · Backend Development

Securing Spring Cloud Gateway Requests with Token Filters and Feign Header Interceptor

This article demonstrates how to secure microservice communication by adding a request token in Spring Cloud Gateway, implementing a global filter to validate the token, and configuring a Feign interceptor to automatically attach the required header, ensuring all services route through the gateway.

Request HeaderSpring Cloud GatewayToken Filter
0 likes · 7 min read
Securing Spring Cloud Gateway Requests with Token Filters and Feign Header Interceptor
58 Tech
58 Tech
Jan 20, 2021 · Cloud Native

Design and Implementation of a Spring Cloud Gateway Sidecar for 58 Anjuke Real Estate Platform

This article details the background, selection, sidecar‑based deployment, custom features, performance testing, and production rollout of a Spring Cloud Gateway API gateway used to unify authentication, anti‑scraping, and routing logic across Node.js, Java, and PHP services in the 58 Anjuke second‑hand housing business line.

Cloud NativeSidecarSpring Cloud Gateway
0 likes · 9 min read
Design and Implementation of a Spring Cloud Gateway Sidecar for 58 Anjuke Real Estate Platform
Java Architect Essentials
Java Architect Essentials
Oct 5, 2020 · Backend Development

Implementing Distributed Rate Limiting in Spring Cloud Gateway with Token Bucket and Lua Script

This article explains how Spring Cloud Gateway uses a token‑bucket algorithm backed by Redis and a Lua script to perform distributed rate limiting, reviews common limiting algorithms, provides detailed Java and Lua code examples, and analyzes each step of the implementation for high‑concurrency systems.

Distributed SystemsLuaSpring Cloud Gateway
0 likes · 7 min read
Implementing Distributed Rate Limiting in Spring Cloud Gateway with Token Bucket and Lua Script
Programmer DD
Programmer DD
Jul 20, 2020 · Backend Development

Master Spring Cloud Gateway: Build High‑Performance API Gateways Quickly

This article introduces Spring Cloud Gateway, explains its core concepts such as routes, predicates, and filters, demonstrates how to quickly set up a gateway with both Java‑based and configuration‑based routing, and shows how to create custom global and route‑specific filters for advanced request handling.

BackendMicroservicesSpring Cloud Gateway
0 likes · 13 min read
Master Spring Cloud Gateway: Build High‑Performance API Gateways Quickly
Java Architecture Diary
Java Architecture Diary
May 25, 2020 · Cloud Native

Mastering Global Exception Handling in Spring Cloud Gateway

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.

Error HandlingSpring Cloud GatewayWebFlux
0 likes · 5 min read
Mastering Global Exception Handling in Spring Cloud Gateway
macrozheng
macrozheng
Jan 6, 2020 · Backend Development

How to Fix CORS Errors When Calling Services Through Spring Cloud Gateway

This article explains why a Spring Cloud Gateway‑based microservice project encounters CORS‑related login failures, demonstrates how to reproduce the issue, and provides step‑by‑step configuration changes—including a global CORS filter and removal of duplicate filters—to resolve the problem.

CORSSpring Cloud Gatewaybackend-development
0 likes · 5 min read
How to Fix CORS Errors When Calling Services Through Spring Cloud Gateway
macrozheng
macrozheng
Oct 28, 2019 · Cloud Native

Master Spring Cloud Gateway: From Setup to Advanced Routing & Filters

Spring Cloud Gateway provides a powerful, reactive API gateway for Spring Boot applications, offering dynamic routing, predicates, and a variety of filters such as rate limiting, retries, and circuit breaking, with detailed examples of configuration via YAML and Java beans, integration with Eureka, and practical code snippets.

FiltersSpring Cloud Gatewayrouting
0 likes · 18 min read
Master Spring Cloud Gateway: From Setup to Advanced Routing & Filters
Java Architecture Diary
Java Architecture Diary
Jul 30, 2019 · Backend Development

Mastering Dynamic Rate Limiting in Spring Cloud Gateway with Sentinel

This article examines the limitations of Spring Cloud Gateway's native RequestRateLimiter, introduces Sentinel's flow control integration, provides Maven dependencies, configuration examples, and demonstrates dynamic rate‑limiting adjustments via Nacos, illustrating effective traffic protection for microservice gateways.

NacosSpring Cloud Gatewayrate limiting
0 likes · 7 min read
Mastering Dynamic Rate Limiting in Spring Cloud Gateway with Sentinel
Programmer DD
Programmer DD
Aug 18, 2018 · Backend Development

How to Implement Multi-Dimensional Rate Limiting in Spring Cloud Gateway

This guide explains how Spring Cloud Gateway replaces Zuul and provides Redis‑based multi‑dimensional rate limiting, covering Maven dependencies, YAML configuration, custom key resolver beans, stress testing, Redis key monitoring, core Java implementation, and the underlying Lua script.

Spring Cloud Gatewayrate limitingreactive
0 likes · 5 min read
How to Implement Multi-Dimensional Rate Limiting in Spring Cloud Gateway