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
DDOS Attacks [not-audio_url] [/not-audio_url]

Duration: 36:56
You've probably heard of DDOS (or Distributed Denial of Service attacks). They are a common scourge of the modern web and are something you will occasionally see if you work on a popular product.Read more ›The post DDOS…
Basics of Git [not-audio_url] [/not-audio_url]

Duration: 50:51
Git is a version control system that allows developers to collaborate on projects, keep track of changes, and easily revert to previous versions if necessary. It's an essential tool for any software developer, but if you…
Explaining Agile To Non Technical CoWorkers [not-audio_url] [/not-audio_url]

Duration: 43:23
While most developers generally have at least a rough idea of what agile means, or at least what it means to them, many non-technical people are a bit puzzled by the term. It's clear that it means a lot of different thin…
404 Personality Not Found [not-audio_url] [/not-audio_url]

Duration: 52:49
It can be easy to say some people, especially developers, don't have personalities. This is far from the truth, even the most robotic of people have some form of personality though it may be difficult to understand. Read…
ChatGPT for Developers [not-audio_url] [/not-audio_url]

Duration: 55:52
OpenAI's transformer-based language model, can improve software development with its natural language processing capabilities and code generation.Read more ›The post ChatGPT for Developers appeared first on Complete Deve…
Breaking Down Goals [not-audio_url] [/not-audio_url]

Duration: 53:02
Setting goals for yourself is a big task, even bigger is actually accomplishing those goals. When a goal is large it can seem overwhelming and unachievable.Read more ›The post Breaking Down Goals appeared first on Comple…
Cross Platform Pitfalls [not-audio_url] [/not-audio_url]

Duration: 45:20
Cross-platform applications are really helpful for many businesses, as they increase the size of the available customer base and make it easier to write code that runs on anything. However, like anything else, there are…
7 Habits of Highly Effective Developers [not-audio_url] [/not-audio_url]

Duration: 50:26
Habits are ways that we simplify our behaviors so that we can do them over and over without much conscious thought. When healthy, habits can help us to grow and improve ourselves.Read more ›The post 7 Habits of Highly Ef…
Software Architecture Mistakes [not-audio_url] [/not-audio_url]

Duration: 45:56
While a good software architect can be tremendously helpful to a team that is in a position to need one, software architects are also frequently in a position to do real damage to a team. In fact, software architecture m…
Social Engineering [not-audio_url] [/not-audio_url]

Duration: 46:19
In this episode we look at the different types of social engineering attacks and the best practices for protecting yourself and your organization.Read more ›The post Social Engineering appeared first on Complete Develope…