API Proxy vs Gateway
Table of Content:
API Proxy vs Gateway
Know more about the API and understand the differences between API proxy and Gateway in this video.
API Gateway for Microservices
Microservices provide fine-grained APIs based on client needs. Each client needs to interact with multiple services to collect relevant information. For example, a payment
client needs to fetch data from several services such as product, customer, and billing.
API Gateway takes care of the external traffic of coordinating with different services
. The API Gateway encapsulates the internal system architecture and provides an API that is tailored to each client.
The API Gateway is liable for Protocol translation, Composition, and Request Routing.
More on API Gateway
Learn more about how API Gateways support Microservices in this video.
API Gateway Benefits
- Insulates the clients (internal structure of the application) from
Application partitioning into Microservices Location determination of service instances.
- Provides specific API to each client, reducing the number of round trips between the client and application.
- Simplifies the client by transferring logic for calling various services from the client to API gateway.
Fact# 5
Netflix has created a cloud-based IT architecture that helps developers to release huge numbers of software changes daily. The Netflix architecture includes an API Gateway that handles approximately 2 billion API edge requests daily, which are handled by about 600+ microservices.