pinned lambda blocking on socket connection

0

I need to talk to a legacy system via TCP socket.
My thought was to create a pinned Greengrass Lambda in python3 that blocks on the client connection, does some handshaking with the client, then keeps the socket open as long as the Greengrass Core is running. The protocol to the legacy client as various back and forth messaging I will have to emulate.

I would use some of the data received from the socket to publish some MQTT messages but the trigger function would essentially be a stub and never be called. So the only data the lambda would receive would be from outside the AWS ecosystem.

Is this sane or will it light the atmosphere on fire?

asked 5 years ago292 views
1 Answer
0

Hi wmilliron,

What you've described is a perfectly valid use case and should work just fine to bridge your legacy application with the AWS ecosystem.

Best of luck with your implementation,
-joe

AWS
answered 5 years 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