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.
API gateways act as reverse proxies that streamline request routing, API composition, and authentication, enabling the creation of collaborative ecosystems, thriving API marketplaces, and seamless cross‑platform compatibility, ultimately simplifying access and boosting productivity for developers and users alike.
API GatewayPlatform CompatibilityService Integration
Apache Shenyu is a high‑performance, open‑source API gateway built on the reactive WebFlux framework that unifies API management and security through a flexible plugin architecture offering authentication, traffic control, circuit breaking, request rewriting, logging, and monitoring, while delivering extensibility, low latency, and future cloud‑native integration.
Instead of forwarding JWTs through every microservice, the gateway should validate the token, extract the userId and send it as a header, keeping internal services stateless, while developers can choose among Feign, Dubbo, or combined Spring‑Boot/Dubbo patterns, optionally using a shared auth module and Kubernetes ingress for discovery, as the optimal architecture depends on project needs.
This article walks through creating a lightweight API gateway in Go using the standard net/http/httputil ReverseProxy, explains its core concepts, compares it with other gateway solutions, and provides a complete, runnable example that routes authentication and user services.
This article explains the relationship between API gateways and service meshes, compares four methods for exposing services inside an Istio mesh, and provides a step‑by‑step guide to using Nginx Ingress Controller as the mesh entry point.
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.
This guide walks through installing APISIX, defining security and functional requirements, developing a Java decryption plugin and a Lua body‑rewrite plugin, configuring them with Docker and APISIX, and setting up route rules to enable encrypted API traffic in a cloud‑native environment.
This article presents a comprehensive analysis of the limitations of Spring Cloud Gateway, proposes a self‑developed API gateway architecture called DAG, details its core components such as request context, filter chain, async client, routing, and connection management, and demonstrates through extensive performance testing that DAG achieves significantly higher throughput, lower latency, and improved stability compared to the original SCG solution.
TangoFlow is a low‑code, flow‑based programming platform that lets NetEase Cloud Music developers visually assemble, debug, and deploy backend service orchestrations via drag‑and‑drop nodes, generating DSL for execution, reducing script sprawl, resource waste, and governance gaps while integrating with the existing Tango UI.
This article details how a data‑compliance company evaluated several cloud‑native API gateways, selected Higress for its Kubernetes‑native architecture, built custom Wasm plugins, leveraged HTTP‑to‑Dubbo conversion, migrated from Nginx Ingress, and achieved higher performance and operational simplicity.
Facing 20 billion daily requests, Ctrip’s API gateway evolved from a Zuul‑based prototype to a fully asynchronous, single‑threaded Netty design, employing RxJava, custom flow control, multi‑protocol support, and modular governance to achieve high throughput, low latency, and scalable operations.
Apache ShenYu is a high‑performance, reactive Java API gateway offering dynamic traffic control, hot‑plug plugins, multi‑protocol support, observability, and easy deployment, with detailed module descriptions, quick Docker‑based startup commands, selector and rule routing concepts, and data synchronization mechanisms.
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 GatewaySpring Cloud Gatewaybackend-development
This article explains how Ctrip’s API gateway, built on Java, Netty and RxJava, evolved from a Zuul‑based design to a fully asynchronous, single‑threaded architecture that processes 200 billion daily requests, detailing core components, streaming forwarding, performance optimizations, governance, multi‑protocol support, routing and module orchestration.
This article explains the microservice architecture style, its evolution from monoliths, the technical challenges it introduces, compares leading open‑source solutions such as Dubbo, Spring Cloud Netflix, and Spring Cloud Alibaba, and details essential components like service registries, configuration centers, API gateways, tracing, fault tolerance, and monitoring.
This article provides a comprehensive overview of API gateways, covering their basic concepts, design considerations, key features such as routing, load balancing, resilience and security, and compares popular implementations like OpenResty, Kong, Zuul, and Spring Cloud Gateway.
This article details Ctrip’s API gateway architecture, describing its evolution to handle 20 billion daily requests through fully asynchronous processing, streaming forwarding, single‑threaded event‑loop design, and various performance and governance optimizations, while also covering multi‑protocol compatibility, routing, and module orchestration.
This article explains what a service gateway is—combining routing and filters—covers why it is needed for centralized cross‑cutting concerns such as authentication, rate limiting and monitoring, describes the architecture and request flow with gateway, open‑service and microservices, and recommends a Java‑based stack including Spring Boot, Netflix Zuul, Consul, JWT, Prometheus, Grafana, ELK and JMeter.
This article explains what an API gateway is, why it is needed in micro‑service architectures, outlines key design considerations such as routing, load‑balancing, resilience and security, and compares popular open‑source gateway solutions like OpenResty, Kong, Zuul and Spring Cloud Gateway.
This article provides a comprehensive guide to Kubernetes Gateway API, covering its evolution from Ingress, core concepts, resource types, configuration examples, role‑based design, cross‑namespace routing, and practical steps for installation, deployment, and management using Istio and other controllers.
To overcome Spring Cloud Gateway’s memory leaks, slow O(N) routing and complex reactive code, the team built a custom, thread‑per‑core Netty gateway with in‑memory O(1) route lookup, DAG‑based filter chains and an asynchronous client, delivering four‑times higher throughput (≈45 k QPS), ~19 ms ART, no leaks, and far‑reduced latency.
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.
This comprehensive guide explains what API gateways are, why they are essential in micro‑service architectures, outlines core design concepts such as routing, load‑balancing, elasticity and security, compares popular implementations like Kong, Zuul and Spring Cloud Gateway, and offers practical design considerations for high‑performance, highly‑available, and scalable gateway solutions.
This article explains why BFF is needed in modern microservice architectures, describes thin and thick BFF designs, outlines typical inter‑process microservice structures, enumerates common BFF problems, and proposes governance principles to keep BFF focused on front‑end experience and backend orchestration.
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.
Meiqia, a global intelligent cloud‑customer‑service provider, replaced a tangled multi‑middleware routing stack with a unified Higress gateway, achieving hot‑reloadable routing, WebSocket stability, multi‑cloud deployment, and a clear control‑plane/data‑plane separation that dramatically reduced costs and operational complexity.
This guide explains how the cloud‑native Higress gateway can lower the expense of using AI large models by centralising API keys, applying rate‑limiting, request filtering, and usage monitoring, and demonstrates a complete OpenAI integration using a WASM plugin with code samples and configuration details.
This article dissects the inner workings of Netflix’s Zuul gateway, contrasting its servlet‑based blocking model with Spring Cloud Gateway’s reactive approach, and walks through route collection, handler registration, request processing, and filter loading, complete with key Java code examples.
This article explains what microservices are, when they should be used, their pros and cons, communication patterns, why Node.js is a good fit, and provides a detailed NestJS‑based implementation with code examples for building, testing, and exposing a user‑management microservice through an API gateway.
This article explains what an API gateway is, outlines its required high‑performance, high‑availability, and extensibility characteristics, details core functions such as routing, load balancing, authentication, rate limiting, and compares popular solutions like Spring Cloud Gateway, Zuul, OpenResty, and Kong.
This article explains what microservices are, outlines essential design principles, and details the most important microservices design patterns—including Aggregator, API Gateway, Chain of Responsibility, Asynchronous Messaging, Shared Database, Event Sourcing, Branch, CQRS, Circuit Breaker, and Decomposition—to help developers build robust, scalable applications.
This article guides readers through the evolution from monolithic to event‑driven microservice architectures, covering design patterns, scalability, reliability, communication strategies such as API gateways, BFF, service aggregation, asynchronous messaging, CQRS, event sourcing, and technology choices like Kafka and RabbitMQ to build highly available, scalable, and maintainable systems.
This article explains how Higress replaces Nginx Ingress, Spring Cloud Gateway, Kong, and Istio Ingress Gateway with a single, high‑performance, cloud‑native ingress that reduces maintenance cost, improves traffic management, and integrates seamlessly with Kubernetes and service‑mesh APIs.
This article explains how API gateways solve the challenges of microservice architectures by centralising security, routing, aggregation and traffic management, and compares popular open‑source gateway solutions such as OpenResty, Kong, Zuul and Spring Cloud Gateway, highlighting design priorities like performance, availability and scalability.
This article explains why API gateways are essential in micro‑service architectures, outlines their four core functions, discusses design priorities such as high performance, high availability and high scalability, and compares major open‑source gateway implementations like OpenResty, Kong, Zuul and Spring Cloud Gateway.
This article explains why microservice architecture is preferred over monolithic applications, outlines a clear learning roadmap, and details essential components such as Docker, container orchestration, API gateways, load balancing, service discovery, event buses, logging, monitoring, distributed tracing, persistence, caching, and cloud providers.
This article provides an in‑depth overview of API gateways, covering their core concepts, essential functions such as routing, load balancing, authentication, and monitoring, compares popular open‑source solutions like Nginx, Zuul, Kong and Traefik, and details a custom microservice gateway built on Traefik with Go and Etcd.
This article provides a comprehensive overview of API gateway fundamentals, compares popular open‑source gateways, and details a custom Traefik‑based microservice gateway architecture with routing, authentication, protocol conversion, and high‑performance connection pooling.
This article details Weimob's migration to APISIX, covering background, performance requirements, benchmark results, architectural analysis, Kubernetes deployment, custom plugin extensions for authentication and rate limiting, remaining challenges, and overall conclusions about the gateway's impact.
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.
This article explains what an API gateway is, outlines its core data‑plane and control‑plane functions, compares popular open‑source gateways such as Nginx, Zuul, Spring Cloud Gateway, Kong and Traefik, and details a company‑specific microservice gateway built on Traefik with Etcd and Go.
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.
This article examines the trade‑offs between RPC and event‑driven communication in microservice architectures, detailing different types of coupling, the benefits and drawbacks of event notification and event sourcing, practical examples, and strategies such as API gateways and internal microservice design to reduce tight coupling.
This article analyzes and compares the routing matching processes of the open‑source API gateways APISIX and Kong, detailing their initialization, rule generation, categorization, matching algorithms, performance testing, and concluding why APISIX's radix‑tree approach yields higher efficiency.
This article compares the open‑source API gateways APISIX and KONG across community activity, plugin richness, performance under various workloads, secondary development flexibility, and their suitability for cloud‑native environments such as Kubernetes ingress and function compute integration.
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.
This article outlines the design and implementation of a unified data service platform that standardizes data access, accelerates model processing, provides flexible API construction, and ensures high availability through gateway, caching, and monitoring, ultimately reducing cost and improving efficiency for both C‑end and B‑end applications.
The article explains how microservices communicate, comparing RPC and event‑driven approaches, describing event notification and event sourcing, discussing API gateways, coupling types, internal microservice design, and practical guidelines for limiting service count and reducing tight coupling.
The article outlines a standardized data‑service platform built atop a warehouse, detailing its construction, query, and gateway layers—supporting model definition, acceleration, reusable APIs, unified DSL/SQL interfaces, and observability—to solve ingestion, definition, and lineage issues, achieving 500+ APIs, sub‑day creation, and 18% cost reduction.
This article describes the background, design, configuration, encryption, mock data handling, and practical deployment steps of an external gateway that unifies and secures communication between internal vehicle payment services and external channels such as Apple Pay, Alipay, WeChat Pay, and UnionPay.
This article introduces GraphQL, explains its adoption by GitHub, discusses its challenges, and demonstrates how Apache APISIX can perform fine‑grained GraphQL routing with practical code examples and future enhancement ideas.
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.
This article explains the fundamental concepts of API gateways, why they are essential in micro‑service architectures, outlines core design ideas such as routing, load balancing, resilience and security, and compares popular open‑source implementations like OpenResty, Kong, Zuul and Spring Cloud Gateway.
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.
This article provides an in‑depth overview of API gateways, explaining their basic concepts, design principles, key features such as request routing, service registration, load balancing, resilience and security, and compares popular gateway solutions like OpenResty, Kong, Zuul and Spring Cloud Gateway for microservice architectures.
This article explains how Nginx evolved into the Kong API gateway through OpenResty, describes Kong’s plugin architecture and micro‑service‑oriented capabilities, and demonstrates setting up and managing Kong with Konga on Tencent Cloud, including monitoring, logging, and high‑availability features.
This article explains the role of API gateways, compares access‑layer and application‑layer designs, and provides a step‑by‑step guide to constructing a dynamic, high‑throughput gateway using OpenResty’s Nginx‑Lua architecture, plugin system, and runtime configuration features.
The article explains the different kinds of coupling in microservice communication, compares RPC and event‑driven (event notification and event sourcing) approaches, discusses API gateways, service versioning, and offers practical guidance on when to use each method while highlighting the challenges of tight coupling and internal microservice design.
The article chronicles the architectural evolution of China Telecom's Tianyi Account gateway—from its 2017 Zuul‑based 1.0 implementation, through a 2.0 redesign using Kong with custom plugins, to the current 3.0 version featuring CP/DP separation, multi‑language plugins, and cloud‑native deployment, highlighting performance gains, scalability, and operational improvements.
This article explains what an API gateway is, why it is needed in micro‑service architectures, outlines core design ideas such as request routing, service registration, load balancing, resilience and security, and compares major open‑source gateways like OpenResty, Kong, Zuul 1/2 and Spring Cloud Gateway.
This article presents the motivation, architecture, component selection, user authentication flow, micro‑service integration, and technical details—including custom Lua plugins and NGINX phases—of an automated operations platform built on the cloud‑native API gateway Apache APISIX.
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.
This article explains what an API gateway is, why it is needed in micro‑service architectures, outlines key design ideas such as request routing, service registration, load balancing, resilience and security, and compares major open‑source gateways like OpenResty, Kong, Zuul and Spring Cloud Gateway.
This article presents a comprehensive guide to building a SpringBoot API gateway that covers core capabilities such as authentication, routing, standardized responses, and custom error handling, while achieving high performance with NIO2, high availability with Alibaba Sentinel, and robust security features like IP black‑listing.
This guide presents twelve practical steps—from understanding the trade‑offs and planning the transition to adopting monorepos, CI pipelines, API gateways, feature flags, and observability—that help teams safely decompose a large monolithic application into a robust microservices architecture.
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.
This article provides a comprehensive overview of microservice architecture, covering its definition, history, differences from monolithic development, key characteristics, comparison with SOA, practical implementation steps, common design patterns, advantages, disadvantages, and essential considerations for successful adoption.
This article walks you through the complete journey from a simple monolithic e‑commerce application to a highly scalable, low‑latency, event‑driven microservices system, covering design patterns, principles, communication strategies, data management techniques, and technology choices.
This article explains the evolution and core principles of Serverless computing, outlines its benefits for reducing operational complexity and cost, and provides a step‑by‑step tutorial for building, testing, and exposing a function on Alibaba Cloud using Function Compute and API Gateway.
This article explains what an API gateway is, why it is needed in micro‑service architectures, outlines essential design ideas such as routing, service registration, load balancing, resilience and security, and compares major open‑source gateways like OpenResty, Kong, Zuul, and Spring Cloud Gateway.
This article explains the fundamental concepts of API gateways, their design motivations, key architectural components such as routing, service registration, load balancing, resilience, and security, and provides a comparative overview of popular open‑source implementations like OpenResty, Kong, Zuul, and Spring Cloud Gateway.
This article provides an in‑depth overview of API gateways, covering basic concepts, design principles, functional requirements, traffic vs. business gateways, comparisons of popular implementations such as OpenResty, Kong, Zuul, and Spring Cloud Gateway, and practical recommendations for high performance, availability, and scalability in microservice architectures.
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.
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.
This article explains the role of an API gateway in microservice architectures, details why Spring Cloud Gateway is chosen, describes its workflow, predicates, filters, dynamic routing, and demonstrates token authentication with code examples, helping developers integrate a unified entry point for their services.
This article provides a comprehensive overview of Spring Cloud, explaining its core modules such as Eureka, Zuul, Ribbon, Hystrix, Feign, and Config, and compares popular service‑registry solutions while offering practical guidance for building robust microservice architectures.
The talk traces the evolution of API Gateway architectures and the engineering practices—design patterns, deployment strategies, and operational considerations—required for scalable, reliable services, then demonstrates how ClickHouse can be leveraged for massive data workloads, highlighting practical scenarios, performance optimizations, and key lessons learned.
Senior Bilibili infrastructure engineers Chen Zhihui and Hu Fuwang will present at the GIAC Global Internet Architecture Conference on the 22nd‑23rd, discussing the evolution and engineering of API Gateways and their practical use of ClickHouse for large‑scale data analytics, inviting active participation and exchange.
The Shopee Games team created a custom Protobuf‑driven API gateway that unifies external HTTP and internal RPC traffic, automatically generates routing, authentication, logging and Swagger from proto annotations, shares capacity across services, and boosts performance and resource utilization for their micro‑service‑based casual gaming platform.
This article provides a comprehensive overview of Spring Cloud’s microservice architecture, detailing core components such as Eureka, Zuul, Ribbon, Hystrix, Feign, and Config, comparing registration centers like Nacos, ZooKeeper, Consul, and Etcd, and discussing best practices for service discovery and API gateway design.
The article presents a comprehensive overview of JD Daojia's Open Platform, detailing its service lifecycle—from platform introduction, service design, publishing, and authorization to state management and traffic‑control mechanisms—while explaining the underlying RPC‑based architecture and fixed‑window rate‑limiting algorithm.
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.
This article explains the fundamentals of API gateways, their role in microservice architectures, key design considerations such as routing, load balancing, security, and elasticity, and compares major open‑source implementations like OpenResty, Kong, Zuul, and Spring Cloud Gateway.
This article explains how to migrate a traditional Node.js Express web application to a serverless environment by using an adaptation layer that maps function‑compute events to HTTP requests, covering both API‑gateway and HTTP triggers, core implementation steps, and alternative deployment methods.
This article describes how ShouQianBa standardized its API gateway stack by adopting Apache APISIX, detailing the reasons for selection, custom plugin development, logging enhancements, a bespoke management platform, version‑upgrade strategy, deployment model, and the resulting improvements in reliability and developer productivity.
This article provides a comprehensive overview of common microservice patterns and design principles, covering goals such as cost reduction, faster releases, resilience, visibility, and detailing decomposition, integration, database, CQRS, observability, health‑check, and deployment strategies for building robust backend systems.
This comprehensive guide explains how to transform a small e‑commerce monolith into a highly scalable, low‑latency, fault‑tolerant event‑driven microservice system by applying layered architecture, SOA, design patterns, API‑gateway strategies, CQRS, event sourcing, and appropriate cloud‑native technologies.
This article chronicles Bilibili’s transition from a PHP monolith to a Go‑based bilizone monolith, its subsequent decomposition into microservices, the adoption of Backend‑for‑Frontend (BFF) layers, and the eventual consolidation into a unified API gateway that streamlines routing, security, and traffic management across the platform.
The article traces Bilibili’s API gateway evolution from a crash‑prone 2015 PHP monolith through a Go‑based bilizone, then fragmented BFF services, to a unified microservice gateway that centralizes routing, authentication, rate limiting, and governance, enabling scalable, decoupled development and a full API ecosystem.
This article details Snowball's transition from a single‑datacenter setup to a dual‑active, cloud‑native architecture using Apache APISIX, covering background challenges, problem analysis, gateway selection, architectural adjustments, authentication unification, observability enhancements, ZooKeeper integration, and future plans.
This article introduces the APISIX API gateway, explaining its cloud‑native architecture built on OpenResty and Etcd, the advantages over traditional monolithic service frameworks, detailed feature breakdowns, performance benchmark comparisons with OpenResty, multi‑cluster management practices, usage scenarios, monitoring, logging, and future development directions.
This article examines how Service Mesh and API Gateway differ in responsibilities, explores the east‑west versus north‑south traffic concepts, discusses two implementation philosophies, and traces the evolving integration of sidecars, BFF, and unified gateway solutions in modern microservice architectures.
This article examines how Service Mesh and API Gateway differ in function and deployment, explores the philosophical debate over east‑west versus north‑south traffic when a gateway accesses internal services, and traces the evolving integration of sidecars, BFF layers, and cloud‑native architectures.
This article introduces KubeZoo, a lightweight Kubernetes multi‑tenant gateway that improves resource utilization, reduces operational overhead, and provides strong isolation for massive small tenants by converting API requests and managing tenants through a single control plane.
This article compares popular API gateways such as Nginx, Zuul, Spring Cloud Gateway, Kong, and Traefik, explains their core features and selection criteria, and details a custom Traefik‑based microservice gateway architecture built with Etcd and Go.
The Apache APISIX community announced the 2.13.0 LTS release, enhancing stability, adding observability plugins, a new OpenTelemetry tracing plugin, multi‑language (Wasm, Python, Go) support, and a comprehensive list of bug fixes and improvements.
This comprehensive guide teaches how to design scalable, highly available microservice architectures by applying design patterns, principles, and best practices, covering the evolution from monolithic to event‑driven systems, communication strategies, data management techniques, and technology choices such as API gateways, BFF, CQRS, and Kafka.