<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rasesh Nagendra</title>
    <description>The latest articles on DEV Community by Rasesh Nagendra (@rasesh).</description>
    <link>https://dev.to/rasesh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4259009%2F2b974f8d-96d5-4485-9801-db320005caa3.jpg</url>
      <title>DEV Community: Rasesh Nagendra</title>
      <link>https://dev.to/rasesh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rasesh"/>
    <language>en</language>
    <item>
      <title>Microservices VS Event-driven architecture</title>
      <dc:creator>Rasesh Nagendra</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:13:09 +0000</pubDate>
      <link>https://dev.to/rasesh/microservices-vs-event-driven-architecture-4a65</link>
      <guid>https://dev.to/rasesh/microservices-vs-event-driven-architecture-4a65</guid>
      <description>&lt;p&gt;Everyone wants to build microservices until they accidentally build a "Distributed Monolith." &lt;/p&gt;

&lt;p&gt;When I was building a Patient Management System, I split the backend into separate services: Auth, Patient Records, Billing, and Notifications.&lt;/p&gt;

&lt;p&gt;My first instinct was to have them talk to each other via standard REST APIs. But I quickly realized a problem: if the Billing service went down, patient registration would fail too. That’s not microservices; that’s a distributed monolith.&lt;/p&gt;

&lt;p&gt;How I fixed it? Event-Driven Architecture. &lt;/p&gt;

&lt;p&gt;Instead of synchronous REST calls, I introduced Apache Kafka. When a patient successfully registers, the Patient Service just publishes a "PatientRegistered" event and moves on. The Billing and Notification services consume that event at their own pace.&lt;/p&gt;

&lt;p&gt;The result? &lt;br&gt;
Total decoupling. &lt;br&gt;
If the notification service crashes, registrations still succeed.&lt;br&gt;
Much better fault tolerance.&lt;/p&gt;

&lt;p&gt;The biggest lesson I've learned as a backend engineer: Microservices aren't about how many services you can build; they are about how well your services can survive without each other.&lt;/p&gt;

&lt;p&gt;Backend devs, do you prefer synchronous REST for inter-service communication, or do you lean towards message brokers like Kafka? Let me know below. &lt;/p&gt;

</description>
      <category>backenddevelopment</category>
      <category>microservices</category>
      <category>systemdesign</category>
    </item>
  </channel>
</rss>
