upstream and downstream
Relative positions in a chain of calls: from a proxy’s point of view the service it forwards to is upstream, and work that happens later as a result is downstream.
In more detail
Record the upstream status and latency separately at a gateway, so an operator can tell a gateway failure from a service failure. Timeouts and retries should be set deliberately at each hop.
Related terms
- reverse proxy — A server that receives requests on behalf of other servers and forwards them, returning their responses as if they were its own.
- 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.
Taught in
- Webhooks Versus Polling — Modern API Architecture: REST, GraphQL & gRPC
- API Gateways And Proxies — Modern API Architecture: REST, GraphQL & gRPC