API Gateway Platform · View 02 of 21 · Context and scope
Decisions
- Admission protections run before any policy work, so a malformed or abusive request is cheap to refuse.
- Authentication precedes quota: an unauthenticated request has no principal to charge, and charging an anonymous bucket is how a credential-stuffing attack exhausts a tenant's quota.
- Usage emission is the last stage and is non-blocking. Evidence never gates a response.
Budget
- Gateway-added overhead: p50 ≤ 3 ms, p95 ≤ 8 ms, p99 ≤ 15 ms in-region (assumption).
- The gateway shall consume no more than 5% of a route's end-to-end latency budget at p99.
- Only two stages leave the pod: the counter round trip and the upstream call.
Omitted
- Rejections are emitted as usage records too; the arrow is left off so the spine reads as one path.
- Response caching applies only to routes marked cacheable and is shown on view 07.