Event-Driven Architectures Using AWS Lambda, SES, SNS, & SQS
AWS Lambda is a service by AWS which lets you run your code without managing the servers, you pay only for the compute time you consume. With Lambda service, you can run code for virtually any type of app or backend services, all with zero administration. here you just have to upload your code and Lambda takes care of everything required to run and scale your code with high availability and durability. Also, you can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile application.
Amazon SQS is a fully configured message queue service that enables you to decouple and scale multiple microservices, distributed systems, and server-less applications. Using the SQS, you can send, receive, and store messages between the software components at any volume, without losing messages or requiring other services to be available.
Amazon SNS is a fully managed messaging service for both types of communication application-to-application (A2A) and application-to-person (A2P).
An event-driven architecture uses events to trigger and communicate between decoupled services and it acts as common modern applications built with microservices. An event is a change in state, like an item being placed in a shopping cart on an e-commerce website. Events can either carry a state or events can be identifiers.
It has three key components: event producers, event routers, and event consumers. A producer publishes an event to the router, which filters and pushes the events to users. Producer services and consumer services are decoupled, which allows users to scale, update, and deploy independently.
In this activity guide, you will learn about Event-driven architecture.
No comments:
Post a Comment