|
Hello Reader, EDA (Event Driven Architecture) has become increasingly popular in recent times. In this newsletter edition, we will explore what is EDA , what are the benefits of EDA, and then some advanced patterns of EDA. Let's get started: An event-driven architecture decouples the producer and processor. In this example producer (human) invokes an API, and send information in JSON payload. API Gateway puts it into an event store (SQS), and the processor (Lambda) picks it up and processes it. Note that, the API gateway and Lambda can scale (and managed/deployed) independently Benefits of an event-driven architecture:
Now that we understand the EDA basics, let's take a look at a couple of advanced EDA patterns: API Gateway + EventBridge Pattern
SNS + SQS Pattern This pattern is similar to the previous one but has some differences:
If you want to know about SNS Vs SQS Vs EventBridge in detail, check out this video. Now, you are equipped to handle even tough interview questions on EDA! Make sure to practice, and crush your cloud interview π Get 25% off the Zero to Hero with serverlessA friend of this newsletter, Yan Cui (AWS Serverless Hero), is running a serverless workshop and has kindly offered us a 25% discount! Production-Ready Serverless workshop is a hands-on deep dive into everything you need to build serverless architectures for the real world β from system design, testing, CI/CD, cost optimizations, observability, and more. If you want to get serious about serverless and learn from one of the best, this workshop is for you. Learn more at productionreadyserverless.com. Use exclusive discount code 46JEBDF to get 25% off. If you have found this newsletter helpful, and want to support me π: Checkout my bestselling courses on AWS, System Design, Kubernetes, DevOps, and more: Max discounted linksβ AWS SA Bootcamp with Live Classes, Mock Interviews, Hands-On, Resume Improvement and more: https://www.sabootcamp.com/β
Keep learning and keep rocking π, Raj |
Free Cloud Interview Guide to crush your next interview. Plus, real-world answers for cloud interviews, and system design from a top AWS Solutions Architect.
Hello Reader, Every CEO in the last two years stood on a stage or got on an earnings call and said some version of the same thing: "AI is going to transform our operations. We are reducing headcount because AI will handle it." Two stories broke this week that every Solutions Architect and cloud professional needs to understand. Starbucks quietly shut down their AI inventory system after nine months. Deleted the blog post announcing it. No press release. Just an internal memo: go back to...
Hello Reader, Most AI agents built today have a fundamental flaw. They forget everything the moment a session ends. You tell the agent your preferences, your constraints, your context. You close the tab. You come back. It has no idea who you are. This is not a bug. It is the default state of every LLM and agent. They are stateless by design. And if you are building agents or going into SA interviews, understanding how memory works at a system design level is now a baseline expectation. Why...
Hello Reader, GenAI is expensive. Most teams find out how expensive after the bill arrives. The overspend is not random. It comes from the same mistakes made across almost every GenAI project, and most of them are easy to fix once you know where to look. This is a popular interview topic. But when asked "How will you cost optimize Gen AI workflow and application?", some of the average answers I hear is: I will optimize prompts I will use cheaper models I will reduce usage Why are they...