API Gateway
The single front door between clients and backend services. It routes, authenticates, limits and merges answers.
Example
The app calls api.store.com 1 time and the gateway spreads it across the 20 services behind.
Test yourself: API Gateway
API Gateway
What is an API Gateway?
The client talks to 1 single address; behind it there can be 20 services.
API Gateway
With a gateway, the app makes 1 call instead of ___, one per service.
If the screen needs 5 services, without a gateway that's 5 trips of about 100 ms from the phone. With a gateway, 1 single trip.
API Gateway
You want to follow a slow request through the 6 services it touches. Which feature do you use?
Tracing shows that of 900 ms, 700 went to service number 4.
0/3
â–¶ Play