News for hackers. Stuff that matters.
Re:Rust-Query by Merad on Saturday November 30, 2024 @07:18PM (#42285078)
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.
Re:Rust-Query by Filligree on Saturday November 30, 2024 @07:58PM (#42285276)
And 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.
Re:Rust-Query by ComputerGuru on Saturday November 30, 2024 @07:30PM (#42285140)
Semantic versioning?
Re:Rust-Query by Merad on Saturday November 30, 2024 @08:30PM (#42285422)
If I understand the GP correctly, there's no notion of semver involved. Any difference in the schema results in a runtime error.
Re:Rust-Query by ComputerGuru on Saturday November 30, 2024 @10:40PM (#42285994)
Yes, 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.