WebSockets & API Gatewayby@robzhu
34,024 reads

WebSockets & API Gateway

January 4th 2019
6 min
by @robzhu 34,024 reads
tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

API Gateway team announced WebSocket support at re:Invent. Rob Zhu refactor a simple real-time app into a serverless WebSocket API Gateway. We use a simple NodeJS client that talks to wss://echo.websocket.org. We need a serializable token that represents the connection, let’s call it ‘connectionId’ Rob Zhu: Serverless patterns work best when state is separated from execution logic, but I argued that the two are inseparable in real time applications, pertaining to connection state.

Company Mentioned

Mention Thumbnail
featured image - WebSockets & API Gateway
Robert Zhu HackerNoon profile picture

@robzhu

Robert Zhu

About @robzhu
LEARN MORE ABOUT @ROBZHU'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa