<?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: Ravi Mourya</title>
    <description>The latest articles on DEV Community by Ravi Mourya (@ravi3541).</description>
    <link>https://dev.to/ravi3541</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1282566%2F1d5d2707-cb3d-4fec-8135-c9c59362166a.png</url>
      <title>DEV Community: Ravi Mourya</title>
      <link>https://dev.to/ravi3541</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ravi3541"/>
    <language>en</language>
    <item>
      <title>🖥️ Understanding the Raft Consensus Algorithm: A Comprehensive Guide 📚</title>
      <dc:creator>Ravi Mourya</dc:creator>
      <pubDate>Sun, 21 Jul 2024 05:56:04 +0000</pubDate>
      <link>https://dev.to/ravi3541/understanding-the-raft-consensus-algorithm-a-comprehensive-guide-2epo</link>
      <guid>https://dev.to/ravi3541/understanding-the-raft-consensus-algorithm-a-comprehensive-guide-2epo</guid>
      <description>&lt;p&gt;🖥️ Understanding the Raft Consensus Algorithm: A Comprehensive Guide 📚&lt;/p&gt;

&lt;p&gt;Ensuring consistency across distributed systems, even amidst failures, is vital. The Raft Consensus Algorithm, introduced by Diego Ongaro and John Ousterhout in 2013, simplifies this process with its clear and understandable approach. 🌐&lt;/p&gt;

&lt;p&gt;Key Points:&lt;/p&gt;

&lt;p&gt;🔸Consensus Protocols: Ensures agreement on a single value or state among servers.&lt;/p&gt;

&lt;p&gt;🔸Raft Structure: Involves Leaders, Followers, and Candidates.&lt;/p&gt;

&lt;p&gt;🔸Terms and Logs: Uses terms to coordinate actions and maintain consistency.&lt;/p&gt;

&lt;p&gt;🔸RPCs: Communication through RequestVotes and AppendEntries RPCs.&lt;/p&gt;

&lt;p&gt;🔸Leader Election: A defined process to maintain system consistency.&lt;/p&gt;

&lt;p&gt;🔸Log Replication: Ensures all nodes have identical logs for consistency.&lt;/p&gt;

&lt;p&gt;🔸Advantages of Raft:&lt;br&gt;
Easy to understand and implement.&lt;br&gt;
Fault-tolerant and ensures strong consistency.&lt;br&gt;
Modular approach.&lt;/p&gt;

&lt;p&gt;🔸Limitations:&lt;br&gt;
Potential leader bottleneck.&lt;br&gt;
No Byzantine Fault Tolerance.&lt;br&gt;
Complexity in managing membership changes.&lt;/p&gt;

&lt;p&gt;Check out my related blog on Apache Kafka to see how Raft is utilized in Kafka's new KRaft architecture! 🔗&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.mindbowser.com/raft-consensus-algorithm-explained/" rel="noopener noreferrer"&gt;Understanding the Raft Consensus Algorithm: A Comprehensive Guide&lt;/a&gt;&lt;/p&gt;

</description>
      <category>raftconsensus</category>
      <category>distributedsystems</category>
      <category>consensusalgorithm</category>
      <category>masterslaveearchitecture</category>
    </item>
    <item>
      <title>🚀 Apache Kafka Cluster Explained: Core Concepts and Architectures 🌐</title>
      <dc:creator>Ravi Mourya</dc:creator>
      <pubDate>Sun, 21 Jul 2024 05:52:31 +0000</pubDate>
      <link>https://dev.to/ravi3541/apache-kafka-cluster-explained-core-concepts-and-architectures-283f</link>
      <guid>https://dev.to/ravi3541/apache-kafka-cluster-explained-core-concepts-and-architectures-283f</guid>
      <description>&lt;p&gt;🚀 Apache Kafka Cluster Explained: Core Concepts and Architectures 🌐&lt;/p&gt;

&lt;p&gt;In our data-driven world, real-time processing is key! Apache Kafka, an open-source distributed streaming platform, stands out as a leading solution for handling real-time data feeds. This comprehensive guide delves into Kafka's architecture, key terminologies, and solutions to data streaming problems. 📊&lt;/p&gt;

&lt;p&gt;Highlights:&lt;br&gt;
🔸Origins of Kafka: Developed by LinkedIn for scalable messaging, open-sourced in 2011.&lt;/p&gt;

&lt;p&gt;🔸Core Functions: Real-time data processing, scalability, fault tolerance, and decoupling data streams.&lt;/p&gt;

&lt;p&gt;🔸Key Terms: Producers, Consumers, Brokers, Topics, Partitions, Offsets, Consumer Groups, Replication.&lt;/p&gt;

&lt;p&gt;🔸Architecture: Traditional setup with Zookeeper and the new KRaft architecture.&lt;/p&gt;

&lt;p&gt;🔸 Kafka with Zookeeper: Manages metadata and broker coordination. &lt;/p&gt;

&lt;p&gt;🔸 KRaft Architecture: Integrated metadata management within Kafka using the Raft protocol, enhancing scalability and performance.&lt;/p&gt;

&lt;p&gt;For a deeper understanding of the Raft protocol used in KRaft architecture, check out my latest post on the Raft Consensus Algorithm 📈 ✨&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.mindbowser.com/kafka-cluster-concepts-architectures-explained/" rel="noopener noreferrer"&gt;Apache Kafka Cluster Explained: Core Concepts and Architectures&lt;/a&gt;&lt;/p&gt;

</description>
      <category>apachekafka</category>
      <category>datastreaming</category>
      <category>techinsights</category>
      <category>realtimedata</category>
    </item>
  </channel>
</rss>
