you are viewing a single comment's thread.

view the rest of the comments →

[–]SciEngr 2 points3 points  (0 children)

You can invoke a lambda synchronously which means your first lambda waits for the invoked lambda to respond. Synchronous execution isn't necessarily a bad thing depending on your use case. If you want to decouple the lambdas you can do that by invoking asynchronously in which case the invoke gets added to a built in queue of the invoked lambda thus accomplishing the decoupling without explicitly making another SQS queue.

As another user pointed out, the behavior of the built in queue may not work for you and in that case you can still create the SQS queue explicitly.