WebSockets & API Gatewayby@robzhu
34,866 reads
34,866 reads

WebSockets & API Gateway

by Robert Zhu4mJanuary 4th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Companies Mentioned

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

Robert Zhu

@robzhu

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

About @robzhu
LEARN MORE ABOUT @ROBZHU'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Robert Zhu HackerNoon profile picture
Robert Zhu@robzhu
Current World Champion @AWS, ex-Facebook, ex-Microsoft

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!