Member-only story
Working With AWS Lambda and AWS SQS using Serverless Framework.
Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message oriented middleware, and empowers developers to focus on differentiating work. Using SQS, you can send, store, and receive messages between software components at any volume, It helps us to build message-driven systems.
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume — there is no charge when your code is not running. you can run code for virtually any type of application or backend service — all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
combination of SQS and Lambda , help you to create distributed asynchronous system.
We will be using Serverless framework for the integration of lambda and SQS queue.
Serverless.yml
sender:
handler: src/sqs-sender.handler
timeout: 900…