<?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 Krishnapriya Panicker on Medium]]></title>
        <description><![CDATA[Stories by Krishnapriya Panicker on Medium]]></description>
        <link>https://medium.com/@krishnapriya.panicker?source=rss-df8c53e49c06------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Krishnapriya Panicker on Medium</title>
            <link>https://medium.com/@krishnapriya.panicker?source=rss-df8c53e49c06------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 01:41:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@krishnapriya.panicker/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[The Art of Software Survival: Resilience Testing]]></title>
            <link>https://medium.com/walmartglobaltech/the-art-of-software-survival-resilience-testing-823be820531b?source=rss-df8c53e49c06------2</link>
            <guid isPermaLink="false">https://medium.com/p/823be820531b</guid>
            <category><![CDATA[resiliency]]></category>
            <category><![CDATA[type-of-software-testing]]></category>
            <category><![CDATA[resiliency-experiments]]></category>
            <category><![CDATA[chaosmart]]></category>
            <category><![CDATA[resiliency-testing]]></category>
            <dc:creator><![CDATA[Krishnapriya Panicker]]></dc:creator>
            <pubDate>Wed, 16 Apr 2025 11:33:27 GMT</pubDate>
            <atom:updated>2025-04-16T11:33:27.495Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sVbfvHSZ-LjFdMcP" /><figcaption>Photo by <a href="https://unsplash.com/@nagaranbasaran?utm_source=medium&amp;utm_medium=referral">Nagara Oyodo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>What is Resiliency Testing ?</h3><p><strong>Resilience testing</strong> is a testing method that measures a software system’s ability to manage unexpected or challenging circumstances such as hardware failures, network problems, security breaches, or user errors. This technique evaluates the <strong>system’s robustness</strong>, <strong>fault tolerance</strong>, and how well it can handle deterioration in a controlled and acceptable manner.</p><p><strong>Resilience testing </strong>is similar to throwing your system a surprise party, but instead of cake and balloons, it’s surprised with hardware issues, network problems, security attacks, and user errors so that it can be measured how well your system can handle these surprises without a major malfunction.</p><blockquote><strong>Consider a Scenario </strong>:</blockquote><blockquote><strong>Imagine embarking on a road trip for your vacation when abruptly, your car suffers a puncture or exhausts its gas. How would you tackle such a situation?</strong></blockquote><blockquote>Being adequately prepared for unexpected situations, such as carrying a spare tire and having the necessary tools, along with the knowledge to change a tire, allows you to handle the situation smoothly. This displays your resilience during a road trip, showing your ability to effectively tackle unexpected issues.</blockquote><blockquote>Similarly , the application should also be able to handle the unforeseen challenges.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZodkdfLS0gm333B3ZNCqg.jpeg" /><figcaption>Image is generated using Adobe Firefly</figcaption></figure><h3>Importance of resiliency testing :</h3><ol><li><strong>Ensures system stability<br></strong>Evaluates how a system operates under various circumstances, including high stress or large data loads. It ensures the system stays running and stable, even in unfavorable conditions. Much like a gym instructor pushing for endurance, it tests the system’s ability to withstand pressure without collapsing.</li><li><strong>Reduces downtime<br></strong>Detects possible system failures or vulnerabilities, reducing the risk of downtime. This is crucial for businesses needing their systems to be consistently operational.</li><li><strong>Improves user experience<br></strong>Improves and also ensures the maintenance of a top-notch user experience by reducing disruptions and latency. Think of your system as a premium restaurant, where interruptions equate to serving cold soup, and sluggish response is like having a slow waiter.</li><li><strong>Saves money<br></strong>System breakdowns can cause considerable financial damage. So this acts as your system’s financial advisor, spotting potential expensive glitches before they cause problems, thereby offering cost savings in the long term.</li><li><strong>Protects reputation<br></strong>Frequent system failures or downtime can harm a company’s reputation.It helps prevent these issues and protects the company’s image.</li><li><strong>Supports business continuity</strong>: <br>In case of a disaster or unexpected event, a resilient system is able to recover quickly and continue operating, supporting business continuity.</li></ol><blockquote>In summary, resilience testing is essential, not optional, in the microservices landscape. It forms a key part of the development and deployment processes, ensuring the dependability, strength, and overall excellence of your system.</blockquote><h3><strong>Types of Resiliency testing</strong> :</h3><figure><img alt="Types of Resiliency Testing" src="https://cdn-images-1.medium.com/max/661/1*yLfqKwgGH9tjFsfhp8pK-g.jpeg" /><figcaption>Types of Resiliency Testing</figcaption></figure><ol><li><strong>Failover Testing</strong><br>Evaluates the system’s capability to automatically switch to a backup during failure for minimal service disruption.</li><li><strong>Recovery Testing</strong><br>Places the system in failure mode to evaluate its recovery speed and efficiency.</li><li><strong>Load Testing<br></strong>Simulates high user load or data volume to understand the application’s maximum capacity before performance deterioration.</li><li><strong>Stress Testing<br></strong>Overloads the system beyond its capacity to identify its breaking point and its ability to recover post-stress.</li><li><strong>Chaos Testing</strong>: <br>Initiating random system failures to preemptively identify possible weaknesses under unforeseen real-world situations.</li></ol><h3><strong>Tools used for resiliency testing of applications</strong>:</h3><blockquote><strong>1. Chaos Monkey<br>2. Gremlin<br>3. Istio<br>4. Envoy<br>5. JMeter<br>6. Gatling</strong></blockquote><p><strong>ChaosMart : </strong>ChaosMart uses chaos engineering principles to improve your resiliency by stimulating outages to find weaknesses in your system.</p><h3>Experiments covered in ChaosMart for resiliency testing :</h3><h3>CPU LOAD EXPERIMENT</h3><p><strong>Application:</strong> The CPU load experiment is used to simulate the CPU load on the host. By preempting CPU resources, simulate the CPU under a specific load, and verify its impact on application capabilities such as service quality, monitoring and alarming, traffic scheduling, and elastic scaling.</p><p><strong>Purpose</strong>: Stress test system resilience and performance</p><p><strong>Scope</strong>: Container level</p><p><strong>Target resource</strong>: CPU</p><p><strong>Method</strong>: Load CPU to 80% capacity across all pods</p><p><strong>Timeout</strong>: 180 seconds</p><p><strong>Significance:</strong> Helps ensure system can handle high loads and react appropriately under stress conditions</p><h3>POD-FAILOUT EXPERIMENT</h3><p><strong>Application: </strong>It will patch your deployment to 0 pods in given clusterID. New pods won’t come up until you trigger Failback experiment. <em>Expectation</em> is that your traffic moves to the backup region.</p><p><strong>Purpose</strong>: Simulate situation where all pods fail at once</p><p><strong>Scope</strong>: Pod level</p><p><strong>Target resource</strong>: Pod</p><p><strong>Method:</strong> Scale number of pods to zero replicas, effectively shutting down all pods</p><p><strong>Timeout: </strong>180 seconds</p><p><strong>Significance:</strong> Ensures system can handle scenario of all pods failing at once, identifies and fixes potential issues or bottlenecks</p><h3>POD-FAILBACK EXPERIMENT</h3><p><strong>Application: </strong>It will patch your deployment to the same number of pods which were running when you created the PR for the experiments. <em>Expectation</em> is the region should start serving the traffic normally.</p><p><strong>Purpose:</strong> Simulate situation where all pods are scaled back up after a failure</p><p><strong>Scope:</strong> Pod level</p><p><strong>Target resource:</strong> Pod</p><p><strong>Method: </strong>Scale all pods to two replicas, effectively bringing up all pods to have three replicas each</p><p><strong>Timeout:</strong> 180 seconds</p><p><strong>Significance:</strong> Ensures system can smoothly scale back up after a failure, identifies and fixes potential issues or bottlenecks during the recovery process</p><h3>MEMORY-LOAD EXPERIMENT</h3><p><strong>Application: </strong>The Memory load experiment is used to simulate the Memory load on the host. By preempting memory resources, simulate the memory under a specific load, and verify its impact on application capabilities such as service quality, monitoring and alarming, traffic scheduling, and elastic scaling.</p><p><strong>Purpose:</strong> Stress test system resilience and performance regarding memory utilisation</p><p><strong>Scope:</strong> Container level</p><p><strong>Target resource:</strong> Memory</p><p><strong>Method:</strong> Load memory to 80% capacity across all pods</p><p><strong>Timeout:</strong> 180 seconds</p><p><strong>Significance:</strong> Ensures system can handle high memory loads, identifies and fixes potential issues or bottlenecks under stress conditions</p><h3>POD-DELETE EXPERIMENT</h3><p><strong>Application: </strong>It will delete the specified amount of pods of the application in given clusterID. According to WCNP configurations, new pods should come up immediately.</p><p><strong>Purpose:</strong> Simulate situation where all pods are deleted</p><p><strong>Scope:</strong> Pod level</p><p><strong>Target resource:</strong> Pod</p><p><strong>Method:</strong> Delete all pods</p><p><strong>Timeout:</strong> 180 seconds</p><p><strong>Significance:</strong> Ensures system can handle scenario of all pods getting deleted at once, identifies and fixes potential issues or bottlenecks under such conditions.</p><p><strong>Experiment results obtained on the grafana panel:</strong></p><figure><img alt="Experiment results of the above experiments" src="https://cdn-images-1.medium.com/max/1024/1*9wh5ChEQeXLzo-swRCxcNA.png" /><figcaption>Experiment results</figcaption></figure><p><strong>Conclusion</strong> :</p><p>Resilience testing is fundamental in constructing and sustaining strong, reliable microservices. As we deal with the intricacies of microservices architecture, this thorough testing assures our systems can endure tough situations and bounce back efficiently from setbacks.</p><p>In the rapidly changing environment of microservices, resilience testing isn’t a mere option — it’s a necessity. As we persistently innovate and adjust to the constantly changing tech landscape, resilience testing remains crucial in providing a smooth, high-quality user experience.</p><blockquote>Why do programmers always mix up Christmas and Halloween?</blockquote><blockquote>Because Oct 31 == Dec 25!</blockquote><blockquote>Just like how this joke can confuse non-programmers, a lack of resilience testing can leave our microservices in a state of confusion. So, let’s keep things clear with regular and thorough resilience testing!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDSnrKfppedoskYYIrUbdw.png" /><figcaption>Image is generated using Adobe Firefly</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=823be820531b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/walmartglobaltech/the-art-of-software-survival-resilience-testing-823be820531b">The Art of Software Survival: Resilience Testing</a> was originally published in <a href="https://medium.com/walmartglobaltech">Walmart Global Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>