AWS EventBridge
Transcript
all right at AWS re invent 2022 vulner vogels the CTO of AWS painted this picture of this async world this world well we can get away from creating synchronous AWS microservices based applications or applications in general based on this synchronous monolithic process where we have a business process let's call it order fulfillment where we have a call center we have order intake we have manufacturing and then we have shipping and we create a monolith even if it's microservices based on this business process this serial business
process as if nothing can ever grow go wrong as if after we go from manufacturing to shipping there isn't some type of Warehouse accident in which we have to restart this process or update this process and let the customer know that the order isn't either going to be fulfilled or we need to order a new product to solve this problem from a technology perspective we can decouple the micro services from this monolithic mindset how do we do that well you listen to AWS and Varner It
Is by using something like an event bridge where each micro service communicates with an event Bridge so when I enter order as a call center agent the order entry or order fulfillment Department can pick that order up off the event Bridge the manufacturing group can pick that event up off of the event bridge and then the shipping can pick that up off the event bridge when there's a error in the overall process or accident shipping can just update the event bridge and now the call center
can look for that event to happen on the event bridge and contact the customer Magic but let's penetrate the magic a little bit what's really happening from a technology perspective from a technology perspective we have a let's say a mongodb SAS solution that is subscribed to the event Bridge a database record is created Lambda is listening for those events it picks up that event off of the big bridge creates a S3 bucket I have an API listening on the bus for a S3 objects being created
and act appointed appointed now you might ask yourself how's this different from a typical message bus or Kafka the difference is this is AWS managed so you get all of the overhead or the goodness of being a first class AWS citizen meaning AWS billing integration with IAM Cloud watch and all the other AWS systems so native integration with your AWS Cloud control plane the ctoadvisor.com is the website for the customer or if you want to get this in your inbox every day AWS everyday.com to learn
about a different AWS product every weekday talk to you next product