By Maxwell Edwards · November 26, 2026 · 3 min read · 14 views
Designing Durable Systems
Modern software is responsible for the infrastructure of code, ingestion of data, and applications that make it useful. Over time, the data being used and the design of applications have changed, sometimes at different speeds. In this modern era, software durability represents an opportunity for growth.
Software Outages#
When Microsoft Outlook went down in November of this year, companies across the country ground to a halt. This caused real economic damage to Outlook users as well as a massive public-relations headache for Microsoft.
Reliable systems draw users in. With more users comes more edge cases in demand and traffic volume, which either progresses to better systems, or to more frequent issues. As more issues arrive, customers either leave until the system stabilizes itself again, or the system matures enough to support them.
Outages happen when the usage of the system has outgrown the engineering rigor behind it. It's a failure from management and engineering to not foresee the capacity constraints and to not build enough redundancy to handle the bottlenecks.
Durable Software#
The easiest way to build durable software is to design for the future-state. Every app would like to have millions of users, but less than 1% actually do. So, most applications are built with a reasonable 1-3 year foresight about scale. When applications grow faster than their perceived future, they become fragile and at risk of outages.
Durable software requires a clear understanding between leadership and the engineering teams. Handling concurrent requests does improve performance when 10 terabytes of data flow every minute, but the development and maintenance required for those requests also takes time. From my experience, leadership has a hard time grasping the tradeoffs in time required for additional engineering rigor. If we shipped 3 features a month before, but now you want the system to be durable, it'll cost you 2-3 of those features.
Another aspect of this is redundancy. Systems that have fallbacks increase the availability. But, 99% of the time, those redundant systems are not adding direct value to the product. Squeamish management may look at that as an opportunity to cut costs, because it's not "contributing to the bottom line." Removing the safety blanket only makes sense if the loss of the system altogether is less expensive than the cost of keeping the system up in spite of an unforeseen circumstance. If this equation is true, then it's worth keeping the redundancy. risk_of_outage * cost_of_outage > cost_of_redundancy
Supposing management does decide to reduce outages, there are a few techniques to consider as an engineer.
Techniques#
-
Redundancy & Fallbacks. Many system failures come from systems assuming they can talk to each other and not handling the cases where they cannot. For example, if the authentication service goes down, many apps either get caught in a recursive refresh loop or fully crash. As developers we rarely think this way, especially when leadership emphasizes shipping quickly. Practically, this looks like exception handling and
if... else...statements when making API calls. If a dependent service goes down, the main happy-path may not be available, but it shouldn't cascade further. Requests can still be logged as future events to be processed once the service comes back online. -
Testing. Planes crash most frequently when they are taking off and landing. They don't fall while they are in the air as often. Software is the same: crashes occur when deploying the software to different environments. Automated software testing finds regressions in the code as it is being released, which reduces the chances of unwanted bugs appearing in existing code.
-
Service Durability. If a server in a datacenter goes down and it takes the application down with it, that is fragile software. Part of the reason so many enterprises have shifted towards microservices is the ease of redeployment and keeping nodes up. A service deployed on 3 nodes across different regions is protected against widespread outages or power outages. Earlier this year, when Iranian strikes hit datacenters in the Middle East, real applications lost real data because they failed to diversify data outside of their single region. Adding nodes protects against a server failure, while adding cross-region deployments protects against regional conflict or natural disasters.
Conclusion#
Systems grow to their level of durability. The more reliable applications become, the more users they can attract. This growth continues until the application can no longer handle the customers. When the cost of an outage is higher than the cost of redundancy, backup systems and error handling need to be implemented. Techniques like software testing, microservices, and redundancy all contribute towards more durable products.