API gateway

A server that sits in front of one or more services and handles shared concerns such as routing, authentication, rate limits and TLS for every request.

In more detail

It should apply cross-cutting policy while each service still authorises access to its own resources and owns its schema and errors. Every hop adds latency and a failure point, so measure gateway time separately, propagate the request identifier, and test routes through the gateway.

Related terms

Taught in

References