WebSockets & API Gatewayby@robzhu
34,643 reads

WebSockets & API Gateway

January 4th 2019
6m
by @robzhu 34,643 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

Current World Champion @AWS, ex-Facebook, ex-Microsoft


Receive Stories from @robzhu

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!