API gateway
An API gateway is a server-side intermediary that provides an entry point for client requests to backend APIs or services and routes or mediates those requests.
Designing AI Systems
An API gateway is a gateway component that provides a unified entry point for accessing backend services and applies shared cross-cutting controls.
- How it is used
- Centralizes access and shared controls for external requests and internal platform service calls.
- How deep it goes
- Traces request routing, scaling, deployments, and SDK address configuration without implementing the gateway itself.
- Examples
- Traces a patient-assistant request through session, data, and model services, and configures a Python SDK gateway address.
- What you can do after
- Evaluate an API gateway's role in routing, shared controls, service scaling, and deployment reliability.
Authorization in Action
An API gateway is a service that receives, routes, and often governs requests to backend APIs.
- How it is used
- Uses the gateway as a centralized enforcement point for incoming API requests.
- How deep it goes
- Works through request normalization, token validation, policy evaluation, and enforcement, while contrasting gateway coverage with other deployment patterns.
- Examples
- Illustrates a manager’s salary request and OAuth-token calls from a delegated analytics client and a task integration.
- What you can do after
- Evaluate gateway enforcement by tracing token and policy decisions and identifying request paths that need additional protection.
Grokking Software Architecture
An API gateway is a centralized edge server that provides a single entry point for external clients and routes requests to internal services while enforcing shared perimeter concerns.
- How it is used
- Centralizes external entry, routing, and shared perimeter defenses for distributed services.
- How deep it goes
- Defines gateway responsibilities and illustrates aggregation with asynchronous HTTP calls, without detailing gateway deployment or configuration.
- Examples
- Uses excessive login attempts, an orders request, and a three-service page aggregator to illustrate gateway responsibilities and tradeoffs.
- What you can do after
- Evaluate how a gateway supports perimeter security and where distributed aggregation adds complexity.
Read how Grokking Software Architecture explains API gateway →
Effective Platform Engineering
An API gateway is a service that receives API traffic and applies gateway functions such as routing, access management, and developer credential handling.
- How it is used
- Provides a controlled external entry point for APIs used by third-party developers.
- How deep it goes
- Explains DNS-to-gateway routing and adoption trade-offs, but defers gateway implementation details.
- Examples
- Uses api.epetech.io, delegated hosted zones, and platform traffic paths as concrete infrastructure examples.
- What you can do after
- Evaluate when external API consumers justify a gateway instead of existing platform capabilities.
Read how Effective Platform Engineering explains API gateway →
Automating API Delivery
An API gateway is a service that acts as a central entry point for API traffic, routing requests to backend services while enforcing cross-cutting policies.
- How it is used
- Provides a public entry point for API products while routing requests to backend microservices and applying shared policies.
- How deep it goes
- Works through declarative routing and authentication configuration, then discusses contract validation; does not teach a gateway technology comprehensively.
- Examples
- Uses a Kong catalog route with Host and x-api-key headers, plus OpenAPI request and response validation cases.
- What you can do after
- Operate/configure it by routing a Kong endpoint to a backend and evaluating gateway-generated behavior against the API reference.
Spring Microservices in Action
A service gateway is an entry point that proxies requests to targeted services.
- How it is used
- Centralizes service routing and cross-cutting policies behind a common entry point for microservice clients.
- How deep it goes
- Moves from gateway responsibilities to setup, route configuration, filters, and operational controls.
- Examples
- Uses beta-service routing, A/B testing, and correlation ID filters to illustrate gateway behavior.
- What you can do after
- Apply it via Spring Cloud and Netflix Zuul to configure service routes and filters.
Read how Spring Microservices in Action explains API gateway →
Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform
An architectural component that serves as an entry point between clients and backend services.
- How it is used
- Deploys the gateway as the customer-facing entry point, frontend host, REST API, and HTTP forwarding layer for backend microservices.
- How deep it goes
- Explains frontend serving, REST routing, streaming, authentication, and gateway topology, while deferring advanced multi-service route composition.
- Examples
- Demonstrates FlixTube’s /api/video route forwarding a streamed response from video-streaming to the browser.
- What you can do after
- Operate/configure a gateway that exposes frontend routes, forwards backend requests, and separates client access from internal services.
Spring in Action, Sixth Edition
A gateway interface is an interface whose methods provide an application-facing entry point for sending messages into an integration flow.
- How it is used
- Provides an application-facing entry point for submitting data to an integration flow and optionally receiving its result.
- How deep it goes
- Explains interface generation, channels, payloads, headers, and one-way or two-way calls through concrete Java examples.
- Examples
- Uses FileWriterGateway for file output and UpperCaseGateway with a Java DSL transformer for returned uppercase text.
- What you can do after
- Build a Spring Integration interface that sends payloads and headers into named channels and optionally returns a flow response.
Read how Spring in Action, Sixth Edition explains API gateway →
Microsoft Azure in Action
An API gateway is an intermediary service that receives client API requests and routes or manages them for backend services while presenting a stable external interface.
- How it is used
- Routes client requests to backend APIs while preserving a stable public interface during internal changes.
- How deep it goes
- Explains request flow, abstraction, service components, and HTTP integration, but defers detailed API Management capabilities.
- Examples
- Demonstrates Function App integration, an HTTP-triggered Logic App, Blob Storage retrieval, tweeting, and Azure CLI provisioning.
- What you can do after
- Operate/configure Azure API Management to expose serverless HTTP workflows through a gateway and consider request authentication.
AI Governance
A server component that mediates requests between clients and backend services, applying routing, authentication, and other controls.
- How it is used
- Routes vendor-model traffic through a central enforcement point for sanitization, access controls, logging, and policy enforcement.
- How deep it goes
- Specifies redaction, guardrails, service identity, rate limits, and bypass monitoring, but not gateway internals.
- Examples
- Contrasts a sanctioned gateway route with an engineer's direct API call and describes sanitizing data before vendor submission.
- What you can do after
- Configure a central gateway to sanitize vendor-bound data, enforce service-level controls, and detect unauthorized or bypassing traffic.
Also covered in
- Secure APIs
- Software Security for Developers
- Microservices Patterns, Second EditionIn early access (MEAP)
- ASP.NET Core in Action, 3e
- Build AI-Enhanced Web Apps
- Logs and Telemetry
- Architecture Modernization: Socio-technical alignment of software, strategy, and structure
- gRPC Microservices in Go
- Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
- The Design of Web APIs, Second Edition
What to know first
- authenticationAuthentication is the process of verifying the claimed identity of a user, service, device, or other entity.
- rate limitA rate limit is a constraint on the maximum frequency or volume of operations permitted within a defined interval or capacity.
- microservice architectureMicroservice architecture is a software architectural style that structures an application as independently deployable services, typically organized around focused capabilities and communicating through defined interfaces.
- contractA contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
Related concepts
- zuul serverincludes · A Zuul server is a Zuul deployment configured without the built-in reverse proxy filters or Eureka-based service discovery.
- authenticationuses · Authentication is the process of verifying the claimed identity of a user, service, device, or other entity.
- rate limituses · A rate limit is a constraint on the maximum frequency or volume of operations permitted within a defined interval or capacity.
- contractuses · A contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
- monitoringuses · Monitoring is the ongoing observation and measurement of a system or process to assess its behavior or condition and detect changes, failures, or other problems.
Questions about API gateway
What is API gateway?
An API gateway is a server-side intermediary that provides an entry point for client requests to backend APIs or services and routes or mediates those requests.
Which Manning books explain API gateway?
Designing AI Systems, Authorization in Action, Grokking Software Architecture, Effective Platform Engineering, Automating API Delivery, Spring Microservices in Action, Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform, Spring in Action, Sixth Edition and 2 more.
What should I know before learning API gateway?
Manning books that teach API gateway usually introduce authentication, rate limit, microservice architecture and contract first.
What kinds of API gateway are there?
Kinds of API gateway include Kong Gateway and zuul server.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.









