<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reliability on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/reliability/</link><description>Recent content in Reliability 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/reliability/index.xml" rel="self" type="application/rss+xml"/><item><title>Circuit Breakers and Resilience with Resilience4j</title><link>https://samirsahoo.github.io/design-patterns-hub/microservices/reliability/circuit-breakers-and-resilience4j/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/microservices/reliability/circuit-breakers-and-resilience4j/</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;&lt;strong&gt;Resilience patterns&lt;/strong&gt; stop one slow or failing dependency from taking down the services that call it:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;timeouts&lt;/strong&gt; bound waiting&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;retries&lt;/strong&gt; absorb transient errors&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;circuit breakers&lt;/strong&gt; fail fast while a dependency is unhealthy&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;bulkheads&lt;/strong&gt; isolate resources&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;rate limiters&lt;/strong&gt; control load.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Resilience4j&lt;/strong&gt; is the standard Java library for these patterns, integrated with Spring Boot.&lt;/p&gt;</description></item><item><title>Reliability, Scalability and Maintainability</title><link>https://samirsahoo.github.io/design-patterns-hub/data-systems/reliability-scalability-maintainability/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/data-systems/reliability-scalability-maintainability/</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;Applications today are usually &lt;strong&gt;data-intensive&lt;/strong&gt; rather than compute-intensive: the hard problems are the amount of data, its complexity and how fast it changes. Such applications are assembled from standard building blocks — databases, caches, search indexes, stream processors, batch jobs — and the application code that glues them together.&lt;/p&gt;</description></item><item><title>Idempotency: Safe Retries for APIs and Consumers</title><link>https://samirsahoo.github.io/design-patterns-hub/microservices/reliability/idempotency/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/microservices/reliability/idempotency/</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;An operation is &lt;strong&gt;idempotent&lt;/strong&gt; if performing it several times has the same effect as performing it once. Idempotency is what makes &lt;strong&gt;retries safe&lt;/strong&gt;: and in distributed systems retries are unavoidable, because a timeout never tells you whether the operation happened.&lt;/p&gt;</description></item><item><title>Deployment Strategies: Rolling, Blue-Green, Canary and Feature Flags</title><link>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/deployment-strategies/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/deployment-strategies/</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;Deploying or upgrading services is risky: most outages are caused by changes. A &lt;strong&gt;deployment strategy&lt;/strong&gt; decides how a new version replaces the old one, aiming for &lt;strong&gt;no downtime&lt;/strong&gt;, &lt;strong&gt;limited blast radius&lt;/strong&gt; if the new version is bad, and &lt;strong&gt;fast rollback&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>