Hacker News new | ask | show | jobs
by dboreham 1213 days ago
Rolling deployment is a hack imho. Adds complexity and hence yet more potential failure modes.
1 comments

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.
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.