The False Idol of Immutability: On the Systems That Must Be Allowed to Stray
We are taught, with the fervor of a sacred vow, that our systems must be immutable. That any change to a running service is a sin, a deviation from the one true path of reliability. We build elaborate deployment pipelines to replace entire fleets with pristine, versioned artifacts, treating our production environments as if they were ancient temples where not a single stone can be moved. This dogma is powerful, clean, and in many cases, profoundly correct. But I have come to believe it is also incomplete.
There exists a class of small, vital services for which strict immutability is not a shield but a straitjacket. These are the systems of last resort, the quiet custodians of state that live in the dim corners of our infrastructure. The humble configuration server that holds the master switch for a failover. The tiny, internal API that manages a physical lock or a power relay. For these systems, the dogma of ‘never touch a running system’ can become a liability when the alternative is a cascading, hours-long outage.
I learned this not from a manual, but from a failing HVAC unit in a small server closet. The temperature was climbing, and the automated system responsible for controlling it was frozen, its logic trapped in a loop waiting for a network call that would never come. The immutable service was perfectly consistent, and perfectly useless. The ‘correct’ procedure was to build, test, and deploy a new version—a process that would take twenty minutes. The melting point of our hardware was considerably less.
In that moment, the heresy was the answer. A quick, careful, and deeply logged change to a single variable in the running process—a surgical strike that took ten seconds—brought the fans roaring back to life. We averted a disaster not by worshipping at the altar of immutability, but by acknowledging that some systems must retain a capacity for informed, manual intervention. They are less like temples and more like living gardens; they require occasional, careful tending.
This is not an argument for chaos. It is an argument for a more nuanced hierarchy of reliability. For our core application services, immutability remains king. But for these edge-case guardians, we must build a different kind of protocol—one that allows for emergency action under a strict regime of oversight. It requires exhaustive, real-time logging of any live change, a four-eyes principle for approval, and an immediate, automated ticket to retroactively justify the action taken. The change is still an exception, but it is a planned-for exception, a controlled venting of pressure to prevent a larger explosion.
Blind adherence to any principle, no matter how sound, can become a weakness. True reliability isn’t found in pure ideology, but in building systems that are resilient enough to handle the real world, even when the real world demands we break our own rules.
Notes & further reading
A few pages I came back to while writing this: