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
HTTP Verbs [not-audio_url] [/not-audio_url]

Duration: 48:03
HTTP or hypertext transfer protocol is a protocol for transferring documents: HTML, images, etc. between a client, usually a web browser and a server. HTTP verbs or HTTP methods are codified forms of communication in the…
The Great Resignation [not-audio_url] [/not-audio_url]

Duration: 43:29
Towards the tail end of covid times (or still in the middle of them, depending on where you live), a lot of news articles started talking about a phenomenon called The Great Resignation. While you probably have a rough i…
Steps To Critical Thinking [not-audio_url] [/not-audio_url]

Duration: 42:26
Critical thinking is about knowing how to organize and understand a problem or decision and come to conclusion. It is necessary for avoiding cognitive bias in advanced problem solving skills and decision making.Read more…
Better Meeting Notes [not-audio_url] [/not-audio_url]

Duration: 42:56
Meetings are a fact of life and nearly everyone could improve the way that they take notes. There is nothing worse than sitting through a long meeting and then later having to ask a bunch of questions that were answered…
Resilience Through Consistency [not-audio_url] [/not-audio_url]

Duration: 52:41
Resilience is the ability to recover quickly. Having consistent patterns of behavior helps you to know where to jump back in when something knocks you off your regular schedule requiring you to be resilient.Read more ›Th…
Monorepos [not-audio_url] [/not-audio_url]

Duration: 34:20
As development teams grow, the number of code repositories used by them grows as well. Over time, this ends up making some things more complicated than they have to be. You've probably heard of companies putting everythi…
Resilience In Stress [not-audio_url] [/not-audio_url]

Duration: 40:28
No matter how efficient you are, when you get stressed your productivity drops. It is important to be resilient in stress so that you can overcome stressful situations.Read more ›The post Resilience In Stress appeared fi…
Systems Thinking [not-audio_url] [/not-audio_url]

Duration: 39:24
If you've worked on complex or distributed systems at all, at some point you've seen them produce behavior that is predictable in hindsight, but that you never would have predicted yourself. Systems take on a life of the…
7 Habits of Unsuccessful People [not-audio_url] [/not-audio_url]

Duration: 39:49
Everyone has habits, behaviors they do on a regular, daily basis. These habits are either moving you toward your goals and success or they are holding you back from them.Read more ›The post 7 Habits of Unsuccessful Peopl…
Resilient UX [not-audio_url] [/not-audio_url]

Duration: 38:20
User interfaces are hard to get right, especially for developers. While the nitty gritty details are better left to design podcasts, there are some simple rules that developers can keep in mind when building UI and UX. W…