SNS to Lambda vs SNS to SQS to Lambda

后端 未结 5 2234
慢半拍i
慢半拍i 2021-02-01 13:45

I\'m trying to understand whether I need SQS in my workflow if someone can help explain. In my app, when an action is taken, it submits info to SNS topic which invokes LAMBDA to

5条回答
  •  情书的邮戳
    2021-02-01 14:17

    Adding to @Arafat Nalkhande's answer here are few benefits of SQS's lambda

    1. In SQS we can put a delay, so that message gets processed after some time, it may be useful in the scenario where data takes time to be available.

    2. SQS can serve as a contingency store, lets say downstream services are unavailable, message can be retained in sqs for 15 days.

提交回复
热议问题