theboreddev.com

Menu
  • Home
  • Career
  • Code Habits
  • Debugging
  • Side Projects
  • Tooling
  • About Us
  • Contact Us
  • Disclaimer
Menu
Guide on how to write a design document.

A Design Doc Nobody Dreads Reading

Posted on May 12, 2026 by Tomasz Wierzbicki

I once spent three weeks drafting a forty-page technical specification for a new payment gateway, complete with exhaustive diagrams of every microservice interaction and a deep dive into our chosen database internals. I felt incredibly productive until the first day of implementation, when a senior engineer looked at my document, blinked, and asked, “But what happens to the state if the message broker goes down mid-transaction?” I realized then that I hadn’t actually figured out how to write a design document that mattered; I had just written a very expensive, very detailed autobiography of my own assumptions.

I’m not here to teach you how to fill out a template or how to satisfy a manager’s desire for “architectural alignment.” Instead, I want to show you how to use these documents as a survival tool for the inevitable moments when things go sideways. We are going to focus on mapping out the edge cases, identifying the trade-offs we’re making, and documenting the “why” so clearly that the next person—hopefully not me, six months from now—doesn’t have to re-solve the same problem from scratch.

Table of Contents

  • Why Your Software Design Document Template Is Failing You
  • The Real Goal of Documenting Technical Decisions Under Pressure
  • Five things that actually make a design doc useful
  • What to actually walk away with
  • The Long View
  • Frequently Asked Questions

Why Your Software Design Document Template Is Failing You

Why Your Software Design Document Template Is Failing You

Most people approach a software design document template like a tax form: they fill in the required boxes, check the “dependencies” list, and call it a day. But a template is just a skeleton, and if you’re just following a rigid structure to satisfy a Jira requirement, you’re missing the point. The problem isn’t the lack of a format; it’s that most templates focus on what you are building rather than why you chose one path over another. I’ve seen dozens of these documents that look perfect on paper but provide zero help when a service starts spiking in latency three months later because the original author forgot to document the actual trade-offs.

The real failure happens when your engineering design process becomes a ritual of “filling in the blanks” instead of a tool for thinking. If your documentation doesn’t force you to confront the messy reality of your system architecture documentation—like how a specific database choice will fail under a particular write load—then it’s just expensive fiction. We often spend hours documenting technical decisions that are trivial, while skipping the hard parts, like how we plan to handle partial failures or state recovery. A good doc shouldn’t just describe the happy path; it should be a map of the traps you expect to fall into.

The Real Goal of Documenting Technical Decisions Under Pressure

The Real Goal of Documenting Technical Decisions Under Pressure

The real goal isn’t to produce a piece of literature that satisfies some arbitrary compliance checklist. When I’m halfway through a sprint and the pressure is on, I don’t care about a perfect software design document template that looks pretty in Confluence. I care about contextual survival. I want to know why we chose a specific consistency model over another, or why we decided to ignore that one “obvious” optimization that would have added three weeks to the timeline. We aren’t writing for the sake of archiving; we are writing to build a bridge between the person who made the decision and the person who has to fix it when the database locks up.

In my experience, documenting technical decisions is actually an exercise in mitigating future regret. Most of my most useful notes come from moments where I felt a slight hesitation—a “this feels like a hack, but we don’t have time” moment. If you don’t capture that specific tension, you’re just leaving a landmine for your future self. The goal is to transform the engineering design process from a series of frantic, isolated impulses into a coherent trail of breadcrumbs. You aren’t just mapping out a system; you are defending your future sanity.

Five things that actually make a design doc useful

  • Write down the “Why” before the “How.” I’ve seen plenty of docs that explain exactly how a new microservice works, but completely fail to mention why we aren’t just adding a column to the existing database. If you don’t document the rejected alternatives, you’ll spend six months in meetings re-litigating decisions that were already made.
  • Explicitly list the trade-offs. There is no such thing as a perfect architecture, only a collection of compromises. If you claim your design has no downsides, you aren’t being honest or you haven’t thought it through. I want to see a section that says, “This makes writes faster, but it’s going to make our consistency model much harder to reason about.”
  • Define the failure modes. A good design doc isn’t just a blueprint for when things go right; it’s a manual for when things go wrong. Tell me what happens when the network partitions, when the disk fills up, or when the third-party API starts returning 500s. If you don’t design for the crash, you’re just designing for the happy path.
  • Keep the diagrams boring and readable. I don’t care about fancy UML or color-coded architectural masterpieces. I want a sequence diagram that shows exactly how a request moves from the load balancer to the database. If I can’t understand the data flow in thirty seconds, the diagram is useless.
  • Write for the person who will be on-call in six months. Assume the reader is tired, caffeinated, and trying to figure out why a specific piece of logic exists. Avoid jargon and “clever” abstractions. If a junior engineer can’t follow the logic of your data flow, you’ve written a riddle, not a design document.

What to actually walk away with

Stop trying to document every single library choice; instead, document the “why” behind the trade-offs that will actually matter when the system hits its first scaling bottleneck.

A good design doc isn’t a trophy for your design phase; it’s a map for the person who has to fix the service three months from now when they have no idea why you chose a specific consistency model.

If your document is too long to be read during a high-pressure incident, it’s useless; aim for enough technical clarity to prevent a rewrite, not enough prose to win a writing award.

The Long View

Designing systems with The Long View.

At the end of the day, a good design doc isn’t a hurdle to clear before you can start coding; it’s a way to sanity-check your assumptions before they become production incidents. We’ve talked about moving away from rigid, useless templates and focusing instead on the actual mechanics of how a system will fail. If your document doesn’t clearly state the trade-offs you made—or, more importantly, the things you decided not to do—then you haven’t actually designed anything. You’ve just written a wishlist. Keep it focused on the “why,” map out the failure modes, and stop worrying about whether you’ve picked the perfect, most trendy architectural pattern.

I’ve spent far too many nights staring at a terminal, trying to reconstruct why a specific decision was made six months prior, only to find a blank README or a stale Jira ticket. Don’t be that engineer. Write these documents as a gift to your future self and the person who will inevitably have to fix your mess. If you treat documentation as a living record of technical intent rather than a bureaucratic chore, you’ll find that the system becomes much easier to manage, and your sleep becomes much more reliable. Just write it down, be honest about the flaws, and get back to work.

Frequently Asked Questions

How much detail is too much before the document becomes a maintenance burden itself?

If you’re documenting the implementation details of every single function, you’ve already lost. That’s what the code is for. A design doc should capture the why and the trade-offs, not the how of every line of logic. If a change in a library version makes your document obsolete, you’ve written too much. Aim for the architectural boundaries and the “why we didn’t pick Option B.” If it’s hard to keep updated, it’s noise.

At what point in the development cycle should I actually sit down and write this, rather than just coding?

If you wait until the code is finished, you aren’t writing a design doc; you’re writing a eulogy for the time you wasted.

How do I handle design docs when the requirements are changing every week and the doc is already out of date?

Stop trying to maintain a perfect historical record; it’s a losing battle. If requirements are shifting weekly, your doc shouldn’t be a monolith—it should be a map of the current assumptions. Move the volatile stuff into a “Living Assumptions” section at the top. If a decision changes, don’t rewrite the whole history; just note the new direction and why the old one died. A stale doc is better than no doc, provided the “why” is still visible.

How do I convince a team that's moving fast to slow down and actually write these things?

Don’t sell it as “better documentation.” That sounds like homework. Sell it as “reducing the number of times we have to fix this same bug in six months.”

Learning how to containerise a local environment.

One Command to a Working Environment

Posted on May 11, 2026 by Tomasz Wierzbicki

I once spent three days trying to debug a race condition in a payment gateway, only to realize the issue wasn’t my code—it was the fact that my local Mac was running a slightly different version of OpenSSL than our staging servers. That realization, usually accompanied by a cold cup of coffee and a heavy sense of dread, is exactly why I stopped treating my machine like a sacred temple and started treating it like a disposable component. Most people think learning how to containerise a local environment is about following a trendy DevOps roadmap, but in reality, it’s about preventing the “it works on my machine” lie from becoming a production incident.

I’m not here to sell you on the magic of microservices or some bloated orchestration layer you don’t actually need. My goal is to show you a practical, stripped-back approach to setting up your workspace so that your environment is a predictable, boring constant rather than a variable that breaks at 2 AM. I’ll walk you through the trade-offs of different setups, focusing on what actually saves you time when you’re trying to ship a fix instead of fighting your own operating system.

Table of Contents

  • Eliminating Dependency Hell Before It Hits Production
  • Achieving True Environment Parity Between Dev and Prod
  • Five things I learned by breaking my own machines
  • The Lessons I Learned While Fixing Broken Builds
  • The Long View
  • Frequently Asked Questions

Eliminating Dependency Hell Before It Hits Production

Eliminating Dependency Hell Before It Hits Production

I used to think “dependency hell” was just something people complained about in forums until I spent an entire Tuesday trying to figure out why a specific version of a C library was behaving differently on my MacBook than it was on our Debian staging servers. It’s a special kind of exhaustion. You spend four hours debugging your application logic only to realize the issue was a minor version mismatch in a background worker’s runtime. By eliminating dependency hell at the source, you stop treating your local machine like a sacred, snowflake environment and start treating it like a disposable testing ground.

The most effective way I’ve found to handle this is by using docker compose for local setup. Instead of a README file that lists twelve different versions of PostgreSQL, Redis, and RabbitMQ that you have to manually install and hope they don’t conflict with your other projects, you define them in a single YAML file. This ensures environment parity between dev and prod because the container running on your laptop is the exact same image that will eventually hit the cluster. You aren’t just running code; you’re running the entire ecosystem. It takes a little more upfront effort to write the configuration, but it beats the alternative of debugging your OS at midnight.

Achieving True Environment Parity Between Dev and Prod

Achieving True Environment Parity Between Dev and Prod

The problem with most “works on my machine” bugs isn’t that the code is wrong; it’s that the ground beneath the code is different. I once spent an entire afternoon debugging a connection timeout, only to realize my local machine was running Postgres 15 while production was still stuck on 12. That’s not a code issue; that’s a failure of environment parity between dev and prod. When you rely on whatever version of a library happens to be installed on your MacBook, you aren’t actually testing your application—you’re testing your assumptions.

To fix this, I’ve moved toward using docker compose for local setup as a non-negotiable standard. Instead of a README file that lists five different installation steps for Redis, RabbitMQ, and a specific version of Python, I want a single command that spins up the entire stack. By treating your local dependencies as immutable artifacts rather than manual installs, you stop playing “version whack-a-mole.” It’s about creating a predictable sandbox where the only variable left to worry about is the logic you actually wrote. If it runs in the container on my laptop, and the container is identical to the one in the registry, the chances of a deployment-day meltdown drop significantly.

Five things I learned by breaking my own machines

  • Stop using ‘latest’ tags in your Dockerfiles. I once spent three hours debugging a build that worked on Monday but died on Tuesday because a base image updated overnight. Pin your versions to a specific SHA or at least a minor version; it’s the only way to ensure your environment doesn’t mutate behind your back.
  • Use Docker Compose to orchestrate the “invisible” dependencies. If your app needs Redis or a specific version of Postgres, don’t install them directly on your macOS or Linux host. Spin them up as sidecar containers in a compose file so everyone on the team is running the exact same database engine.
  • Don’t bake your source code into the image during development. Use bind mounts. If you have to rebuild a container every time you change a single line of code, you’ll stop testing frequently, and that’s exactly how bugs slip into the next commit.
  • Keep your development containers lightweight. I used to try and cram every single CLI tool and library into one giant image, but it made startup times sluggish and debugging a nightmare. Use multi-stage builds to keep the production image lean, but keep your dev environment focused on what actually runs the code.
  • Use a `.env` file for local configuration, but never, ever commit it. I’ve seen enough “accidental credential leaks” in pull requests to last a lifetime. Define your defaults in a `.env.example` so the next person knows what they need to provide, but keep the actual secrets out of the repository.

The Lessons I Learned While Fixing Broken Builds

If your local environment relies on a specific version of a library installed directly on your OS, you haven’t built a dev environment; you’ve built a time bomb that will inevitably go off during a deployment.

Parity isn’t about making your laptop identical to a massive cloud cluster; it’s about ensuring the fundamental runtime and its dependencies are the exact same bits in both places.

Documentation is useless if it’s a manual list of `brew install` commands; a Dockerfile is living documentation that actually works when you need it to.

The Long View

The Long View of containerized development.

At the end of the day, containerising your local environment isn’t about following a trend or being a purist about Dockerfiles. It’s about reducing the cognitive load required to actually write code. By forcing your local machine to mirror the production runtime, you stop wasting hours debugging why a specific library version is missing or why a database connection behaves differently on your Mac than it does in the cloud. You’ve moved the “works on my machine” conversation from a frantic Slack thread during a deployment window to a controlled, predictable process that happens while you’re still drinking your morning coffee.

I’ve spent enough time in the trenches to know that no amount of automation can prevent every single bug, but it can certainly prevent the stupid ones. Containerisation is a hedge against the chaos of a growing system. It might feel like extra overhead when you’re starting a small side project, but treat it as a mandatory piece of infrastructure from day one. You aren’t just setting up a dev environment; you’re building a safety net that ensures when things eventually do break, you’re debugging the logic of your application rather than the quirks of your operating system.

Frequently Asked Questions

How do I stop my laptop fans from sounding like a jet engine every time I run the full stack?

If your fans are screaming, you’re likely running too many heavy containers or unoptimized resource limits. I used to do this constantly. The fix is simple: set explicit CPU and memory limits in your `docker-compose.yml`. Without them, one runaway process will cannibalize your entire laptop. Also, check your build context; if you’re accidentally sending massive, unnecessary folders into the Docker daemon every time you save, you’re just burning cycles for no reason.

Is it actually worth the overhead of containerizing a simple script, or am I just over-engineering?

If it’s a script you’ll run once and forget, don’t bother. But if that script is going to live in a cron job, a CI pipeline, or on a teammate’s machine, containerize it. I’ve spent too many hours debugging why a Python script worked on my MacBook but died on a Debian server because of a minor `libssl` mismatch. The overhead is small; the “why is this failing now?” headache is massive.

How do I handle local data persistence so my database doesn't wipe itself every time I restart a container?

If you don’t use volumes, you’re essentially playing a game of Russian roulette with your test data. I used to lose half a day of work every time a container crashed because I hadn’t mapped a local directory to the container’s data path. Use Docker volumes. Map your database’s data directory to a persistent volume on your host machine. It’s a small amount of configuration overhead that prevents the “where did my schema go?” panic.

When does the complexity of managing a local Docker Compose file outweigh the benefits of just installing dependencies directly on my machine?

It’s a trade-off. If you’re working on a single script or a tiny CLI tool, Docker is overkill; just use a virtual environment and move on. But the moment you need a specific version of Postgres, a Redis cache, and a message queue just to run your tests, stop installing things directly. If you find yourself manually tweaking your system PATH or fighting version conflicts every Monday morning, the complexity of Compose has already paid for itself.

How to avoid a config flag nobody reads.

Every Flag Is a Branch You Will Not Test

Posted on May 10, 2026November 14, 2026 by Tomasz Wierzbicki

I remember sitting in my kitchen at 3:15 AM, staring at a terminal screen while my coffee went cold, trying to figure out why a “temporary” feature toggle had suddenly decided to re-route our entire payment flow to a dead endpoint. It wasn’t a complex architectural failure or a sophisticated hack; it was just a stale, forgotten bit of logic left behind by a developer who had moved on to a different company two years prior. Most people will tell you that the solution is to buy a fancy feature management platform or implement a complex governance layer, but they’re missing the point. If you want to actually solve the problem of how to avoid a config flag nobody reads, you don’t need more tooling—you need better discipline and a way to make the cost of keeping a flag visible.

I’m not here to sell you on a new category of software or some idealistic way of working that only functions when everyone is well-rested and happy. I want to talk about the messy, practical reality of keeping a codebase clean when you’re constantly under pressure to ship. I’ll share the specific, uncomfortable trade-offs I’ve learned from my own production outages, focusing on how to build systems that force you to clean up your own mess before it becomes someone else’s midnight crisis.

Table of Contents

  • The High Cost of Configuration Drift Prevention Failures
  • How Feature Flag Lifecycle Management Actually Saves Your Sleep
  • Five ways to stop your config files from becoming a graveyard
  • The TL;DR for when you're too tired to read the full post
  • The Long View on Clean Configs
  • Frequently Asked Questions

The High Cost of Configuration Drift Prevention Failures

The High Cost of Configuration Drift Prevention Failures

The real cost isn’t just the extra lines of code; it’s the cognitive load that builds up every time a developer has to trace a logic path through three different toggles just to understand a single function. I’ve spent way too many hours staring at a trace, trying to figure out if a specific behavior was intentional or just some leftover junk from a marketing campaign three years ago. When we fail at deleting obsolete feature toggles, we aren’t just accumulating minor clutter; we are actively increasing the surface area for bugs. Every flag that stays in the codebase past its expiration date is a branch in your logic tree that no one is actively testing.

This is where the “drift” really starts to hurt. You think you have a clean system, but you’re actually drifting into a state where the configuration is more complex than the actual business logic. If you don’t have a strategy for reducing technical debt in configuration, you eventually reach a tipping point where the team becomes afraid to touch certain parts of the service. We end up treating the code like a museum—we don’t fix things, we just walk around them. That’s not engineering; it’s just managing decay.

How Feature Flag Lifecycle Management Actually Saves Your Sleep

How Feature Flag Lifecycle Management Actually Saves Your Sleep

To me, lifecycle management isn’t about following some high-level DevOps methodology; it’s about the quiet relief of knowing that when a feature is “done,” the code path for the old version is actually gone. I’ve spent too many weekends tracing logic through nested if-else blocks, trying to figure out if a specific branch is still being hit by a legacy client or if it’s just dead weight. Effective feature flag lifecycle management means treating a toggle like a piece of borrowed equipment: you use it to get the job done, and then you return it by deleting the code.

When you actually commit to a process for deleting obsolete feature toggles, you stop the slow creep of software complexity. I used to think “we’ll clean this up in the next sprint” was a valid plan, but in a high-velocity team, that’s just a polite way of saying “we are accumulating technical debt.” By making the removal of a flag a mandatory part of the definition of done, you aren’t just tidying up; you are actively practicing software complexity reduction strategies. It turns a chaotic, sprawling codebase into something predictable, which is the only way I can sleep through the night without wondering which ghost in the machine is going to trigger a regression.

Five ways to stop your config files from becoming a graveyard

  • Treat every flag like a technical debt entry. When you create a flag, I now add a “death date” or a cleanup ticket to the sprint immediately. If it doesn’t have a corresponding Jira ticket to remove it, it’s not a feature flag; it’s just permanent, unmanaged code.
  • Stop using “magic” strings in your config files. I’ve spent way too much time hunting down a typo in a YAML file that changed a system’s behavior. Use typed constants or enums so the compiler can scream at you before the code even hits the staging environment.
  • If a flag is meant to be temporary, make it visible in your telemetry. I like to see a dashboard that shows which flags are still active and how long they’ve been sitting there. If a flag has been at 100% rollout for three months, it’s no longer a flag—it’s just a configuration setting that needs to be hardcoded and deleted.
  • Documentation belongs in the code, not a separate wiki that nobody visits. I try to put the “why” right next to the flag definition. If I can’t explain in one sentence why this flag exists and what happens if we flip it, I shouldn’t be checking it into the repo.
  • Automate the audit. I’ve started looking into scripts that scan our configuration files for “stale” flags—those that haven’t changed in months. It’s a blunt instrument, but it’s better than waiting for a production incident to realize we’re still toggling a feature that was deprecated in 2022.

The TL;DR for when you're too tired to read the full post

Treat every config flag like a piece of technical debt from the moment it’s merged; if you don’t schedule its removal alongside the feature implementation, you’re just accumulating interest you can’t afford to pay later.

If a flag doesn’t have a clear owner or a “kill date” documented in the code or the dashboard, it’s not a feature—it’s a landmine that someone (probably you) will eventually step on during a deployment.

Stop relying on tribal knowledge to manage your flags; if the logic for why a toggle exists isn’t visible in the PR or the configuration management tool, it’s effectively invisible to the person trying to fix the system at 2 AM.

The Long View on Clean Configs

The Long View on Clean Configs.

At the end of the day, managing configuration isn’t about following a perfect architectural pattern or mastering some complex feature-flagging SaaS. It’s about preventing the kind of technical debt that keeps you staring at a Grafana dashboard at 3 AM, wondering which “temporary” toggle is currently strangling your throughput. If you don’t treat every flag as a piece of code that requires a sunset plan, a clear owner, and a documented reason for existing, you aren’t building a platform—you’re just building a ticking time bomb. Keep your lifecycle tight, document the “why” as much as the “what,” and for heaven’s sake, delete the flags once they’ve done their job.

I’ve spent enough years cleaning up after my own “quick fixes” to know that the most professional thing a developer can do isn’t writing clever, complex logic. It’s writing code that is boring and predictable. We don’t write these notes and set these processes to make our lives easier today; we do it so that the version of ourselves two years from now—or the poor soul who inherits this repo—doesn’t have to re-solve the same disaster all over again. Build things that stay built, and leave the campsite cleaner than you found it.

Frequently Asked Questions

How do I actually automate the cleanup process without accidentally breaking a legacy feature that's been running for years?

You don’t start by deleting code; you start by adding telemetry. I always wrap the flag logic in a specific metric that tracks usage. Once that metric hits zero for a full business cycle—meaning you’ve survived a month of weird edge cases—you can move to a “soft delete.” This means commenting it out or wrapping it in a `TODO` with a ticket number. If the dashboard stays quiet, you pull the trigger.

At what point does a "temporary" flag become a permanent part of the codebase, and how do I set a hard limit on that?

It becomes permanent the moment you stop treating it like a task and start treating it like “technical debt” you’ve accepted. I usually see it happen when a flag stays in the code past the second deployment cycle after the feature is 100% rolled out. To stop this, I’ve started adding a `TODO: [Date]` or a Jira ticket ID directly in the flag’s definition. If the date passes and the flag is still there, it’s no longer a feature; it’s a liability.

What’s the best way to audit existing flags in a massive, messy monolith where nobody seems to know who owns what?

You don’t audit a monolith by asking people; they’ll just guess. You audit it by looking at the telemetry. I start by pulling the usage metrics for every flag. If a flag hasn’t been toggled or seen in a deployment cycle for six months, it’s dead weight. I then cross-reference those “cold” flags with the git blame. If the original author is gone, it’s a candidate for deletion. It’s messy, but data doesn’t lie like a sprint planning session does.

If I'm moving toward a more automated flag lifecycle, how much manual oversight do I actually need to keep from nuking production?

Automation isn’t a “set and forget” button; it’s just a way to stop doing the boring stuff. You still need eyes on the high-stakes changes. I don’t trust a script to decide when a core payment logic flag is safe to delete. Automate the stale flag alerts and the cleanup reminders, but keep a human in the loop for the actual kill switch. If you automate the decision-making, you’re just automating your next outage.

How to debug a TLS handshake failure.

The Certificate Chain Is Missing a Link

Posted on May 10, 2026 by Tomasz Wierzbicki

I remember sitting in my kitchen at 2:15 AM, the only light coming from a laptop screen that was currently mocking me with a generic `SSL_ERROR_BAD_CERT_DOMAIN` message. My coffee was cold, my eyes were stinging, and I was halfway through a mental breakdown because a simple service update had just taken down our entire payment gateway. There is a specific kind of quiet, heavy frustration that comes when you realize you aren’t fighting a logic error in your code, but a fundamental disagreement between two servers about how to trust each other. Most tutorials online try to hide this complexity behind high-level abstractions, but if you actually want to learn how to debug a tls handshake failure, you have to stop looking at the application layer and start looking at the packets.

I’m not here to sell you on a fancy observability suite or a new “AI-driven” security tool. Instead, I’m going to walk you through the actual, manual process of tracing a handshake from the initial ClientHello down to the moment the connection drops. I’ll show you the specific `openssl` commands I use to peel back the layers, because most of the time, the answer isn’t in your code—it’s in a misconfigured intermediate certificate or a cipher suite mismatch you didn’t know existed.

Table of Contents

  • Why I Stopped Arguing About Frameworks and Started Inspecting Tls Handshake
  • The Reality of Troubleshooting Expired Ssl Certificates When Everything Is
  • Five things I wish I’d known before the pager went off
  • What I’ve learned the hard way
  • The Post-Mortem Mindset
  • Frequently Asked Questions

Why I Stopped Arguing About Frameworks and Started Inspecting Tls Handshake

Why I Stopped Arguing About Frameworks and Started Inspecting Tls Handshake

A few years ago, I used to spend my lunch breaks in heated Slack debates about whether we should migrate our microservices from Go to Rust, or which specific web framework offered the most “elegant” abstraction. It felt productive at the time, but it was mostly just noise. That changed during a particularly brutal outage at the logistics startup—the one that eventually folded. A service went dark, and for four hours, we couldn’t figure out why two perfectly healthy containers refused to talk to each other. It wasn’t a logic error or a memory leak; it was a silent, devastating cipher suite negotiation failure that no high-level framework could have warned us about.

That night taught me that abstractions are wonderful until they fail, and when they do, they become a veil that hides the actual problem. You can have the most sophisticated service mesh in the world, but if you aren’t comfortable inspecting tls handshake packets at the transport layer, you are just guessing in the dark. I realized then that knowing the syntax of a new language is secondary to understanding the mechanics of the connection itself. Now, I don’t care how “clean” the code looks if I can’t verify exactly what is happening during the handshake. I’d much rather spend my time mastering the tools that reveal the truth of the wire than arguing about the aesthetics of a library.

The Reality of Troubleshooting Expired Ssl Certificates When Everything Is

The Reality of Troubleshooting Expired Ssl Certificates When Everything Is Down

There is a specific kind of silence that happens right after you realize a service is down because of an expired certificate. It isn’t a loud, crashing error; it’s just a series of connection timeouts and “connection refused” messages that make you feel like you’re chasing a ghost. I remember one instance at the insurance firm where a single automated renewal script failed, and suddenly, three downstream microservices were throwing ssl certificate chain validation errors. Because the services were interconnected, the failure cascaded, making it look like a network outage rather than a simple date mismatch.

When everything is down, your instinct is to check the load balancer or the firewall, but that’s usually a waste of time. You have to stop guessing and start looking at the actual exchange. I’ve learned that troubleshooting expired ssl certificates is less about reading high-level logs and more about getting into the weeds with tools like `openssl s_client`. If you aren’t actively inspecting tls handshake packets to see exactly where the negotiation falls apart, you’re just throwing things at the wall. You need to see if the server is even presenting the correct chain, or if it’s serving an old, cached version of the cert that died three days ago.

Five things I wish I’d known before the pager went off

  • Stop guessing and start sniffing. I used to waste way too much time checking my application logs, only to realize the request wasn’t even reaching my code because the handshake died at the load balancer. Use `tcpdump` or `Wireshark` to actually see the ClientHello and ServerHello. If you don’t see the handshake packets, you’re debugging the wrong layer of the stack.
  • The intermediate certificate is the silent killer. It’s easy to verify a cert works in a browser because browsers are smart enough to fetch missing intermediates for you. Your backend services are not. If your client is a strict Go or Rust service, it will fail the handshake every time because you only provided the leaf cert. Always bundle the full chain.
  • Check your cipher suites against reality. I once spent an entire afternoon chasing a “connection reset” error, only to find out we had updated our security policy to deprecate older TLS versions, but our legacy internal service was still trying to negotiate TLS 1.0. If the client and server don’t speak the same version or cipher language, they won’t even say hello.
  • Don’t trust your local clock. It sounds like a joke, but I’ve seen production incidents caused by NTP drift on a single node. If a server’s clock is off by even a few minutes, it might think a perfectly valid certificate is either not yet active or already expired. If the math doesn’t add up, check the system time first.
  • Use `openssl s_client` as your primary weapon. Before you start rewriting your application’s connection logic, run `openssl s_client -connect host:port -showcerts`. It gives you the raw, unvarnished truth about what the server is actually presenting. If `s_client` can’t do it, your code definitely won’t either.

What I’ve learned the hard way

Stop trusting the high-level abstractions; when the handshake fails, you need to get down to the packet level with `openssl s_client` or `tcpdump` to see exactly where the negotiation dies.

Certificate chains are rarely as simple as “is it expired?”; most of my late nights are spent chasing down missing intermediate certs that the client simply refuses to trust.

Automation is great until it isn’t, so keep a manual, verified checklist for certificate rotation—relying solely on a black-box script is how you end up debugging a production outage at 2 a.m.

The Post-Mortem Mindset

Debugging TLS failures with The Post-Mortem Mindset.

At the end of the day, debugging a TLS handshake failure isn’t about memorizing every cipher suite in existence; it’s about having a systematic way to look at the traffic. Whether you are hunting down a missing intermediate certificate, a mismatch in supported versions, or a clock drift that makes a valid cert look expired, the tools remain the same. Stop guessing and start looking at the actual packets. Use `openssl s_client` to see what the server is actually saying, or grab a tcpdump if the issue is buried deeper in the network layer. If you can isolate the specific stage where the handshake drops—ClientHello, ServerHello, or the change cipher spec—you’ve already won half the battle.

I’ve spent enough late nights in the trenches to know that these errors feel personal when they happen during a deployment, but they are really just data points. Every time a connection fails, it’s an opportunity to harden your observability so the next person—which might be me, two years from now—doesn’t have to start from zero. Don’t just fix the cert and move on; document the failure and the specific command that finally revealed the truth. That is how we move from being people who just react to incidents to being engineers who actually understand the systems we build.

Frequently Asked Questions

How do I actually tell if the issue is a missing intermediate certificate or a mismatch in the cipher suites being offered?

Stop guessing and look at the actual handshake. If you use `openssl s_client -connect host:port`, the error message is your best friend. If it’s a missing intermediate, the connection will usually drop during the certificate verification phase, often explicitly stating “unable to get local issuer certificate.” If it’s a cipher mismatch, the client and server will simply fail to agree on a protocol, usually throwing a “handshake failure” or “no shared cipher” error immediately.

Is there a way to debug this without having to manually reconstruct the entire packet flow in Wireshark?

You don’t need to become a Wireshark wizard to find the culprit. I used to try, but it’s a rabbit hole that eats hours you don’t have. Instead, I lean on `openssl s_client -connect host:port -debug`. It’s blunt, but it dumps the handshake stages directly to your terminal. If you want something even faster for a quick sanity check, `curl -v` is usually enough to tell you exactly which part of the negotiation died.

How can I automate the detection of these handshake failures before they actually trigger a production alert?

I don’t bother with complex observability suites for this. I usually just set up a cron job that runs a simple script—something using `openssl s_client`—against our critical endpoints every ten minutes. If the handshake fails, it hits a webhook. It’s crude, but it catches the “silent” failures, like a misconfigured intermediate cert or a protocol mismatch, long before the customer-facing error rates spike and my phone starts vibrating at 3 a.m.

When I'm looking at a connection error, how do I distinguish between a network-level drop and a genuine TLS protocol failure?

The easiest way to tell is to look at where the conversation stops. If you see a “Connection Refused” or a timeout, the network or the OS is killing you before the handshake even starts—think closed ports or a bad firewall rule. But if you see a “Connection Reset” or an immediate `Alert` from the peer, the TCP connection worked fine, and the TLS layer is what actually choked on the handshake.

How to keep a side project alive while busy.

Maintenance Mode Is a Legitimate State

Posted on May 9, 2026 by Tomasz Wierzbicki

I’ve lost count of how many “productivity gurus” have tried to sell me on a complex system of time-blocking, Notion templates, and ritualistic morning routines to fix my workflow. It’s all nonsense. If you’re looking for a way to master your life through a $20-a-month subscription service, you’re in the wrong place. The reality of learning how to keep a side project alive while busy isn’t about optimizing your sleep cycle or finding the perfect pomodoro timer; it’s about managing the slow, inevitable decay of your own motivation when your day job starts throwing production incidents at you.

I’m not going to give you a roadmap to becoming a “solopreneur” or any other high-octane hype. Instead, I want to talk about the boring, practical mechanics of staying in the game. I’ll share what I’ve learned from a decade of starting things, abandoning them, and eventually figuring out how to actually ship code without burning out. We’ll focus on reducing friction and making sure your project is actually built to survive the weeks when you have zero mental bandwidth left.

Table of Contents

  • Preventing Side Project Burnout Before the Crash
  • Scaling Back Project Scope to Survive Reality
  • Tactics for staying in the game
  • Lessons from the wreckage
  • The Long Game
  • Frequently Asked Questions

Preventing Side Project Burnout Before the Crash

Preventing Side Project Burnout Before the Crash

The mistake I made early on was treating my side projects like a second job with an infinite backlog. I’d come home from a long day of debugging legacy payment gateways and try to force myself into a high-intensity sprint. That’s a recipe for disaster. You can’t treat your limited free time like a production environment that needs 99.9% uptime. Instead, I’ve learned that scaling back project scope is often the only way to actually finish anything. If your “MVP” requires a distributed microservices architecture and a custom auth provider, you aren’t building a project; you’re building a monument to your own exhaustion.

I also stopped trying to find “perfect” pockets of time. There is no magic window where you have four uninterrupted hours of deep work. Instead, I focus on maintaining momentum with limited time by picking tasks that fit the energy I actually have left at 8 PM. Some nights, that means writing a single unit test or cleaning up a messy README; other nights, I just close the laptop. The goal isn’t to grind until you hit a wall; it’s to make sure you don’t wake up six months later with a graveyard of half-finished repositories and a deep resentment for your own IDE.

Scaling Back Project Scope to Survive Reality

Scaling Back Project Scope to Survive Reality

The biggest mistake I made early in my career—both at work and in my personal repos—was treating every side project like a new startup that needed a microservices architecture and a complete CI/CD pipeline from day one. I’d spend three weeks configuring Kubernetes clusters for a tool that only I was ever going to use. That isn’t engineering; it’s procrastination disguised as progress. If you want to actually finish something, you have to get comfortable with scaling back project scope until the core value proposition is almost embarrassingly simple.

I’ve learned that the goal isn’t to build the “correct” system; it’s to build a system that survives your own schedule. Instead of aiming for a feature-complete product, I now focus on maintaining momentum with limited time by identifying the single most important path. If I can’t write the core logic in a single weekend, the scope is too wide. By stripping away the “nice-to-haves”—the fancy auth providers, the perfect UI components, the telemetry—you leave yourself enough breathing room to actually ship something before you lose interest or your day job decides to throw a massive incident your way.

Tactics for staying in the game

  • Write your “next step” before you close the laptop. I’ve learned the hard way that if I don’t leave myself a specific, tiny instruction—like “fix the type error in the auth middleware”—I’ll spend my entire weekend just trying to remember where I left off.
  • Treat your side project like a low-priority production service. It doesn’t need 99.99% uptime, but it does need a basic heartbeat. Even if it’s just ten minutes of refactoring once a week, it keeps the context from evaporating.
  • Forget the “all-or-nothing” sprint mentality. If you wait for a free Saturday to do a deep dive, you’re going to fail. Real progress happens in the awkward twenty-minute gaps between meetings or while waiting for a build to finish.
  • Build a “kill switch” for features. If a new idea feels like it’s going to require a complete rewrite of your database schema, don’t do it yet. If you can’t implement it with a simple conditional flag, it’s probably too big for your current bandwidth.
  • Accept that your “perfect” architecture is probably wrong. I used to spend weeks over-engineering abstractions for side projects, only to abandon them when work got busy. Just ship the messy version; you can refactor it when you actually have the cycles to do it properly.

Lessons from the wreckage

Stop treating your side project like a second job; if it requires a sprint planning session just to decide what to do on a Tuesday night, you’ve already lost.

Ship the boring stuff first—the authentication, the basic CRUD, the stuff that actually works—because a half-finished, polished UI is just a graveyard for your motivation.

Write down your “why” in a README before you write a single line of code, so when you’re six months deep and exhausted, you actually remember why you bothered starting this in the first place.

The Long Game

Managing side projects via The Long Game.

At the end of the day, keeping a side project alive isn’t about finding a magic window of time that doesn’t exist; it’s about managing your own technical and mental debt. You have to be willing to ruthlessly cut scope when life gets heavy and accept that a minimal, working feature is infinitely better than a massive, broken architecture sitting in a private repo. If you try to treat your side project like a high-growth startup while working a full-time job, you’re just scheduling a systemic failure for yourself. Write the code, ship the small stuff, and keep the documentation decent so you don’t spend three weeks just trying to remember how your own auth logic works when you finally sit down to code again.

I’ve seen plenty of talented engineers abandon great ideas because they treated their hobby like a second job they couldn’t quit. Don’t let that be you. Your side project shouldn’t be another source of production incidents in your personal life; it should be the place where you actually enjoy the process of building. If the progress feels slow, let it be slow. As long as you are shipping something—even if it’s tiny—you are winning. The goal isn’t to reach a perfect launch state by next Tuesday; it’s to make sure that when you finally do reach it, you still actually care about the thing you built.

Frequently Asked Questions

How do I know when I've actually cut too much scope and the project is no longer worth building?

You’ve cut too much when you stop feeling the friction of the problem you’re actually trying to solve. If you’ve stripped away so much complexity that you’re just building a CRUD app for a single table, you aren’t “managing scope”—you’re just writing boilerplate. If the core loop of the project no longer feels worth the effort of a Saturday morning, you haven’t simplified the project; you’ve hollowed out its soul.

What's the realistic way to pick a tech stack that won't become a maintenance nightmare when I only have four hours a week to work on it?

Don’t chase the “new shiny” or try to build a distributed system in Rust just to prove you can. If you only have four hours a week, your biggest enemy isn’t performance; it’s friction. Pick the stack you already know well enough to sleep through. If you have to spend three hours debugging a build tool or a complex ORM configuration, you’ve already lost the week. Use the boring stuff. Boring is predictable, and predictable gets shipped.

How do you actually schedule time for this without it feeling like a second job that's constantly failing?

Stop trying to find “blocks of time” in your calendar. If you treat your side project like a sprint, you’ll burn out by Tuesday. I stopped trying to schedule “deep work” and started looking for the gaps—the thirty minutes after dinner or the hour before the house wakes up. Don’t aim for a second job; aim for small, consistent commits. If it feels like a chore, you’ve over-engineered the schedule. Just show up.

At what point do I stop treating a side project as a learning tool and start treating it like something that actually needs to ship?

The moment you start building features that you know how to build, but you’re only doing it to “feel productive.” If you’re spending three days perfecting a custom authentication wrapper instead of just using a library so you can actually deploy, you’re no longer learning; you’re procrastinating. Stop tinkering with the plumbing once the water is running. Ship the thing, let it break in the wild, and learn from the actual users instead of your own assumptions.

How to decide where validation belongs.

Validate at the Edge, Trust the Inside

Posted on May 6, 2026 by Tomasz Wierzbicki

I once spent three days debugging a race condition in a logistics system that only triggered when a specific combination of malformed JSON hit our API gateway. We had layers of validation—some in the frontend, some in the middleware, and some deep in the database constraints—yet the system still let garbage data slip through the cracks. It wasn’t a lack of code; it was a lack of clarity. Most senior devs will give you a lecture on architectural patterns or design principles, but they rarely tell you the practical reality of how to decide where validation belongs when your production database is screaming at you.

I’m not here to sell you on a specific framework or a “perfect” way to structure your DTOs. Instead, I want to look at the trade-offs of where you actually place your logic. I’ll walk you through the messy middle ground between “validating everything at the edge” and “trusting the database to catch it,” based on the times I’ve been wrong. My goal is to help you build a system where you can actually sleep through the night because you know exactly which layer is responsible for keeping the junk out.

Table of Contents

  • Navigating Social Validation Layers Under Extreme Pressure
  • The Cost of Choosing Internal vs External Validation
  • A few rules of thumb I use when the architecture starts looking messy
  • What I've learned from the wreckage
  • The Final Trade-off
  • Frequently Asked Questions

Navigating Social Validation Layers Under Extreme Pressure

Navigating Social Validation Layers Under Extreme Pressure

When the pager goes off and the incident commander is breathing down your neck, the technical problem is only half the battle. I’ve sat in bridge calls where the pressure was so high that people stopped communicating facts and started seeking constant reassurance. This is where navigating social validation layers becomes a survival skill. You see it constantly: engineers looking for external validation from a lead just to confirm they aren’t making a mistake, even when the logs are screaming the answer. It’s a massive drain on cognitive load. If you spend your energy trying to manage everyone’s anxiety instead of fixing the database, the MTTR (Mean Time To Recovery) is going to skyrocket.

The trick is distinguishing between the need for technical consensus and the trap of seeking constant approval. In a high-stakes environment, you have to maintain a level of psychological safety and trust that allows for quick, decisive action without the need for a committee vote on every command. I’ve learned that the most effective responders are those who can provide clear, objective feedback without getting bogged down in the emotional turbulence of the room. You aren’t there to soothe everyone’s ego; you’re there to stabilize the system. If you can’t separate the technical truth from the social noise, you’ll find yourself stuck in a loop of indecision while the production environment burns.

The Cost of Choosing Internal vs External Validation

The Cost of Choosing Internal vs External Validation

The mistake I see most often isn’t a lack of validation logic; it’s a lack of understanding about where the cost is actually paid. If you dump everything on the client side, you’re essentially asking the user to do your job for you. It feels snappy and responsive, but it’s a facade. The moment someone bypasses your UI with a `curl` command or a rogue script, your database becomes a landfill of corrupted state. You’ve optimized for a smooth user experience at the expense of system integrity, and that’s a debt that always comes due during a migration or a scale-up event.

On the flip side, relying solely on heavy, server-side validation for every single keystroke is its own kind of nightmare. It turns your backend into a bottleneck and creates a sluggish, frustrating interface. It’s a bit like the tension between internal vs external validation in a psychological sense; if the system only feels “right” when the server gives a thumbs up, the user experience feels disconnected and heavy. You end up with a system that is technically “correct” but practically unusable. I’ve learned that the goal isn’t to pick a side, but to decide where the source of truth lives versus where the feedback loop lives.

A few rules of thumb I use when the architecture starts looking messy

  • Validate at the boundary, but don’t stop there. I’ve seen too many systems crash because the API layer checked the email format, but the database layer assumed the string was already sanitized. Treat every internal service call as if it’s coming from a malicious user; it’s the only way to sleep through the night.
  • If the validation logic requires a database lookup, it’s business logic, not input validation. Don’t let your request parsers start making network calls. It’s a recipe for latency spikes and a very confusing trace when the “input validation” step suddenly hangs because the connection pool is exhausted.
  • Favor “Parse, don’t validate.” Instead of passing a raw string around and checking if it’s a valid UUID every time a function touches it, transform that string into a specific `UserId` type as soon as it enters your system. If the type exists, the data is valid. It turns a runtime headache into a compile-time certainty.
  • Distinguish between “is this well-formed” and “is this allowed.” Checking if a number is between 1 and 100 is a structural check; checking if that user has enough balance to spend that 100 is a state check. Mixing these two up is how you end up with race conditions that are impossible to replicate in staging.
  • Document the “why” of your validation rules in the code, not just the “what.” I don’t need a comment saying `if (age < 18)`. I need to know that we are enforcing this because of a specific compliance requirement from the legal team in 2022. Without that context, the next engineer will "optimize" it right out of existence.

What I've learned from the wreckage

Don’t treat validation as a single “layer” to be checked off; it’s a series of gates. If you only validate at the API edge, your database will eventually ingest garbage when a background job or a migration script bypasses that gate.

Choose your battle based on the cost of failure. If a bad input means a UI error, keep it at the edge. If a bad input means a corrupted ledger or a broken state machine, it belongs in the core domain, no matter how much it slows down the development cycle.

Write your validation rules as part of your business logic, not as a side effect of your framework. If you can’t explain the validation rule without mentioning a specific library or a JSON schema, you haven’t actually defined what your data is supposed to look like.

The Final Trade-off

Architectural decisions and The Final Trade-off.

At the end of the day, there is no “correct” layer for validation—only a set of trade-offs that you have to live with when the logs start screaming. You can push everything to the edge to keep your core logic clean, but you’ll pay for it in complex error handling and fragmented state. Or, you can enforce everything at the center, which keeps your domain models pure but often results in clunky, unhelpful API responses that leave frontend developers guessing. The goal isn’t to find a perfect architecture; it’s to ensure that the decision you make is intentional and that you aren’t just blindly following a pattern you saw in a blog post three years ago.

I’ve spent enough time fixing broken state in production to know that the most dangerous code is the kind that assumes it knows where the truth lives. Don’t aim for a system that is theoretically perfect; aim for one that is predictable under pressure. When you decide where a check belongs, ask yourself if you’ll be able to debug it at 2:00 AM when the data is malformed and the service is timing out. If you can answer that, you’re probably on the right track. Now, go write the commit message and actually build the thing.

Frequently Asked Questions

If I move validation to the domain layer to keep it "pure," how do I handle the inevitable performance hit when I'm checking massive batches of data?

The “pure domain” approach is great for correctness, but it’s a trap if you try to run it blindly against a million-row batch. I’ve seen this before: the domain model is perfect, but the database is screaming because you’re pulling every entity into memory just to check a single field.

At what point does "defensive programming" at every single layer become just redundant code that makes the system impossible to refactor?

It becomes redundant the moment you stop trusting your own types. If your internal service layer is checking if an ID is a UUID for the tenth time, you aren’t being “defensive”—you’re just writing boilerplate that hides the actual business logic. I’ve seen codebases where refactoring a single field felt like a game of Minesweeper because every layer had its own redundant validation logic. Validate at the boundaries; trust your types in the core.

How do you manage the tension between strict backend validation and the need to keep the frontend snappy and responsive for the user?

I’ve seen this play out: the backend is a fortress, but the UI feels like it’s wading through molasses because every keystroke triggers a round-trip to a database.

When a validation rule changes—like a new compliance requirement in payments—how do I avoid having to touch five different services just to update one check?

The temptation is to scatter these rules everywhere for “efficiency,” but that’s how you end up in dependency hell. When a compliance rule changes, you shouldn’t be playing whack-a-mole across five microservices. I’ve learned the hard way: if the logic is business-critical, it belongs in a single, authoritative source—usually a dedicated domain service or a shared library that isn’t a “junk drawer.” Centralize the rule, version the contract, and let the other services just consume the result.

How to write a contributing guide.

Tell Contributors How You Work

Posted on May 3, 2026October 31, 2026 by Tomasz Wierzbicki

I once spent three hours on a Tuesday morning trying to figure out why a simple pull request was stalling, only to realize the project’s documentation was essentially a collection of “good luck” wishes and broken links. Most people think they know how to write a contributing guide, but they usually just end up producing a bloated, 40-page manifesto that nobody actually reads. They focus on high-level philosophy and “community alignment” instead of the only thing that actually matters: telling a stranger exactly how to run the tests without their local environment exploding.

I’m not here to sell you on some theoretical framework for open-source governance. Instead, I want to show you how to build a practical, living document that survives contact with reality. I’ll share what I’ve learned from years of cleaning up messy PRs and dealing with the fallout of poor documentation, focusing on the trade-offs between being thorough and being concise. My goal is to help you write a guide that serves as a functional specification for your contributors, ensuring they can get work done without needing to ping you on Slack every ten minutes.

Table of Contents

  • Setting Project Contribution Standards That Actually Work
  • Defining a Clear Open Source Contribution Workflow
  • Five things that actually matter when someone opens your repo
  • The TL;DR for Not Losing Your Mind
  • The Goal Isn't Perfection, It's Sanity
  • Frequently Asked Questions

Setting Project Contribution Standards That Actually Work

Setting Project Contribution Standards That Actually Work

When I was at the insurance firm, we had hundreds of pages of documentation that nobody read. It was a graveyard of “best practices” that didn’t account for how people actually work. If you want your project contribution standards to actually stick, you have to stop treating them like a legal contract and start treating them like a map. People don’t want to read a manifesto; they want to know exactly which branch to pull from and what the linting rules are before they waste an hour on a feature that will just get rejected by the CI.

The biggest mistake I see is a broken developer onboarding process where the “how-to” is buried in a README that hasn’t been updated since 2021. I’ve learned that you need to define the “happy path” very clearly. This means having explicit pull request guidelines that tell a contributor: “If you do X, Y, and Z, your code will likely pass.” Don’t just tell them to “write good tests”—tell them which testing library you use and how much coverage you actually expect. It’s about reducing the cognitive load required to be helpful, rather than testing whether they can guess your unspoken preferences.

Defining a Clear Open Source Contribution Workflow

Defining a Clear Open Source Contribution Workflow.

A workflow shouldn’t be a labyrinth of “if/then” statements that leaves a contributor feeling like they’re navigating a minefield. If your open source contribution workflow is too opaque, people will simply give up and find a project that doesn’t make them feel stupid. I’ve seen too many repos where you have to ping three different maintainers on Discord just to find out which branch to target. Instead, map out the path from “I found a bug” to “the code is merged” in plain English. Tell them exactly where to fork, how to run the local test suite, and—most importantly—how to submit their work.

The goal here is a frictionless developer onboarding process. You want to move them from curiosity to a successful pull request as quickly as possible. This means having explicit pull request guidelines that cover the boring but essential stuff: commit message formats, linting requirements, and how to write a description that actually explains why a change was made. If you leave these details to chance, you’ll spend your entire weekend cleaning up messy diffs and chasing down people who forgot to run the tests. Automate the gatekeeping where you can, but keep the human instructions simple and predictable.

Five things that actually matter when someone opens your repo

  • Write for the tired person. Assume whoever is reading your guide is either caffeinated to the point of jitteriness or, more likely, trying to figure this out at 11 PM after a long day. If they have to hunt through three different files to find the linting rules, you’ve already lost them. Keep the “how-to” steps linear and obvious.
  • Document the “why,” not just the “how.” Telling someone to run `make test` is easy. Telling them why we use a specific mock for the payment gateway—and what happens if they bypass it—is what prevents a production incident six months from now. I’ve learned the hard way that people will follow instructions, but they won’t follow logic they don’t understand.
  • Show, don’t just tell, the commit format. I write my commit messages before I write the code because it forces me to be certain about what I’m actually changing. Your guide should have a concrete example of a “good” commit versus a “bad” one. If your history looks like a series of “fix stuff” messages, your guide has failed.
  • Be honest about the trade-offs. If your contribution process is slow because you require manual review for every single change to the database schema, say that. Don’t pretend it’s a “high-velocity workflow.” If people know they’re entering a high-friction zone, they’ll approach it with the right level of caution.
  • Include a “Common Failure Modes” section. This is my personal favorite. Instead of just listing the setup steps, list the three things that usually go wrong during setup—like a missing environment variable or a specific version of Node that everyone forgets to mention. It turns your guide from a manual into a survival kit.

The TL;DR for Not Losing Your Mind

Treat your guide as a debugging manual, not a manifesto; if a contributor can’t figure out how to run the tests or lint the code within five minutes, your documentation has failed.

Explicitly document the “why” behind your weirdest constraints, because explaining the same architectural trade-off to a third stranger is a waste of everyone’s time.

Automate the enforcement of your standards so you can stop being the human linter and go back to actually building things.

The Goal Isn't Perfection, It's Sanity

The Goal Isn't Perfection, It's Sanity.

At the end of the day, a contributing guide isn’t a piece of formal literature; it’s a survival manual for your project. You don’t need to document every single edge case or write a manifesto on why your choice of linter is superior. You just need to define the workflow, set the standards for what a “good” PR looks like, and make sure the onboarding friction is low enough that people don’t give up before their first commit. If you’ve clearly defined how to run the tests and how to structure a fix, you’ve already done more than 90% of the projects out there. Remember, the best guide is the one that stops the same questions from being asked every single week.

I’ve spent too many hours debugging issues that could have been avoided if a single line of documentation had been clearer. Writing this guide might feel like a chore right now, but think of it as an investment in your future sleep schedule. You aren’t just writing for the contributors; you are writing for the future version of yourself who will inevitably forget how this specific piece of the infrastructure works. Build something that is easy to join and even easier to maintain. If you do that, you’ll spend less time firefighting and more time actually building things that matter.

Frequently Asked Questions

How do I balance being strict enough to keep the codebase clean without scaring off potential contributors with a wall of bureaucracy?

The trick is to automate the boring stuff so you don’t have to be the bad guy. If you’re manually nitpicking indentation or missing semicolons in a PR, you’re just being a bottleneck. Use linters and pre-commit hooks to handle the “cleanliness” part. That way, your human review can focus on the actual logic and architecture. I’d rather spend my energy discussing a flawed concurrency model than arguing about trailing commas.

At what point does a guide become "too much"—should I be documenting every single linting rule, or just the stuff that actually breaks the build?

If you start documenting every single linting rule, you aren’t writing a guide; you’re writing a manual for a tool that already exists. Your contributors can read the linter’s output. Focus on the “why” behind the stuff that actually breaks the build or causes architectural drift. Document the decisions that aren’t obvious from the code alone. If a rule exists to prevent a specific, painful production incident I’ve lived through, write it down. Otherwise, let the CI do its job.

How do I keep the guide from becoming a dead document that's out of date the moment I refactor the CI pipeline?

The trick is to stop treating the guide like a manual and start treating it like code. If your documentation lives in a separate wiki, it’s already dead. Keep it in the repo. Better yet, tie it to the automation. If you change a CI step, the PR isn’t finished until the `.github/CONTRIBUTING.md` reflects that change. I’ve learned the hard way: if the docs and the pipeline disagree, the docs are lying.

If I'm running a small team, is it even worth writing a formal guide, or should I just stick to a README and a few good examples?

If you’re a team of two, a README is fine. But the moment you hire a third person or a contractor, the “just ask me” model becomes a bottleneck. You’ll spend more time repeating yourself in Slack than it would have taken to write the guide. I treat documentation like a buffer; it’s there so people can solve their own problems without pinging me while I’m trying to finish a ride.

Guide on how to debug a dns problem.

It Is Always Dns, Except When It Is Not

Posted on May 2, 2026 by Tomasz Wierzbicki

I once spent an entire Saturday morning at a logistics startup trying to figure out why our new microservice couldn’t talk to the database, only to realize I’d been staring at a cached record for forty minutes. There is a specific kind of madness that sets in when your application code is perfect, your network is “up,” and yet everything is failing because of a single, invisible string of characters. Most tutorials on how to debug a dns problem will tell you to check your config files or look at your provider’s dashboard, but they rarely mention the psychological toll of questioning your own sanity while chasing a TTL that refuses to expire.

I’m not here to give you a theoretical lecture on the OSI model or sell you on a fancy observability platform. Instead, I want to walk through the actual, messy steps I use when things go sideways in production. I’ll show you the specific commands I run to bypass my own assumptions and how to differentiate between a genuine configuration error and a local resolver being stubbornly helpful. This is about practical, battle-tested methods to find the truth, so you can get back to your life instead of staring at a terminal at 2 a.m.

Table of Contents

  • Why Your Dig Tool for Dns Troubleshooting Failed You
  • Finding the Ghost in the Dns Server Configuration Errors
  • Five things I stopped assuming when DNS goes sideways
  • The Lessons I Learned the Hard Way
  • The Post-Mortem Mindset
  • Frequently Asked Questions

Why Your Dig Tool for Dns Troubleshooting Failed You

Why Your Dig Tool for Dns Troubleshooting Failed You

I’ve spent more time than I care to admit staring at a terminal, convinced that the `dig` tool for dns troubleshooting was lying to me. You run the command, it returns the old IP address, and you immediately start questioning whether the entire global routing table has collapsed. But usually, the tool isn’t lying; it’s just telling you exactly what your local environment thinks is true. I once spent an entire afternoon debugging a deployment issue only to realize I was looking at a cached result from a local resolver that hadn’t been updated.

The trap is assuming that `dig` provides a window into the “real” internet. In reality, you are often just querying the specific nameserver your OS has decided to talk to. If you aren’t explicitly pointing your queries at an authoritative server—like `dig @8.8.8.8` or your provider’s specific nameservers—you’re just seeing a potentially stale snapshot. I’ve also learned the hard way that even if the records are correct at the source, a lingering dns propagation delay can make your local results look like a failure. Sometimes the fix isn’t a complex configuration change, but simply realizing your machine is still clinging to a ghost of the previous setup.

Finding the Ghost in the Dns Server Configuration Errors

Finding the Ghost in the Dns Server Configuration Errors.

The hardest part about troubleshooting domain name resolution isn’t usually the tools; it’s the assumption that the server you’re talking to is actually telling the truth. I once spent an entire afternoon chasing a phantom routing issue, only to realize the authoritative nameserver had a stale zone file that hadn’t synced across the cluster. When you encounter dns server configuration errors, the problem often hides in the gap between what you think is configured and what the edge is actually serving. It’s rarely a total blackout; it’s usually a subtle, inconsistent response that makes you feel like you’re losing your mind.

If you’re seeing intermittent failures, stop looking at your local machine and start looking at the source. I’ve learned the hard way that even if you check dns records online using a third-party web tool and they look perfect, your internal infrastructure might still be stuck in the past. You have to verify the glue records and the SOA serial numbers. If the serials don’t match across your primary and secondary nodes, you aren’t dealing with a network outage—you’re dealing with a desynchronized state that will haunt your logs until someone manually forces a zone transfer.

Five things I stopped assuming when DNS goes sideways

  • Stop trusting your local resolver. I used to run `nslookup` and think I was seeing the truth, only to realize my ISP’s cache was serving me a stale record from three hours ago. Always use `dig @8.8.8.8` or a specific authoritative nameserver to bypass the local noise and see what the world actually sees.
  • Watch the TTL like a hawk. Most of my production headaches come from updating a record and then wondering why the “fix” hasn’t propagated. If you’re planning a migration, drop your TTL to 60 seconds a day in advance. It’s a bit of extra work, but it beats sitting on a conference call for an hour waiting for a cache to expire.
  • Check the glue records. I once spent an entire afternoon chasing a non-existent domain because I forgot that the registrar’s nameservers didn’t actually match the ones I set in the zone file. If the glue is wrong, the chain is broken, and no amount of clever configuration will save you.
  • Don’t ignore the trailing dot. It’s a tiny, pedantic detail that trips up even experienced engineers. If you’re configuring a zone file and forget that FQDNs need that trailing dot, you’ll end up with a domain like `api.example.com.example.com`. It looks ridiculous in the logs, but it’s a classic “why is this failing” moment.
  • Verify the path, not just the destination. Sometimes the DNS record is perfectly fine, but a firewall or a security group is silently dropping UDP port 53 traffic. If `dig` is timing out instead of returning an error, stop looking at your records and start looking at your network ACLs.

The Lessons I Learned the Hard Way

Don’t trust your local cache; if you aren’t testing against a known-good upstream resolver, you’re just debugging your own machine’s outdated memory.

TTL is a lie until it’s proven; always verify the actual time-to-live on the record you’re seeing, because assuming a long propagation window is how you spend four hours chasing a ghost.

Configuration errors are often silent; a server that responds isn’t necessarily a server that’s working correctly, so verify the specific record type, not just the connectivity.

The Post-Mortem Mindset

Debugging DNS with The Post-Mortem Mindset.

At the end of the day, debugging DNS isn’t about mastering a single command-line tool; it’s about realizing that your assumptions are usually the first thing that breaks. We’ve looked at why `dig` can lie to you when you ignore TTLs, and how a single misconfigured zone file can act like a ghost in the machine. If you can move past the habit of just checking if a record exists and start verifying the entire resolution path—from your local resolver all the way to the authoritative nameserver—you’ll stop chasing symptoms and start finding the actual root causes. It’s tedious, and it’s rarely as exciting as a new framework launch, but it’s the difference between a five-minute fix and a four-hour production outage.

I’ve spent enough nights on standby to know that these incidents feel personal while they’re happening. You feel like you should have known better. But the truth is, the network is a messy, layered abstraction that will always find a way to surprise you. Don’t let the frustration turn into a desire to just “patch it and move on.” Instead, treat every DNS headache as a documented lesson for your future self. Write down the weird edge case you found, even if it feels trivial now. One day, you’ll be the one getting the 2 a.m. page, and you’ll be glad you did the work to make the problem predictable instead of magical.

Frequently Asked Questions

How do I tell if the issue is actually my local resolver or if the upstream provider is just having a bad day?

The quickest way to stop guessing is to bypass your local stack entirely. If `dig` is failing, run it against a known-good public resolver like `1.1.1.1` or `8.8.8.8` using the `@` flag. If the public resolver gives you the right answer but your local one doesn’t, you’ve found your culprit—it’s likely your local cache or a misconfigured `/etc/resolv.conf`. If the public resolver also fails, then the upstream is indeed having a bad day.

When should I stop chasing TTL issues and just admit the record hasn't propagated yet?

If you’ve checked the authoritative nameservers and they’re returning the new record, but your local resolver is still spitting out the old one, stop. You’re just fighting a cache. If the change has been live for at least two TTL cycles and you’re still seeing discrepancies across different geographic regions, it’s not a “bug”—it’s just propagation. Close the terminal, go for a ride, and check it again in an hour. Chasing a single stale cache is a waste of a night.

Is there a way to verify if a specific DNSSEC signature is actually the reason my queries are being dropped?

If you suspect DNSSEC is the culprit, stop guessing and check the validation status directly. I usually use `dig +dnssec` to pull the RRSIG records, but the real test is checking the `AD` (Authenticated Data) flag in the response. If your resolver isn’t returning that bit, or if you see `SERVFAIL` when querying a known-good recursive resolver, your signatures are likely broken or the chain of trust is severed. Check the DS records upstream; that’s usually where the mismatch lives.

How do I debug DNS issues when I'm stuck behind a corporate proxy or a restrictive firewall that's hijacking my requests?

When you’re behind a corporate proxy, your local tools are lying to you. I’ve spent way too many hours debugging “DNS issues” that were actually just a middlebox intercepting port 53 and serving its own cached junk.

How to make a build cache work for you.

Stop Rebuilding What Did Not Change

Posted on May 1, 2026November 7, 2026 by Tomasz Wierzbicki

I’ve lost count of how many times I’ve sat through “best practices” seminars where some consultant explains how to implement a complex, distributed caching layer that costs more in compute than it saves in developer time. Most of the industry treats build optimization like a magic black box, but the reality is usually much uglier: you end up with a system that is either painfully slow or, worse, silently incorrect. I learned this the hard way during a deployment at my old logistics startup, where a poisoned cache pushed a broken build to production because we thought “faster” was always better. If you’re trying to figure out how to make a build cache work for you without turning your CI pipeline into a source of non-deterministic nightmares, you need to stop looking at the hype and start looking at your cache keys.

I’m not here to sell you on a specific tool or a fancy new framework. Instead, I want to share what I’ve learned from years of watching builds fail in production and the specific, boring trade-offs that actually matter. I’ll walk you through how to structure your dependencies so they actually stay valid, how to detect when a cache is lying to you, and how to maintain sanity when your build times start creeping up again. No evangelism, just the stuff that keeps you from getting paged at 2:00 AM.

Table of Contents

  • Dependency Management in Build Systems Went Sideways
  • The Cost of Reducing Cicd Pipeline Latency Incorrectly
  • Five ways to stop fighting your cache and start using it
  • What I'm actually trying to say
  • Don't let your cache become a liability
  • Frequently Asked Questions

Dependency Management in Build Systems Went Sideways

Dependency Management in Build Systems Went Sideways

A few years back, while I was at that logistics startup—the one that eventually ran out of runway—we hit a wall with our build times. We were trying to scale, but every time a developer pushed a minor change, the entire CI pipeline would choke. We had fallen into the trap of thinking that more powerful runner instances would solve our problems, but we were just throwing money at a fundamental architectural mess. The issue was that our dependency management in build systems had become a tangled web of non-deterministic versioning. We weren’t actually building the same thing twice; we were building something slightly different every single time, which made any attempt at caching completely useless.

I remember sitting there, staring at a Jenkins log that was three thousand lines long, trying to figure out why a simple change to a utility library was triggering a full re-compile of the entire monolith. It turns out, we hadn’t accounted for how transitive dependencies were leaking into our build environment. We were essentially fighting against our own tools. We weren’t optimizing incremental builds; we were just praying that the compiler would be smart enough to realize it had seen these files before. Spoiler: it wasn’t. That was my first real lesson in why you can’t just “turn on” a cache and expect magic; you have to actually earn it by making your builds predictable.

The Cost of Reducing Cicd Pipeline Latency Incorrectly

The Cost of Reducing Cicd Pipeline Latency Incorrectly

The problem with trying to speed things up is that “faster” is often a mask for “unreliable.” I’ve seen teams chase reducing CI/CD pipeline latency by aggressively pruning what they think are redundant steps, only to realize they’ve actually broken the hermeticity of their builds. You end up with a pipeline that finishes in four minutes most of the time, but fails randomly on Tuesdays because a stale layer from a previous run leaked into the current workspace. It’s a special kind of hell where you stop trusting your green checkmarks.

When you move toward optimizing incremental builds, the temptation is to just cache everything. But if your cache key doesn’t account for the subtle environmental shifts—like a minor version bump in a system library or a change in the build agent’s OS—you aren’t actually building; you’re just replaying a ghost of a successful build from three days ago. I learned this the hard way when a “fast” deployment actually shipped a binary that was missing a critical security patch, simply because the cache thought the source hadn’t changed. The trade-off here is clear: you can have a fast pipeline, or you can have a correct one. Trying to cheat both usually results in a broken one.

Five ways to stop fighting your cache and start using it

  • Stop using a single global cache key. If you change one line in a utility library and your entire build has to re-compile every single downstream service, your cache isn’t helping you; it’s just a massive, slow way to fail. Use fine-grained keys based on specific lockfiles.
  • Treat your cache like a volatile resource, not a source of truth. I’ve seen too many teams treat a poisoned cache as “the way things are.” Always implement a manual “nuke” button in your CI pipeline so you can clear the state without having to rewrite your YAML files.
  • Watch out for non-deterministic build outputs. If your compiler injects a timestamp or a random build ID into the binary, your cache hit rate will drop to zero even if the code hasn’t changed. If the hash changes every time, you aren’t caching; you’re just downloading junk.
  • Cache the dependencies, not the entire build directory. It’s tempting to just zip up the whole `/build` folder, but you end up pulling in massive amounts of stale artifacts that increase your transfer time more than the actual build time. Stick to the package manager’s local storage.
  • Profile the “cache miss” cost. If a cache miss takes 2 minutes but downloading the cache takes 3 minutes because your network is throttled, you’ve actually made your CI slower. Sometimes, the fastest build is the one that doesn’t bother checking the cache at all.

What I'm actually trying to say

Caching is not a “set and forget” optimization; if you don’t have a clear strategy for when a cache is invalid, you aren’t saving time, you’re just introducing non-deterministic bugs that will haunt your on-call rotation.

Always prioritize correctness over speed. A five-minute build that actually works is infinitely more valuable than a two-minute build that occasionally ships a stale binary because the cache key didn’t account for a subtle dependency change.

Treat your cache keys like code. They need to be explicit, versioned, and easy to reason about, or you’ll end up spending more time debugging the build system than you ever saved by making it faster.

Don't let your cache become a liability

Don't let your cache become a liability.

At the end of the day, a build cache isn’t a “set and forget” feature; it’s a piece of state that you are responsible for managing. If you treat it like magic, you’ll eventually end up like I did, staring at a green pipeline that is actually shipping broken artifacts because of a poisoned dependency layer. You have to balance the obvious speed gains against the risk of non-deterministic builds. My rule of thumb is simple: if you can’t explain exactly why a cache hit occurred, you shouldn’t trust it. Keep your keys granular, monitor your hit rates, and always, always prioritize correctness over raw speed. A fast build that produces the wrong binary is just a very efficient way to break production.

I know it’s tempting to just chase the lowest possible CI latency numbers to satisfy a dashboard, but the real win is building a system that is predictable. I’ve spent enough late nights debugging “ghost in the machine” issues to know that stability is the ultimate optimization. Don’t build a black box that no one on your team understands. Build something transparent, something documented, and something that lets you sleep through the night. If you do that, the speed will come as a natural byproduct, rather than a source of constant anxiety.

Frequently Asked Questions

How do I actually verify if my cache is giving me a real speedup or if I'm just paying for storage that's mostly stale?

Don’t trust the “total time” metric in your CI dashboard; it’s a lie. To see if your cache actually matters, you need to look at the cache hit rate versus the actual wall-clock time of specific job steps. I usually run a few “clean” builds—completely bypassing the cache—and compare them to cached runs. If your “optimized” build is only 10% faster but costs triple in S3 storage, you aren’t optimizing; you’re just paying a tax for vanity.

What’s the best way to handle cache invalidation when a critical security patch needs to be rolled out across the whole fleet immediately?

When a security patch hits, you don’t want to play a guessing game with TTLs. I’ve seen teams wait hours for a cache to expire while a vulnerability sat wide open. The cleanest way is to implement a global cache versioning key in your build config. By bumping a single environment variable—say, `CACHE_VERSION=2`—you force a clean slate across the entire fleet instantly. It’s a blunt instrument, but in a crisis, blunt is reliable.

At what point does the complexity of managing a remote cache outweigh the time saved on build durations?

It’s a math problem, not a philosophy one. If your team is small and your build takes ten minutes, don’t touch a remote cache. You’ll spend more time debugging cache poisoning and S3 permission issues than you’ll ever save in developer idle time. You only pull the trigger when the “waiting for CI” tax exceeds the engineering hours required to maintain the infrastructure. If you’re fighting the cache more than once a month, you’ve overshot.

How do I stop a single "poisoned" dependency from nuking the cache for every other developer on the team?

The trick is to stop treating your cache like a single, giant bucket. When you use one massive blob for everything, one bad dependency version or a corrupted download ruins the whole lot. I started using granular, content-addressed keys. Instead of one `cache-key`, I hash the specific lockfiles for different layers—one for OS packages, one for language runtimes, and one per service. If the Go dependencies break, your Python layer stays untouched.

How to make a technical case to a non technical manager.

Explain the Risk in Money and Time

Posted on April 30, 2026 by Tomasz Wierzbicki

I once spent three weeks building a slide deck filled with complex architectural diagrams and latency percentiles, thinking I was being thorough. I walked into my director’s office, laid out the “technical necessity” of a database migration, and watched his eyes glaze over within forty seconds. He didn’t care about our read-write throughput; he cared about the quarterly roadmap. I realized then that if you want to learn how to make a technical case to a non technical manager, you have to stop acting like a professor and start acting like a risk manager. Most engineers fail here because they try to win an argument about elegance when they should be discussing stability.

I’m not going to give you a lecture on “stakeholder alignment” or any other corporate buzzwords that mean nothing in a real production environment. Instead, I’m going to share the actual patterns I’ve used to get budget and time approved—the kind of stuff that comes from losing arguments in the past. We’ll look at how to translate technical debt into actual business cost and why your best weapon isn’t a graph, but a clear explanation of what happens when the system inevitably breaks.

Table of Contents

  • Communicating Complex Concepts Simply Without Losing the Stakes
  • Bridging the Technical Gap Before the Next Outage
  • Five ways to stop being ignored by the people with the budget
  • The Summary for When They Only Have Five Minutes
  • The Bottom Line
  • Frequently Asked Questions

Communicating Complex Concepts Simply Without Losing the Stakes

Communicating Complex Concepts Simply Without Losing the Stakes

The mistake I see most often is trying to explain the “how” when you should be explaining the “what if.” When I’m communicating complex concepts simply, I don’t talk about race conditions or thread pool exhaustion. If I tell a manager that our database connection pool is undersized, I get a blank stare. If I tell them that the current setup means the checkout service will likely hang every Friday during peak traffic, I get a budget. You aren’t teaching them computer science; you are mapping technical failure to operational reality.

This is the core of explaining technical debt to stakeholders. They don’t care that the code is “messy” or “unidiomatic”—those are aesthetic complaints to them. They care about predictability. I’ve learned to frame every technical requirement as a choice between two different types of risk: the known cost of a refactor now, or the unknown, much higher cost of a system outage later. You aren’t asking for permission to clean up your workspace; you are presenting a plan to ensure the business doesn’t grind to a halt because we ignored a foundation that was cracking under load.

Bridging the Technical Gap Before the Next Outage

Bridging the Technical Gap Before the Next Outage

The mistake most of us make is waiting for the fire to start before we try bridging the technical gap. We treat technical debt like a private secret, something we manage in the shadows of our sprints, and then we act surprised when the budget is denied. If you wait until the database is locking up and the dashboard is bleeding red to start explaining technical debt to stakeholders, you’ve already lost. By then, you aren’t presenting a strategic plan; you’re just making excuses for a disaster that was predictable.

Instead, I’ve found that the most effective way to manage this is to treat “stability” as a feature, not a chore. When I sit down with my manager, I don’t talk about refactoring a legacy service or migrating to a new message broker. I talk about predictability. I explain that by investing in this specific piece of infrastructure now, we are essentially buying insurance against the kind of downtime that halts our ability to process payments. It’s about translating technical requirements into business value before the crisis hits. If you can show them that a small, controlled investment today prevents a massive, uncontrolled outage next month, you aren’t just an engineer anymore—you’re a partner in the business’s survival.

Five ways to stop being ignored by the people with the budget

  • Stop talking about technical debt and start talking about “interest.” If we don’t fix this refactor now, every new feature we try to ship next quarter will take twice as long and cost twice as much. Managers understand interest rates; they don’t care about your clean code abstractions.
  • Use the “Blast Radius” metric. When I tell a manager a database is unoptimized, they hear “slow.” When I tell them “if this specific service spikes, it will take down the entire checkout flow and stop us from taking payments,” they listen. Always define the boundaries of the failure.
  • Trade-offs are your best friend. Never present a single solution as a miracle cure. Present two options: Option A is the quick fix that buys us three months but increases our risk of a crash, and Option B is the robust fix that takes longer but stabilizes the platform. Let them choose the risk level.
  • Connect the technical failure to a business metric they actually track. If a memory leak is causing latency, don’t show them a heap dump. Show them the correlation between the leak and the drop in conversion rates on the mobile app. Data is harder to argue with than “it feels slow.”
  • Bring a “Post-Mortem” mentality to your proposals. Instead of saying “we should upgrade our version of Kubernetes,” say “we are currently running on a version that will lose support in six months, which means if it breaks, we won’t have a vendor to call for help.” Frame it as a proactive defense against a known future problem.

The Summary for When They Only Have Five Minutes

Stop translating code into business jargon; translate technical debt into the specific risk of a service outage. If you can’t explain how a refactor prevents a Tuesday morning meltdown, you haven’t identified the real problem yet.

Always lead with the trade-off. Managers don’t need to know how the new database works, they need to know that choosing Option A gives us speed now but will cost us three weeks of maintenance later.

Document the “why” as much as the “what.” When you finally get the approval to fix something, write down the decision so that six months from now, when someone asks why we didn’t just use the cheaper tool, you aren’t stuck re-litigating the same argument.

The Bottom Line

The Bottom Line: risk and reliability.

At the end of the day, making a case to management isn’t about proving how smart you are or how much you know about distributed systems. It’s about translating technical debt into the only language that actually moves the needle: risk and reliability. If you can stop talking about microservices and start talking about the probability of a service outage during a peak sales window, you’ve already won half the battle. You aren’t asking for permission to play with new tools; you are presenting a roadmap to keep the lights on and the business running predictably.

I’ve spent enough time in the trenches to know that the most elegant code in the world doesn’t matter if nobody understands why it needs to exist. Don’t get frustrated when they don’t care about your refactoring efforts; instead, take it as a signal to change your perspective. Build that bridge between the terminal and the boardroom. If you do this well, you won’t just be the person who fixes things when they break at 2:00 AM—you’ll be the person who prevented them from breaking in the first place.

Frequently Asked Questions

What do I do when the manager responds to my risk assessment by just saying "we don't have the budget for this right now"?

When they say “no budget,” they aren’t rejecting your technical logic; they’re rejecting your cost-benefit calculation. You’ve likely presented it as a technical necessity rather than a financial one. Stop talking about refactoring or technical debt—those are invisible costs to them. Start talking about the cost of downtime. If the system goes down, what is the literal dollar amount lost per minute? Give them a number they can actually put in a spreadsheet.

How do I handle a situation where the manager is technically literate enough to argue with me, but still makes decisions based purely on feature velocity?

This is the hardest one. When they know enough to push back, they’ll frame your technical debt as “gold plating.” Don’t fight them on the elegance of the code; fight them on the math of the slowdown. I’ve learned to stop saying “this is messy” and start saying “this approach adds a 20% tax to every feature we ship next quarter.” If they want velocity, show them how the current path is actually a brake.

Is there a way to track these technical debt conversations so I can point back to them when the inevitable outage happens?

Don’t just let these conversations die in a Slack thread or a fleeting meeting. I keep a “Risk Log”—it’s basically a glorified spreadsheet of technical debt, the specific trade-offs we made, and the estimated cost of ignoring them. When the system eventually buckles, I don’t argue; I just pull up the log and say, “We talked about this in October. Here is the exact thing that broke.” It turns a blame game into a data point.

How much detail is too much? I don't want to sound like I'm hiding behind jargon, but I also don't want to oversimplify to the point where I'm being dishonest about the complexity.

The sweet spot is explaining the consequences, not the mechanics. If you start explaining how a distributed lock works, you’ve already lost them. Instead, tell them that without it, two different processes will try to charge the same customer twice. You aren’t being dishonest by skipping the implementation details; you’re being respectful of their time. If they need the math, they’ll ask. Otherwise, focus on the risk, not the syntax.

  • Previous
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • …
  • 22
  • Next

Recent Posts

  • The Signs You Will Ignore Until You Cannot
  • Crash Early Rather Than Corrupt Quietly
  • A Deadline Needs a Witness
  • Where the Evenings Actually Went
  • Teaching Yourself Without a Syllabus
  • Read Both Sides Before You Pick One

Categories

  • Career (44)
  • Code Habits (45)
  • Debugging (43)
  • Side Projects (45)
  • Tooling (43)

Archives

  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
© 2026 theboreddev.com | Powered by Minimalist Blog WordPress Theme