Application Resilience: What It Is and How to Build It
Application resilience is the ability of an application to keep its core features working when a part of it fails, and to recover quickly afterward. Failures are normal in modern systems.
A dependency times out, a deploy goes wrong or a cloud zone drops. A resilient app absorbs these events, so users can still sign in, search and pay. Building it takes two things.
The first is design patterns that contain failure. The second is proof that those patterns work, which comes from application performance monitoring, service level objectives (SLOs) and regular failure tests.
In this blog, you will:
Learn how application resilience differs from availability, fault tolerance and disaster recovery.
Match common production failures to the patterns that contain them, and build those patterns step by step.
Measure resilience with error budgets and burn rate, and test it with controlled failure experiments.
What Is Application Resilience?
Application resilience, also called application resiliency, describes how well an app handles failure. A resilient app keeps its most important user journeys working during a fault, even if some features slow down or switch off. It also returns to normal quickly once the fault clears.
The term often gets mixed up with related ideas. Each one answers a different question, and each needs a different kind of proof:
Concept | Question It Answers | What Proves It |
Availability | Is the app up right now? | Uptime percentage and SLO achievement |
Reliability | Does the app work correctly over time? | Error rate and mean time between failures |
Fault tolerance | Does the app keep running when one part fails? | Failover tests with no user impact |
Disaster recovery | Can you restore the app after a major loss? | Recovery time and data loss targets met in drills |
Resilience | Do key user journeys survive failure and recover fast? | SLOs held during failure tests, plus low recovery time |
Resilience is the widest of these ideas. It includes fault tolerance and recovery, but it judges both by what users experience. For that reason, we measure it against user journeys and not against single servers.
What Breaks Applications in Production?
Most outages come from a short list of failure modes. Each one has a known pattern that keeps it from spreading. The table below maps them side by side, so you can check which patterns your app already has.

Failure Mode | Example | Pattern That Contains It |
Slow or failing dependency | A recommendation service hangs and holds checkout threads | Timeouts and a circuit breaker |
Traffic spike | A sale doubles requests in a few minutes | Autoscaling and load shedding |
Bad deploy | A new release raises the error rate on one endpoint | Canary release and automatic rollback |
Zone or region loss | A cloud availability zone goes offline | Redundancy across zones and tested failover |
Retry storm | Every client retries at once and floods a recovering service | Retries with exponential backoff and jitter |
Data corruption or loss | A faulty migration damages records | Backups with a tested restore time |
Two rows in this table cause the most trouble in our experience. A slow dependency is worse than a dead one, because callers wait and run out of threads. Retry storms turn a short blip into a long outage, because the retries arrive just as the service tries to recover.
How to Build a Resilient Application
Patterns only help when they protect the right things. These five steps start with what users need and work down to the technical controls.
Step 1: Map Critical User Journeys and Their Dependencies
List the three to five journeys that matter most, such as sign-in, search and checkout. For each one, write down every service, database and third-party API it calls.
Distributed tracing makes this faster, because each trace shows the real call path of a request. We find that most teams discover at least one hidden dependency this way.
Step 2: Contain Failures at Every Service Boundary
Every call between services needs limits, so one slow part can't drag down the rest. We recommend these controls on each boundary:
Timeouts: Set a timeout on every outbound call. Base it on the dependency's normal response time, with some headroom.
Circuit breakers: Stop calling a dependency after repeated failures. Send a few test calls later to see whether it has recovered.
Bulkheads: Give each dependency its own thread or connection pool. A hang in one pool then leaves the others free.
Retries with backoff: Retry only safe operations, a small number of times. Add a growing delay and some randomness, called jitter, between attempts.
Step 3: Plan How Features Degrade
We advise teams to decide in advance what the app should do when a non-critical part fails. A product page can hide recommendations and still sell. A dashboard can show cached data with a note that it is a few minutes old.
We suggest writing these fallbacks down for each journey from Step 1, so developers build them on purpose.
Step 4: Remove Single Points of Failure
We suggest running at least two instances of every service in a critical journey, spread across zones. Put a load balancer in front of them, with health checks that remove failed instances.
Apply the same thinking to the layers below the app. Network redundancy, database replicas and a second DNS provider all close gaps that app code can't.
Step 5: Automate Recovery
Fast recovery depends on how quickly a fault is detected and acted on. Health checks should test real work, such as a database query, and not only return a static OK.
Known fixes, such as restarting a stuck worker or clearing a full disk, can run on their own through runbook automation. Keep a person in the loop for changes that are hard to undo, such as a database failover.
How Do You Measure Application Resilience?
You measure application resilience by tracking how much failure users experience against a target, and how fast the app recovers.
SLOs set the target, while error budgets and burn rate show how much room is left. Recovery metrics show how quickly the team and the system bounce back.
These are the core metrics, with the formulas our SLO module uses:
Metric | Formula | What It Tells You |
SLO achieved (%) | (Total time minus violation time) divided by total time, times 100 | How close the service is to its target |
Error budget left (%) | (Allowed violation time minus actual violation time) divided by allowed violation time, times 100 | How much safe failure time remains |
Burn rate | (Violation time so far divided by time elapsed) divided by (total error budget divided by window length) | How fast the budget is being used |
MTTR | Total downtime divided by the number of incidents | Average time to recover from each incident |
MTBF | (Total time minus downtime) divided by the number of incidents | Average run time between failures |
We treat burn rate as the most useful of the five for resilience work. A burn rate of 1 means the budget will run out exactly at the end of the window.
Anything above 1 means it will run out early. The SRE error budget model uses this signal to decide when to pause releases and fix stability.
Worked Example: Burn Rate on a Checkout API
We use a fictional checkout API to show how the numbers fit together. It has a monthly availability SLO of 99.9%:
A 30-day window has 43,200 minutes. The error budget is 0.1% of that, or 43.2 minutes.
Ten days in, the API has been in violation for 20 minutes. Ten days is 14,400 minutes.
SLO achieved so far is (14,400 minus 20) divided by 14,400, which is about 99.86%.
Error budget left is (43.2 minus 20) divided by 43.2, which is about 54%.
Burn rate is (20 divided by 14,400) divided by (43.2 divided by 43,200). That works out to about 1.4.
At a burn rate of 1.4, the team uses about 2 minutes of budget per day. The budget runs out around day 22, eight days before the window ends.
The SLO still looks healthy at 99.86%, but the burn rate shows the trend early. That gives the team time to slow releases and fix the cause before the target is missed.
Recovery metrics add the other half of the picture. A low mean time between failures means the app fails often. A high MTTR means it takes too long to come back. A resilient app improves on both over time.
How Do You Test Application Resilience?
You test application resilience by causing small, controlled failures and checking whether the app behaves as planned. This practice is called chaos engineering. It turns patterns on a diagram into patterns you know work.
We follow the same loop for every experiment:
State a hypothesis: Write down what should happen, tied to an SLO. For example, checkout response time stays under 800 milliseconds at the 95th percentile.
Keep the blast radius small: Start in staging, or with a small share of production traffic. Agree on a stop condition before you begin.
Inject the failure: Add latency, drop a dependency, stop an instance or fill a disk.
Measure against the SLO: Compare response time, error rate and burn rate with the hypothesis.
Fix and widen: Fix what broke, run the test again and then expand the scope.
A fictional example shows why this matters. A team adds 2 seconds of latency to its recommendation service for 5% of checkout traffic. They expect the timeout and circuit breaker to keep checkout fast.
Instead, the 95th percentile rises to 2.3 seconds. The cause is a client library that retries three times before the timeout counts as a failure.
The team limits retries to one, with backoff, and runs the test again. This time the 95th percentile holds at 610 milliseconds, and the page simply hides recommendations.
Recovery from larger events needs testing too. Restore drills for databases and region failover tests belong in the same schedule as your disaster recovery and business continuity planning.
How to Track Application Resilience in ObserveOps
We built the SLO module in ObserveOps to connect resilience targets with the APM data you already collect. You can set up a resilience view for a key service in four steps.
Step 1: Create an APM Performance SLO
Go to Settings, select Service Level Objectives and click SLO Profile. Click Create SLO Profile, set the SLO Type to Performance and open the APM tab. In the Source field, pick an APM service that is already sending traces. Then add one or more conditions:
Field | What to Enter |
Counter | A trace metric, such as response time, error rate or throughput |
Operator | The comparison, such as less than |
Value | The threshold, such as 300 milliseconds |
Target (%) | The minimum share of time the condition must hold |
Warning (%) | An early alert level, which must be higher than the target |
Frequency | Daily, Weekly, Monthly or Quarterly |
Notify Team | The people or teams to alert when the SLO crosses a threshold |
A Monthly SLO evaluates a 30-day window every hour. A Daily SLO evaluates the current day every 15 minutes.
Step 2: Watch Error Budget and Burn Rate
Open the SLO card to see target, achieved and violation percentages, with a status of OK, Warning or Breached. The drill-down shows error budget left, the burn rate chart, MTTR and MTBF for the service. These views work with error budgets and burn rate analytics to show when a service is using its budget too fast.
Step 3: Exclude Planned Downtime
We recommend a Correction Profile, so planned work doesn't count against the SLO. Categories include Scheduled Deployment, Business Maintenance, Public Holiday and Out of Business Hours. This keeps the burn rate honest during release windows and chaos tests you schedule in advance.
Step 4: Link Alerts to Runbooks
Metric policies can execute runbooks when a value breaks its threshold. A Baseline Alert, for example, learns normal behavior and fires when a metric moves outside it.
Attach a runbook to that alert to restart a stuck process or clear space before users notice. This is the auto-remediation step from the build plan, wired to real signals.
You should know about the limits of this setup:
An SLO shows that users are affected. It doesn't show the root cause, so you still need traces and logs to find it.
A new SLO shows 0% achieved until its first evaluation window completes. A Daily SLO starts collecting at the start of the next day.
After you create an SLO profile, you can edit only the description, tags and Notify Team.
The APM tab appears only when at least one APM service is active and sending trace data.
Common Mistakes That Make Applications Fragile
Many fragile apps already have resilience patterns in place. The patterns just have small gaps. We see these five mistakes most often:
Retries without backoff: Fixed, immediate retries multiply load on a service that already struggles.
Health checks that only ping: A process can answer a ping while its database connection is broken.
Untested backups: A backup that has never been restored gives no real guarantee of recovery time.
Shared fate in one zone: Two replicas in the same zone fail together when that zone goes down.
Alerts on causes only: High CPU alerts fire often but say little about users. Alerts on SLO burn rate track what users feel.
Build Resilient Applications With Motadata ObserveOps
Application resilience comes from two habits working together. The first is design. Contain failures at every boundary, plan how features degrade and remove single points of failure.
The second is proof. Set SLOs on your critical journeys, watch error budget and burn rate, and run small failure tests on a regular schedule. Each test either confirms a pattern or shows you the next fix.
We built ObserveOps as part of our unified observability and ITSM platform. APM traces, SLOs, burn rate and runbooks sit in one place. Your team can see when resilience starts to slip and act before the budget runs out.
FAQs
What are the four pillars of resilience?
A common model groups resilience into four goals: anticipate, withstand, recover and adapt. Anticipate means planning for failure. Withstand means containing it. Recover means restoring service quickly. Adapt means learning from each incident and improving the system.
What is the difference between resilience and reliability?
Reliability measures how often an app works correctly over time. Resilience measures how well it handles failure when something does break. A reliable app fails rarely, while a resilient app fails gracefully and recovers fast. Most teams need both.
What is a resilience score?
A resilience score rates how well an app meets its recovery targets. Some cloud tools, such as AWS Resilience Hub, calculate one from recovery time and data loss goals. Scores help compare apps, but SLO data shows what users actually experience.
Which metrics best show application resilience?
Error budget left and burn rate show how much failure users absorb against a target. MTTR shows how fast the app recovers. MTBF shows how often it fails. Track all four for each critical user journey.
How often should you run chaos tests?
Start with one small experiment per sprint or per month, in staging. Once the team is confident, run small production tests regularly and after major changes. A full game day each quarter tests people and runbooks together.
Author
Ramya Shah
Technical Writer
Ramya Shah is a technical content writer with a computer engineering background and roots in automotive journalism. He covers IT Service Management, observability, IT operations, and AI-driven automation. An early adopter of AI-assisted writing workflows, he turns complex IT processes into clear, engaging content optimized for search and answer engines (AEO), lifting content output and organic visibility.


