|
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, This is, without exaggeration, the most common interview question right now across cloud and AI roles. And it is also one of the easiest questions to fail badly, because most candidates do not realize they are failing it until they get the rejection email. An interviewer asks, "What is an AI agent?" Average answer Candidate responds with something like, "Agents perform complex tasks with a prompt." Or worse, they start dropping buzzwords. Context engineering. Loop engineering....
Hello Reader, Here is one of my favorite interview tricks. I used it myself, and I teach it to every one of my bootcamp students. In almost every SA phone screen, you'll get an icebreaker like "What is Lambda?" or "What is S3?" Sounds easy. But most candidates blow it. Here's the average answer I hear: "Lambda is serverless. It works with API Gateway. It can run up to 15 minutes." A list of random features with no structure, super basic, right? Here's the trick: Memorize one line of the...
Hello Reader, "How are you using GenAI in your day-to-day work?" This question shows up in almost every interview now, and almost everyone gives the same answer. "I use GenAI to write code." "I use it to generate documents." "I have a bot that automates part of my job." These are bad answers. Not because they are false, but because they tell the interviewer nothing about you specifically. The prompt is not the differentiator. Anyone can type a prompt into Claude or ChatGPT and get code back....