How to setup AWS Lambda with SQS — everything you should know!
▻https://hackernoon.com/how-to-setup-aws-lambda-with-sqs-everything-you-should-know-12263d8aa91e
AWS recently introduced SQS integration to Lambda. We have been waiting for this for a long time now. In the following post, I’m going to share a quick-and-simple tutorial on how to get started with message distribution between Lambda functions, using SQS.In addition, I will also compare between SQS and SNS (i.e. why should we choose one over the other), and present an in-depth #performance analysis of using SQS as a message distributor.SetupIn this tutorial, I will use the Serverless Framework, to send a message from one Lambda function to another Lambda function via SQS.Prerequisites:npm installed.Serverless Framework installed.Python — Feel free to use your favorite programming language.AWS account (duh).Let’s start by creating the serverless project:serverless create —template aws-python3 (...)
#aws-lambda #distributed-systems #aws-tutorial #aws-lambda-with-sqs