2 ms·
If someone was involved could you share details on the rationale behind this? I used to like mongo but has it changed. I remember specific flaws/hacks with bit
by neximo64 6y ago
If someone was involved could you share details on the rationale behind this? I used to like mongo but has it changed.
I remember specific flaws/hacks with bitcoin websites coming down to mongo race conditions/inconsistency issues.
- brabel 6y agoThe article explains quite in depth the rationale behind this. Basically, they think it's too difficult to manage their current relational databases differently in each country, but they need that due to the different regulations and particulars on each country. With one global DB, they hope they can have one single application for all countries, with country-specific things hidden in only a few sub-documents. _ It's now a one service environment, one database and one execution path for all the countries. This is made possible because of MongoDB's document model and the ability to map all the different table requirements for each country into a single collection, using sub-documents. Everything is simplified into one collection using country specific identifiers._ How they will address race conditions, eventual consistency and so on is not addressed at all though. I guess they trust Mongo's new transactions will take care of that (at which point, it would be nice to know whether that actually worked and what the performance will be when compared to the old relational system).