A-Z Popular Blog Infrastructure Search »
Technology
 Advertisements
Information Technology

Integration

It Management

Systems Technology

17 Examples of an API Gateway

 ,
An API gateway is a reverse proxy that routes requests from clients to API services. This has several common functions:

Routing

An API gateway provides a single address to clients and takes care of routing client requests to an appropriate service. For example, a market data service that publishes hundreds of services through an API gateway that can be accessed via a single domain name. The gateway performs a mapping between a requested URL and services.

Decoupling

Routing decouples clients and services. This may allow you to change your services without impacting clients.

Load Balancing

API gateways may implement load balancing whereby requests are distributed to many instances in order to achieve unlimited scale.

Microservices

API gateways may connect to a wide range of API architectures. However, they are particularly associated with microservices, an architectural technique that divides functionality into small individually deployable services. Microservices are kept extremely lightweight and benefit from the ability to offload functionality to the API gateway.

Composition

The ability to call multiple services to build a response for a single client request. This allows client interfaces to be simplified and designed for client needs while allowing implementation to be decomposed into lightweight and scalable microservices.

Latency Reduction

Composition of services can be designed to reduce overall network latency. For example, an API gateway may allow a client to make a single request that results in dozens of API calls on behalf of the client by the gateway. Assuming the gateway is in close proximity to the deployed APIs this can significantly reduce total latency.

Transformations

Transforming the responses of services into a message format that is expected by a client.

Gateway Offloading

Gateway offloading is the assignment of functionality to an API gateway that is common to many of your services. This allows you to keep your services lightweight and to standardize certain functionality such as authentication.

Authentication

A gateway is client facing and must handle any required authorization and authentication of client requests.

Firewall

It is common for an API gateway to offer a web application firewall that provides network security functions such as IP whitelisting.

Rate Limiting

Controlling the rate at which a single client is entitled to a response in order to prevent a small number of clients from overwhelming your services.

Encryption

Encryption functionality such as handling SSL connections.

Compression

Compression of responses can be offloaded to an API gateway.

Caching

An API gateway may cache responses to reduce load on APIs and improve response times. For example, an ecommerce API that returns a product description for an item id may safely cache these responses for several hours as this information doesn't change often.

Monitoring

As a central controller for a variety of API services, an API gateway is a natural place to monitor your APIs for performance, security and SLA management purposes.

Audit Trail

Requests and response data may be logged and can serve as an important audit trail.

Analytics

An API gateway may provide native analytics to explore data generated by API requests and responses. Alternatively, such data may be integrated with an analytics tool.
Overview: API Gateway
Type
Definition
A reverse proxy that routes requests from clients to services.
Related Concepts

Information Technology

This is the complete list of articles we have written about information technology.
AI
Algorithms
App Management
Audit Trail
Automation
Autoscaling
Benchmarking
Business Software
Choreography
Cloud Computing
Cloud Scaling
Code Smell
Coding
Complexity Hiding
Computing
Cryptography
Dark Data
Data
Data Architecture
Data Dredging
Data Infrastructure
Data Integration
Data Science
Data Security
Data Wrangling
Databases
Deep Magic
Digital Transformation
Diy
Edge Computing
Emergence
Endpoints
Enterprise Architecture
Event Processing
Gamification
High Availability
Honeypot
Horizontal Scale
Incidents
Information Science
Information Security
Information Technology
Integration
IT Architecture
IT Artifact
IT Assets
IT Biases
IT Capabilities
IT Controls
IT Gaps
IT Goals
IT Governance
IT Lifecycle
IT Management
IT Metrics
It Metrics
IT Objectives
IT Operations
IT Planning
IT Risks
IT Services
IT Strategy
IT Support
Key Stretching
Last Mile
Least Privilege
Low Technology
Managed Services
Master Data
Modernization
Mods
Network Arch.
Network Infra.
Networking
Office Automation
Operating Systems
Over-Automation
Overlay Network
Password Entropy
Payback Period
Peer-to-peer
Precomputation
Proof Of Work
Quality Assurance
Regression Testing
Reputation Systems
Robotics
Self Service
Service Level
Service Management
Software
Software Quality
Solution Architecture
Space
Strategic Planning
System Architecture
Systems
Technical Skills
Technology
Technology Culture
Technology Issues
Technology Strategy
Unstructured Data
Utility Computing
Workload Automation
Zero-day
If you enjoyed this page, please consider bookmarking Simplicable.
 

IT Infrastructure

A definition of IT infrastructure with several examples.

Network Infrastructure

A list of common types of network infrastructure.

Proxy vs Reverse Proxy

The difference between proxies and reverse proxies with examples.

Load Balancing

An overview of load balancing with examples.

Infrastructure Examples

An overview of infrastructure with examples.

Computing Platform

A list of the basic types of computing platform.

Building Infrastructure

An overview of building infrastructure with examples.

Networking

A list of networking techniques and concepts.

Synchronous

The definition of synchronous with examples.

Host

The definition of host with various examples.

Localhost

A complete overview of localhost with an example.

Node

The definition of network node with examples.

High Latency

The definition of high latency with examples.

Keep Alive

A complete overview of keep alive with examples and diagrams.

Network Architecture

A guide to network architecture.

Radio Waves

A list of the basic types of radio waves with useful charts.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map