by from-nibly · 2y ago · 0 comments
The thing about immutable infrastructure is that its straightforward. There are a set of assumptions others can make about your app.
Immutable infrastructure is boring. Deployments are uncreative. Thats a good thing.
Repeat after me, "my creative energy should be spent on my customers"
"I should save my energy, so I won't exercise."
"I should save money, so I won't deploy it towards investments."
I don't think "creativity" is a zero-sum, finite resource; I think it's possible to generate more by spending it intelligently. And he pointed out how moving towards immutable infrastructure, while more "standard," directly hurt customers (the engineering team lost deployment velocity and functionality), so it's especially weird to end your comment the way you did.
To say "immutable infrastructure is just more straightforward" so definitively, from the limited information you have, is just you stating your biases. The stateful system he describes the company moving away from may also have been pretty "straightforward" and "boring," just with different fixed points. Beauty in the eye of the beholder and all that.
I agree with you. But from the blog:
>> "Product requirements were changed to play with the adopted tech."
That's when things may have gone too far.
The general nastiness of updates is one of the largest customer friction points in many systems, but creative energy should be directed away from fixing it?
Gross.
I'm sure most applications in life benefit from accepting a little downtime in order to simplify development. But there are certainly scenarios where we can use some "high quality engineering" to make downtime as low as possible.
Um, the article did.
The biggest problem with bespoke deployments like this is that they can widen the gap between a happy path and a disaster. If deployments are faster but not derisked, customer expectations are raised but failure cases become more costly.
Too much power to architects worsen the situation because they both have formal responsibility to keep the downtime low, but they are also appointed to finding technical solutions rather than sometimes technically mundane product improvements.
Also in the worst case, this solution becomes so cool that it attracts the best developers internally, away from building products.
You are correct for 90% of the cases, but this also kills innovation.
And the way to do the thing the article complains about is with partial deployments.
Both of those are much better behaved on a large-scale ops than the small-scale counterparts. K8s kinda "supports" both of them, but like almost everything in k8s, it's more work, and there are many foot-guns.