Stack Explorer

API Gateway

distributed

Single entry point for microservices

Type: pattern

Principles

Single entry pointRouting to microservicesCentralized authenticationRate limiting

When to use

Microservices, multiple clients, cross-cutting concerns

When not to use

Monoliths, few services

Pros and Cons

Ventajas

  • + Simplifies clients
  • + Centralized cross-cutting concerns
  • + Response aggregation

Desventajas

  • - Single point of failure
  • - Additional latency
  • - Can become a bottleneck

Related Technologies

Related Patterns