Remix.run Logo
sajithdilshan a day ago

I think the biggest problem is the data consistency. Since they are planning for eventual consistency, should make it easier, but they most probably had to re-write code to support atomic operations and proper transaction isolations.

But the scaling problem is still there, when they switched over I assume they would start both horizontal and vertical scale of k8 pods and maybe even bump up DB instances as well which could result in a small congestion at the start of the switch over

arpinum 21 hours ago | parent [-]

Foundationdb has a good solution to this. Uses three regions, sync writes to regions 1 and 2 which should be near each other, sync writes to region 3. If region 1 dies then region 3 pulls last commits from region 2 before serving traffic. Small cluster manager runs in all three regions