<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Divyagurnani on Medium]]></title>
        <description><![CDATA[Stories by Divyagurnani on Medium]]></description>
        <link>https://medium.com/@divyagurnani09?source=rss-ffed987e3563------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5OXieOX1Cozq5lMtcT8jOA.jpeg</url>
            <title>Stories by Divyagurnani on Medium</title>
            <link>https://medium.com/@divyagurnani09?source=rss-ffed987e3563------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:53:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@divyagurnani09/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Caching Strategies I’d Actually Use (and Why)]]></title>
            <link>https://medium.com/@divyagurnani09/caching-strategies-id-actually-use-and-why-4d63c9972b1e?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d63c9972b1e</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Sat, 14 Jun 2025 05:02:58 GMT</pubDate>
            <atom:updated>2025-06-14T05:02:58.687Z</atom:updated>
            <content:encoded><![CDATA[<p>Caching is one of those tools that feels simple at first — just speed up reads, right? But the more you build, the more you realize caching is a subtle game of trade-offs: latency vs. consistency, simplicity vs. performance, durability vs. throughput.</p><p>If I were setting up a cache today, here are the strategies I’d actually consider — along with where they shine, where they break, and how I’ve personally used them in production, including while working on a security platform at <strong>Palo Alto.</strong></p><h3>1. Cache Aside (a.k.a. Lazy Loading)</h3><p>This one’s the default for many systems: on a cache miss, your app hits the DB, returns the data, and populates the cache.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>Super flexible</li><li>Easy to reason about</li><li>Great for read-heavy scenarios</li></ul><p>🔴 <strong>Why it can bite:</strong></p><ul><li>If the underlying DB changes and you don’t invalidate the cache, you’ll serve stale data</li><li>Adds latency on misses</li></ul><p>✅ <strong>When I’d use it:</strong><br> Standard choice when the read/write ratio leans heavily toward reads and strong consistency isn’t mission-critical.</p><h3>2. Write Through</h3><p>Here, the app writes data to the cache <em>and</em> immediately to the database — synchronously.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>Cache is always up to date</li><li>Reduces cache inconsistency issues</li></ul><p>🔴 <strong>Why it can hurt:</strong></p><ul><li>Write latency takes a hit</li><li>You might end up caching a bunch of data no one ever reads</li></ul><p>✅ <strong>When I’d use it:</strong><br> In apps where <em>every</em> read has to be fresh, but writes are relatively infrequent — think dashboards, settings, etc.</p><h3>3. Read Through</h3><p>This flips the logic — your app only talks to the cache. On a miss, the cache fetches from the DB, stores it, and returns it. Your app never even knows the DB was involved.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>Clean abstraction</li><li>Simplifies app logic</li></ul><p>🔴 <strong>Why it’s risky:</strong></p><ul><li>Cache layer gets more complex</li><li>You still need to handle consistency on writes elsewhere</li></ul><p>✅ <strong>When I’d use it:</strong><br> In larger systems where centralizing cache logic simplifies the app — and the cache layer is well-managed.</p><h3>4. Write Back (a.k.a. Write Behind)</h3><p>This one’s aggressive: the app writes to the cache and the cache handles pushing that write to the database <em>asynchronously</em>.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>Super fast writes</li><li>Great for high-throughput systems</li></ul><p>🔴 <strong>Why I’d be cautious:</strong></p><ul><li>If the cache crashes before syncing to the DB… that data’s gone</li><li>Adds operational complexity</li></ul><p>✅ <strong>When I’d use it:</strong><br> In systems where write performance matters more than immediate persistence (e.g., logs, metrics, analytics).</p><h3>5. Write Around</h3><p>Instead of pushing data to the cache on every write, this one skips the cache entirely and writes <em>only</em> to the database. The cache gets populated <em>later</em>, when that data is actually read.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>Keeps cache lean</li><li>Avoids polluting the cache with cold data</li></ul><p>🔴 <strong>Why it’s painful:</strong></p><ul><li>The first read is slow</li><li>Doesn’t help much with bursty traffic</li></ul><p>✅ <strong>When I’d use it:</strong><br> For large datasets that aren’t accessed often — think user profile settings or product catalogs.</p><h3>6. Refresh Ahead</h3><p>This one’s less talked about, but powerful. Instead of waiting for cache entries to expire, the system refreshes them <em>proactively</em> before they go stale, based on usage patterns.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>Smooths out traffic spikes</li><li>Prevents sudden slowdowns on popular data</li></ul><p>🔴 <strong>What makes it tricky:</strong></p><ul><li>Hard to tune — you don’t want to refresh stuff no one is using</li><li>Requires usage analytics or guesswork</li></ul><p>✅ <strong>When I’d use it:</strong><br> Any time I know something will be hit a lot (e.g., trending data, homepage content) and I don’t want to deal with cold starts.</p><h3>7. Tiered Caching</h3><p>Multiple layers: in-memory (like local app cache), Redis/memcached, then the DB.</p><p>🟢 <strong>Why I like it:</strong></p><ul><li>You can get the speed of in-memory with the scale of distributed caching</li><li>Helps manage memory pressure</li></ul><p>🔴 <strong>Why it can go sideways:</strong></p><ul><li>Complex eviction policies</li><li>Debugging becomes harder when a value is missing but only from <em>one</em> tier</li></ul><p>✅ <strong>When I used it:</strong><br> We used tiered caching in threat intelligence ingestion pipelines — first-level in-memory for deduplication, second-level Redis cache for fast lookups of signature metadata. Helped reduce downstream pressure and response latency.</p><h3>Final Thoughts</h3><p>Caching isn’t just about speed — it’s about <em>intentional design</em>. Whether you’re building a security platform or an e-commerce site, the caching strategy you choose impacts performance, reliability, and user experience.</p><p>At <strong>Palo Alto</strong>, working on a platform with large-scale, sensitive data and strict SLAs, caching wasn’t optional — it was a necessity. But more importantly, <strong>using the <em>right</em> caching strategy for the workload was what made the system resilient.</strong></p><p>Let me know if you’ve used any of these in different ways — I’m always curious how others approach this puzzle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d63c9972b1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Fast Feedback Loops Accelerate Engineering Growth]]></title>
            <link>https://medium.com/@divyagurnani09/why-fast-feedback-loops-accelerate-engineering-growth-f08643bf2514?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/f08643bf2514</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Fri, 16 May 2025 17:25:27 GMT</pubDate>
            <atom:updated>2025-05-16T17:25:27.732Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>99% of the top software engineers I’ve worked with share one core mindset:</strong></p><blockquote><strong><em>The faster the feedback, the faster the growth.</em></strong></blockquote><h3>🔁 Short feedback loops always outperform:</h3><p>▸ <strong>20-line PRs &gt; 200-line PRs</strong><br> Smaller changes ship quicker, get reviewed faster, and avoid “merge paralysis.”</p><p>▸ <strong>“Push &amp; test” &gt; “Think &amp; overthink”</strong><br> Assumptions are the real bugs. Push early, validate fast.</p><p>▸ <strong>Staging traffic &gt; 100% test coverage</strong><br> Unit tests are useful — but nothing beats seeing real requests hit your service.</p><p>▸ <strong>Quick Slack check-ins &gt; Waiting for syncs</strong><br> Momentum thrives on fast decisions. “Let’s wait for standup” stalls progress.</p><p>▸ <strong>10-minute spike &gt; 3-day planning session</strong><br> You don’t need perfect answers — just early signals to guide the way.</p><p><strong>The best engineers understand this:</strong></p><blockquote><strong><em>Delays in feedback make mistakes more expensive.</em></strong></blockquote><p>Tighten the loop.<br> Learn fast.<br> Improve faster.<br> That’s how you grow.<br> That’s how you win.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f08643bf2514" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top AI Tools for Developers — Code Smarter, Build Faster]]></title>
            <link>https://medium.com/@divyagurnani09/top-ai-tools-for-developers-code-smarter-build-faster-9ef1e1e26a2c?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ef1e1e26a2c</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Wed, 23 Apr 2025 10:33:54 GMT</pubDate>
            <atom:updated>2025-04-23T10:33:54.791Z</atom:updated>
            <content:encoded><![CDATA[<h3>Top AI Tools for Developers — Code Smarter, Build Faster</h3><h3>🧠 <strong>Code Generation &amp; Assistance</strong></h3><p><strong>GitHub Copilot</strong> — AI pair programmer that autocompletes code and suggests functions.<br><strong>CodeWhisperer (Amazon)</strong> — Context-aware code suggestions, particularly good for AWS ecosystem.<br><strong>Tabnine</strong> — AI assistant for code autocompletion across multiple languages.<br><strong>Cursor</strong> — AI-powered code editor built on VS Code with a chat-first experience.<br><strong>CodiumAI</strong> — Helps generate meaningful tests for your code using AI.</p><h3>🔍 Debugging &amp; Code Review</h3><p><strong>Sourcery</strong> — AI for Python code improvements and refactoring suggestions.<br><strong>DeepCode (by Snyk)</strong> — Uses AI to detect vulnerabilities and bugs in codebases.<br><strong>CodeScene</strong> — Provides predictive analytics on code health and hotspots.</p><h3>🧾 Documentation &amp; Code Explanation</h3><p><strong>ExplainDev</strong> — Explains code snippets in plain English, great for onboarding.<br><strong>Mintlify</strong> — Auto-generates beautiful and updated documentation for your APIs.</p><h3>🧠 AI/ML Development Platforms</h3><p><strong>Kite for Data Science</strong> — Code completions focused on data science workflows.<br><strong>Replit Ghostwriter</strong> — AI pair programmer in Replit, great for learning and fast prototyping.<br><strong>Weights &amp; Biases</strong> — Tooling for tracking ML experiments and model performance.</p><h3>🏗️ DevOps &amp; CI/CD</h3><p><strong>Harness</strong> — AI/ML-powered CI/CD and feature flag management.<br><strong>Jenkins with AI plugins</strong> — Enhanced with ML models for smart pipeline decisions.<br><strong>Ansible Lightspeed (by IBM &amp; Red Hat)</strong> — AI-assisted infrastructure-as-code creation.</p><p>By leveraging these AI tools, software developers can significantly enhance their productivity, improve code quality, and streamline their development workflows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ef1e1e26a2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ The Future of AI is Agentic]]></title>
            <link>https://medium.com/@divyagurnani09/the-future-of-ai-is-agentic-3744bf0ead64?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/3744bf0ead64</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Sun, 13 Apr 2025 06:52:26 GMT</pubDate>
            <atom:updated>2025-04-13T06:52:26.317Z</atom:updated>
            <content:encoded><![CDATA[<p>We’re entering the age where AI won’t just <strong>respond</strong> — it will <strong>reason, plan, and act.</strong></p><h3>🔍 What is an AI Agent?</h3><p>An <strong>AI agent</strong> is a system designed to:</p><ol><li>Reason through complex problems.</li><li>Create actionable plans.</li><li>Execute tasks using external tools and APIs.</li><li>Think of it as a digital teammate with memory, initiative, and autonomy.</li></ol><h3>🧠 Core Components of AI Agents</h3><ol><li><strong>Agent Core: </strong>The brain — integrates memory, planning, and tool usage.</li><li><strong>Memory Module: </strong>Stores knowledge and context over time — essential for continuity.</li><li><strong>Tool Suite: </strong>Access to APIs, databases, browsers, code runners, etc. to <em>do</em> things.</li><li><strong>Planning Module: </strong>Strategically analyzes tasks and develops step-by-step solutions.</li></ol><h3>💡 What Can Agents Do?</h3><ol><li><strong>Advanced Problem Solving</strong><br>From coding to research, scheduling to decision-making — agents are proactive.</li><li><strong>Self-Reflection and Iteration</strong><br>Agents can critique their own work and improve through internal feedback loops.</li><li><strong>Autonomous Tool Use</strong><br>Whether it’s querying a search engine, running unit tests, or using spreadsheets — agents get it done.</li><li><strong>Multi-Agent Collaboration</strong><br> Think “one agent writes, another critiques, another executes.”<br> This teamwork leads to <em>next-level</em> outputs.</li></ol><h3>⚠️ Why Aren’t We There Yet?</h3><p>Most companies are still embracing <strong>RAG</strong> — it’s reliable, safe, and deployable <em>today.</em><br>But <strong>AI Agents are the future</strong> — and it’s coming fast.</p><h3>🧭 What’s Next?</h3><p>At the current pace, expect to see:</p><ul><li>Agents managing projects</li><li>Running entire workflows</li><li>Interacting with humans <em>and</em> other agents across domains like software engineering, operations, customer support, and beyond.</li></ul><blockquote><strong><em>We’re not just building smarter chatbots — we’re crafting autonomous digital workers.</em></strong><em><br> The age of agentic AI is just beginning.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3744bf0ead64" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When AI Is Truly Necessary: Solving Problems Beyond Traditional Computing]]></title>
            <link>https://medium.com/@divyagurnani09/when-ai-is-truly-necessary-solving-problems-beyond-traditional-computing-d1d769bfe596?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1d769bfe596</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Thu, 10 Apr 2025 05:23:01 GMT</pubDate>
            <atom:updated>2025-04-10T05:23:01.259Z</atom:updated>
            <content:encoded><![CDATA[<p>Artificial Intelligence (AI) is often hyped as the solution to all problems, but not every task requires it. Many systems can be built faster, cheaper, and more reliably using traditional programming techniques. However, there exists a class of problems where AI isn’t just useful — it’s essential. These are problems characterized by complexity, ambiguity, or scale beyond the reach of rule-based logic. This essay explores the types of problems where AI is not a luxury but a necessity.</p><h3>1. Understanding Human Language</h3><p>Human language is inherently messy, ambiguous, and context-dependent. Traditional programming falls short when trying to parse intent, sarcasm, or slang. AI models, particularly in natural language processing (NLP), are uniquely suited to this domain. Tasks such as sentiment analysis, machine translation, document summarization, and conversational AI require models that can learn from vast and nuanced examples. Without AI, such systems would require an unmanageable number of hard-coded rules, quickly becoming inflexible and brittle.</p><h3>2. Interpreting Visual Information</h3><p>Computer vision is another domain where AI shines. From recognizing faces to diagnosing tumors in medical imaging, visual recognition tasks depend on subtle variations that can’t be captured with simple logic. Traditional image processing techniques struggle with noise, perspective changes, or occlusions. Deep learning, particularly convolutional neural networks (CNNs), enables systems to generalize from large datasets and adapt to real-world unpredictability. In applications like autonomous driving, real-time image analysis through AI is not just useful — it’s critical.</p><h3>3. Making Predictions in Complex Systems</h3><p>Many real-world environments are dynamic, chaotic, or high-dimensional. Predicting outcomes in such systems — be it weather patterns, stock market fluctuations, or consumer behavior — is nearly impossible using basic statistical models alone. Machine learning excels at finding hidden patterns in large datasets, offering the ability to forecast and adapt. These predictive capabilities are now central to sectors like logistics, finance, healthcare, and energy.</p><h3>4. Learning and Adapting in Real-Time</h3><p>Autonomous agents, such as robots, drones, and game-playing AIs, must operate in environments that are constantly changing. Rule-based automation breaks down in unfamiliar situations. AI allows these agents to learn from their interactions with the environment, adapt their strategies, and improve over time. Reinforcement learning, for example, has enabled breakthroughs in robotics, personalized tutoring systems, and even protein folding.</p><h3>5. Detecting Rare or Subtle Events</h3><p>Anomaly detection is crucial in areas like fraud prevention, cybersecurity, and predictive maintenance. These tasks involve identifying rare but important patterns in vast streams of data — a needle in a haystack problem. AI, particularly unsupervised learning models, can detect subtle deviations from “normal” behavior far better than manual thresholds or heuristics, which often fail in dynamic environments.</p><h3>6. Creating Original Content</h3><p>Traditional software can manipulate data, but it cannot create genuinely new content. AI has introduced the ability to generate text, music, images, and video that can rival human-made work. Generative models, such as GPT or DALL·E, use large datasets to learn not only patterns but creative expression. While not perfect, they represent a fundamental shift in how machines can contribute to art, design, and storytelling — tasks that were once thought to be uniquely human.</p><h3>Conclusion</h3><p>AI is not a hammer for every nail. But in domains where ambiguity, complexity, and variability reign, AI is the only tool that works. Problems involving language, vision, prediction, creativity, and real-time adaptation fundamentally require models that can learn, generalize, and improve — things traditional code simply cannot do. Understanding where AI is truly necessary helps us cut through the hype and focus innovation where it’s most needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1d769bfe596" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning to Debug Is More Important Than Learning to Code]]></title>
            <link>https://medium.com/@divyagurnani09/learning-to-debug-is-more-important-than-learning-to-code-c38fbfd52911?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/c38fbfd52911</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 18:28:21 GMT</pubDate>
            <atom:updated>2025-03-31T18:28:21.067Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Art of Debugging: A Critical Skill for Every Programmer</strong></p><p>When you first start coding, it’s easy to believe that writing flawless code is the ultimate goal. However, in reality, debugging — the process of identifying and fixing errors — is where real growth happens. The best programmers aren’t just skilled at writing code; they excel at troubleshooting, analyzing, and resolving issues when things don’t work as expected.</p><h3>Why Debugging Is More Valuable Than Just Writing Code</h3><h4>Enhances Problem-Solving Skills</h4><p>Debugging is much more than fixing syntax errors; it’s about approaching problems logically and methodically. It encourages breaking down complex issues into smaller, manageable parts, asking the right questions, and testing various solutions. This structured approach strengthens your problem-solving abilities and equips you with the analytical skills needed to tackle any coding challenge.</p><h4>Builds Resilience</h4><p>Programming can be frustrating, especially when things don’t go as planned. Debugging teaches persistence. The process involves trial and error, learning from mistakes, and pushing forward even when the first solution fails. Over time, this fosters resilience, patience, and determination — traits that are essential for any successful developer.</p><h4>Deepens Understanding of Code</h4><p>Encountering bugs forces you to dive deep into your program’s logic. Debugging provides valuable insights into how code actually functions, rather than just how it should work. This hands-on experience is crucial for mastering programming and developing a solid understanding of underlying concepts.</p><h4>A Core Part of the Development Process</h4><p>Even experienced developers spend a significant portion of their time debugging. As programs become more complex, the likelihood of encountering bugs increases. Mastering debugging techniques improves efficiency, saves time, and reduces frustration — ultimately making you a more productive programmer.</p><h4>Leads to Better Coding Practices</h4><p>Frequent debugging naturally encourages cleaner coding habits. By identifying and fixing errors regularly, you become more mindful of writing readable and maintainable code. Over time, this results in fewer mistakes and a stronger ability to anticipate and prevent potential issues.</p><h3>How to Improve Your Debugging Skills</h3><ul><li><strong>Break Down the Problem:</strong> Isolate sections of code and test them individually to pinpoint where the issue lies.</li><li><strong>Use Print Statements:</strong> Printing variable values and execution flows can provide valuable insights into how your program is functioning.</li><li><strong>Understand Stack Traces:</strong> Error messages contain critical information. Take the time to read and interpret stack traces to locate the source of issues.</li><li><strong>Learn from Mistakes:</strong> Every bug you fix is an opportunity to grow. Reflect on what went wrong and how to avoid similar issues in the future.</li></ul><h3>Debugging: A Detective’s Approach</h3><p>Think of debugging like detective work. Just as a detective examines clues and pieces together information to solve a case, a programmer investigates code to uncover the source of an error. The key to success is persistence — sometimes the root cause is a small, overlooked detail. By systematically testing hypotheses and verifying assumptions, you can track down and resolve bugs efficiently.</p><h3>Conclusion: Debugging Is the Path to Mastery</h3><p>Writing code is important, but debugging is what separates beginners from seasoned programmers. The process of debugging sharpens problem-solving skills, deepens understanding, and prepares you for more complex challenges. Instead of seeing bugs as obstacles, embrace them as valuable learning experiences.</p><p><strong>Key Takeaway for Beginners:</strong> Don’t fear bugs — learn from them. The best programmers aren’t those who never make mistakes, but those who know how to find and fix them efficiently.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c38fbfd52911" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQS vs SNS vs EventBridge vs Kinesis]]></title>
            <link>https://medium.com/@divyagurnani09/sqs-vs-sns-vs-eventbridge-vs-kinesis-ab06b2049676?source=rss-ffed987e3563------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab06b2049676</guid>
            <dc:creator><![CDATA[Divyagurnani]]></dc:creator>
            <pubDate>Tue, 25 Mar 2025 09:27:31 GMT</pubDate>
            <atom:updated>2025-03-25T09:27:31.880Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>1. AWS SQS: </strong><a href="https://aws.amazon.com/sqs/">Amazon Simple Queue Service (SQS)</a> is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/0*h4BXZYqMUalGlKre.png" /><figcaption>AWS SQS</figcaption></figure><p><strong>2. AWS SNS: </strong>A fully managed publish/subscribe messaging service using topics to send messages to multiple subscribers or endpoints (such as email, Lambda, SQS, and so on). <a href="https://aws.amazon.com/sns/">Amazon Simple Notification Service (Amazon SNS)</a> is a fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication. The A2A pub/sub functionality provides topics for high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/0*Dr_nQjDpvHsoFlNw.png" /><figcaption>AWS SNS</figcaption></figure><p><strong>3. AWS EventBridge: </strong>It is a serverless event bus that facilitates the routing of events between AWS services, and applications based on specific routing rules and filters. <a href="https://aws.amazon.com/eventbridge/">Amazon EventBridge</a> is a serverless event bus that makes it easier to build event-driven applications at scale using events generated from your applications, integrated Software-as-a-Service (SaaS) applications, and AWS services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/0*R1QidqlVyANaumwV.png" /><figcaption>AWS EventBridge</figcaption></figure><p><strong>4. AWS Kinesis Data Streams: </strong>A real-time data streaming service that captures, processes, and analyzes data in near real-time.<br><a href="https://aws.amazon.com/kinesis/">Amazon Kinesis</a> makes it easy to collect, process, and analyze real-time, streaming data so you can get timely insights and react quickly to new information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O8d_aodVjxSMKDEr.png" /><figcaption>AWS Kinesis Data Streams</figcaption></figure><p><strong>How can you choose which service to use?<br></strong>Here are some basic tips and examples:<br>For massive amounts of events like a clickstream from an application use Kinesis Data Stream<br>For events processed by a single consumer like an image processing job, SQS is a better choice.<br>For sending messages and notifications, SNS is a great choice.<br>For system events such as a new user registration that multiple services must receive and react to, use EventBridge.</p><p><strong>In short:</strong></p><ul><li>Need message durability &amp; guaranteed delivery? → SQS</li><li>Need to send messages to multiple consumers? → SNS</li><li>Building an event-driven system across AWS services? → EventBridge</li><li>Processing real-time, high-volume data streams? → Kinesis</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*MEmOaXKD9ftDsgDA" /></figure><p><strong>Summary:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dy-oBTm5vkzYUMyJ7Ca7sA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab06b2049676" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>