API gateway
medium 24 minAn API gateway is the single front door for client requests.
Where it shows up
The same pattern appears across everyday software.
Amazon API Gateway
A managed gateway with token-bucket throttling, usage plans and keys, often placed in front of functions or containers.
SoundCloud
Phil Calçado described how its teams built a backend for each frontend, instead of one general API.
Kubernetes clusters
The Gateway API describes listeners and routes, and several products implement it.
Online shops
One domain serves products, cart, orders and accounts, while separate teams release those services on their own.
Partner APIs
A separate partner gateway with keys, quotas and slow, careful versioning protects the product's own clients from partner changes.
Moving off a monolith
A gateway routes one path at a time to new services, and everything else to the old system.