3 ms·
Unless you have some tricks up your sleeve that I'm not thinking of, an immediate consequence of this is that zero downtime deployments and blue/green deploymen
by Merad 2y ago
Unless you have some tricks up your sleeve that I'm not thinking of, an immediate consequence of this is that zero downtime deployments and blue/green deployments become impossible. Those both rely on your app being able to run in a state where the schema is not an exact match for what the app expects - but it's compatible so the app can still function.
- ComputerGuru 2y agoSemantic versioning?
- Merad 2y agoIf I understand the GP correctly, there's no notion of semver involved. Any difference in the schema results in a runtime error.
- ComputerGuru 2y agoYes, that’s what I gathered from the code. But I was proposing it as an “easy” solution that doesn’t involve throwing away OP’s main idea.
- Filligree 2y agoAnd that's okay. Most applications don't need zero-downtime deployments, and there are already plenty of APIs that support that use case. I'd rather have more like this one.