Ravi Sir's Cards › AWS
WebSocket vs HTTP polling for chat?
This interview card answers: WebSocket vs HTTP polling for chat? WebSocket keeps a push channel; polling hammers the API and still adds latency. API Gateway WebSocket routes lifecycle and messages to Lambda. Wss — //…/prod clients; PostToConnection pushes to stored connectionIds.
Read card text
What this card says
What it is
WebSocket keeps a push channel; polling hammers the API and still adds latency.
Why it matters
API Gateway WebSocket routes lifecycle and messages to Lambda.
How / example
wss://…/prod clients; PostToConnection pushes to stored connectionIds.