<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Consensus on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/consensus/</link><description>Recent content in Consensus on Java &amp; Software Architecture Knowledge Hub</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright><atom:link href="https://samirsahoo.github.io/design-patterns-hub/tags/consensus/index.xml" rel="self" type="application/rss+xml"/><item><title>Consistency and Consensus: Linearizability, Ordering, 2PC and Raft</title><link>https://samirsahoo.github.io/design-patterns-hub/data-systems/consistency-and-consensus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/data-systems/consistency-and-consensus/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Given that networks, clocks and nodes are unreliable (see &lt;a href="https://samirsahoo.github.io/design-patterns-hub/data-systems/distributed-systems-faults/"&gt;The Trouble with Distributed Systems&lt;/a&gt;), how do we build systems that still behave predictably? The approach is to find &lt;strong&gt;general-purpose abstractions with useful guarantees&lt;/strong&gt;, implement them once, carefully, and let applications rely on them — just as transactions hide crashes and concurrency.&lt;/p&gt;</description></item></channel></rss>