News for hackers. Stuff that matters.

ainhu

Re:Ask HN: Database migration on production without downtime on Saturday March 28, 2020 @11:31AM (#22711695)
We already perform migrations separately but we were trying to avoid needing to be backwards-compatible. However, it looks like this is the best approach. Thanks!
Re:Ask HN: Database migration on production without downtime on Saturday March 28, 2020 @11:29AM (#22711689)
I guess backwards-compatibility in the app is probably the way to go. Thank you for your comment!
Re:Ask HN: Database migration on production without downtime on Saturday March 28, 2020 @11:29AM (#22711688)
This and the pt-online-schema-change tools look promising but not really applicable to NoSQL :(
Re:Ask HN: Database migration on production without downtime on Saturday March 28, 2020 @11:28AM (#22711683)
Thank you very much for the advice, it is really useful.

Ask HN: Database migration on production without downtime

How do you handle database migration on production servers without downtime?We are currently struggling to find the right strategy to handle migrations of our database schemas without downtime. We are running a NodeJS application with a MongoDB on Kubernetes and can have thus pods of different versions running concurrently when deploying a new version (we currently perform rolling updates).Some...

( Read More... | 9 comments | 9 points | on HN )