Preempting System Issues

Preempting System Issues

Author: BJ Burns and Will Gant July 13, 2023 Duration: 40:07

Simple systems fail simply. Complex systems also fail simply, but their interconnectedness with other systems makes mitigating failures much more complex. Past a certain level of complexity, system failures are an emergent property of the system – that is, the set of system parts has a set of failure cases that the individual parts do not have by themselves. This means that it is more difficult to predict what can go wrong with a system. At some level, prediction is nearly impossible. However, you can predict many of the things that are likely to cause problems, simply by engaging in a few fairly simple thought exercises, you can greatly reduce the number of unexpected problems that your system encounters.

While it can be tempting to wait until a problem occurs to try to mitigate it, this is unwise in a production system that other people are dependent on. A system failure usually costs money at a minimum, and the problems can be far more severe than that. As a result, it's common for software services to include a Service Level Agreement or SLA, that dictates expectations about the frequency of system outages, response times, and time expected to complete work. Even if your system is engineered so that it doesn't completely fall over when a problem occurs, it can still violate an SLA and cost money. The consumers of your application probably have their own clients who have their own expectations. SLAs tend to bleed inward from clients to the services that they use and then to the services that those services use.

In contrast to SLAs, systemic problems, including both errors and latency tend to bleed outward from one service to its clients and then to the clients of that service. As a result, when you are thinking about how to find potential systemic problems, it's often best to think of these problems from two different angles. That is, you need to consider how errors and latency will bleed out as a result of a problem, while also considering how SLAs bleed in to put more stringent expectations on your system than you might expect. In effect, you are dealing with a balance between tolerance for errors and difficulty in error mitigation. Depending on how critical your system is to your clients, these expectations will vary.

You can't prevent every problem in a system, but you can usually prevent a large percentage of them by planning ahead. However, until you've encountered enough unexpected problems, it can be difficult to envision how something can go wrong, or even have a realistic thought process for thinking about what can go wrong. However, if you go through the thought exercises we've outlined here, then you have a good chance of preventing most of the problems that will plague a complicated application. While this doesn't fix everything, it can give you enough breathing room to fix the truly unusual problems that you'll occasionally encounter.

The post Preempting System Issues appeared first on Complete Developer Podcast.


Hosted on Acast. See acast.com/privacy for more information.


BJ Burns and Will Gant host the Complete Developer Podcast, a conversation that goes far beyond just writing code. These two seasoned developers built this show from a simple idea: that a career in tech is about more than the latest framework or language syntax. It's about the entire ecosystem you navigate, from the logic on your screen to the dynamics of the business meetings and the long-term path of your career. Each episode feels like pulling up a chair in the break room with colleagues who get it, discussing the real, often unspoken, parts of the job. You'll hear them tackle the intersection of technology, business strategy, and professional growth, making sense of how these pieces fit together in a practical, everyday way. This podcast digs into the questions that don't always have a clear answer in a manual-how to communicate effectively with non-technical teams, ways to approach career advancement, or how to balance deep technical work with the broader goals of a company. It's a resource for anyone who writes code but lives in a much bigger world, offering perspective and discussion that aims to make the whole journey a bit more comprehensible and a lot more manageable. Tune in for thoughtful, grounded talks that treat development as the multifaceted profession it truly is.
Author: Language: English Episodes: 100

Complete Developer Podcast
Podcast Episodes
Package Management [not-audio_url] [/not-audio_url]

Duration: 38:18
While you probably have lots of code in your codebase that you are proud of, it's almost certain that you didn't write all or even most of the code that executes while your application is running. Code reuse has always b…
Time Management Resilience [not-audio_url] [/not-audio_url]

Duration: 49:24
Your time is the most valuable and most scarce resource that you have. If you don't protect it and use it appropriately, everything else that you want from your life is out of your reach. It is critically important to pr…
Understanding Memory [not-audio_url] [/not-audio_url]

Duration: 38:58
Understanding memory can be a tricky thing, especially the deeper into a computer system you get. To help understand it a hierarchy of memory was conceptualized. This triangular shape helps to visualize the different lev…
Bad Abstractions [not-audio_url] [/not-audio_url]

Duration: 38:58
Developers like to abstract things. Abstraction gives us a lot of benefit, but there are times when we need to reign in our enthusiasm for it. It's past time we discussed when abstractions are not useful or are actively…
Discipline to Achieve Your Goals [not-audio_url] [/not-audio_url]

Duration: 42:59
We are reaching the time of year when resolutions and goals start to fall away. Being disciplined is an inconvenience, it's hard work but to reach big goals we need to be disciplined in what it takes to achieving goals.R…
Deployment Resilience [not-audio_url] [/not-audio_url]

Duration: 40:18
Writing all this code is fun, but when you have to actually deploy, it can be nerve-wracking. A bad deployment can result in corrupted data, system failures, angry customers and hours of wasted time. Avoiding busted depl…
Learning Plateaus [not-audio_url] [/not-audio_url]

Duration: 40:44
When we are learning something new, we will all eventually hit a roadblock. Roadblocks are tough to deal with, because they sap your enthusiasm. Left alone long enough, they'll make you give up on your goals.Read more ›T…
Aging With Grace [not-audio_url] [/not-audio_url]

Duration: 43:25
Ageism in development is a real thing in some areas of the industry and a concern for senior developers becoming more senior.Read more ›The post Aging With Grace appeared first on Complete Developer Podcast. Hosted on Ac…
Going From Windows to Mac [not-audio_url] [/not-audio_url]

Duration: 48:21
You've bitten the bullet and decided to pay the Apple Tax or maybe you are considering the transition. Switching from Windows to using a Mac may seem a bit daunting, especially if you've been on Windows for decades. Howe…
The Five R’s of Resilience [not-audio_url] [/not-audio_url]

Duration: 41:58
If anything, the last two years has taught us that we all have to be prepared for sudden disruptions to our lives. You have probably also heard that being resilient is the key to doing so, but what does that actually mea…