AWS API Gateway
medium 28 minAmazon API Gateway is a managed front door for HTTP and WebSocket APIs.
Where it shows up
The same pattern appears across everyday software.
Serverless web apps
The common AWS pattern: a static site, an HTTP API with a JWT authorizer, Lambda functions and DynamoDB.
Partner APIs
Each partner has a key in a usage plan, so one noisy customer is slowed without hurting the others. The key counts; a token proves who calls.
Backend for a mobile app
A small gateway joins a few services into one answer shaped for the phone, which keeps payloads small.
Device fleets
Devices post readings; the gateway writes them straight into a stream or queue, and workers follow at their own pace.
Chat and live boards
A WebSocket API stores connection IDs in a table. Workers post to a connection through its management address.
Language model answers
AWS named generative AI as a reason for allowing longer timeouts in 2024. Response streaming lets words arrive as they are made.