What infrastructure should I use to persist messages from a public websocket?


I want to connect to a publicly available websocket, create a request and persist the subsequent, long running stream of events for later processing.

I will likely use node.js or Java to connect to the websocket and raise the request.

I want to avoid missing any messages that the service sends, so always on, re-connection and redundancy are important so that I can build an optimal data set at a later stage.

What AWS architecture would you suggest?

asked a year ago158 views
1 Answer

AWS lambda and DynamoDB. and to call through Websockets you can use wscat tool https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-wscat.html

profile picture
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions