4 ms·
This is basically what we did, except during the "upgrade the application and database" step, we suspended all traffic to our app servers. The schema change was
by msherry 14y ago
This is basically what we did, except during the "upgrade the application and database" step, we suspended all traffic to our app servers. The schema change was an incompatible change (I think this is what you mean by "resolve data continuity"?) So basically, our old code and new code could not run simultaneously, because they were designed against incompatible schemas.
- orofino 14y agoSo if this was the case, why couldn't the other shards handle application requests while you casually upgraded the application and database tier in say... 30 seconds (or even minutes) as opposed to sub 15s?
- jdunck 14y agoAs stated in the post, the db migration was a large enough change that having both codebases working on the migrating db would have been a high cost.