layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern API Gateway api-gateway /patterns/api-gateway/ Architectural
Java
Difficulty-Intermediate
Spring

Intent

Aggregate calls to microservices in a single location: the API Gateway. The user makes a single call to the API Gateway, and the API Gateway then calls each relevant microservice.

Class diagram

alt text

Applicability

Use the API Gateway pattern when

  • you're also using the Microservices pattern and need a single point of aggregation for your microservice calls

Credits