Re:I love building a startup in Rust. I wouldn't pick it again
by dboreham on Friday February 17, 2023 @01:39PM
(#34838576)
Rolling deployment is a hack imho. Adds complexity and hence yet more potential failure modes.
[ Parent
| on HN ]
Re:I love building a startup in Rust. I wouldn't pick it again
by oauea on Friday February 17, 2023 @02:10PM
(#34838930)
Hardly, it's a fantastic guardrail when combined with health checks. You can say "you don't need it", but everyone makes mistakes sometimes. Make those mistakes not matter. You also take backups, right? Same idea.
Re:I love building a startup in Rust. I wouldn't pick it again
by dboreham on Sunday February 19, 2023 @11:37AM
(#34859073)
It has a non-zero cost though, which is why I don't like it.
Things go wrong with the "roll" for example.
You have potentially two versions of your code running against the same DB for some time.
Stop -> deploy code -> start is simpler and less likely to go wrong.