Decided
Lambda has an annoying limitation in that we cannot return HTTP response data, and then continue executing. This affects an event based system using Lambda, because a requester has to wait for a pushed event to travel through the system and the response to travel all the way back before getting an HTTP response which is a terrible user experience! It does however have the advantage that we know if an event has failed somewhere...critical for payments.
SQS allows the best of both worlds. A single (very fast) HTTP request to SQS to send the payload, then SQS deals with ensuring that the rest of the actions can complete.
0 views0
Comments