K
K
Kirill2017-07-21 15:58:06
MongoDB
Kirill, 2017-07-21 15:58:06

How bad is it to store payment data in MongoDB?

Hey!
Guys, actually the question was already voiced in the title.
Always used MySQL, now it's time to work with MongoDB, at the request of the customer.
The customer asks to quickly file a web application on Meteor for him, he wants to make payments through it.
So the question arose, is it a good idea to store payment data in Mongo?
There are transactions in MySQL, but as far as I know, there is no such thing in Mongo or is there?
I will be grateful for the answers.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
emp1re, 2017-07-21
@Lobanov

Google

T
terrier, 2017-07-21
@terrier

How bad is it to store payment data in MongoDB?

Very bad, and first of all, because you have little experience with it.
In the worst case scenario, you'll randomly poke $isolated, findAndModify, and tede and end up with financial data sprawl almost immediately. At best, you will make some kind of distributed transaction engine (bad and buggy) with your own hands, and then again you will get financial data spreading.
MongoDB has a rich history of critical bugs, data loss, and a huge number of subtleties that need to be taken into account in real production.

V
Vasily Nazarov, 2017-07-21
@vnaz

Tear off the task of storing financial transactions from all this hipster like Meteor or (God forgive me) Angular.
And then you will understand that it is not the spoon of the database that bends for storing transactions, you need to choose regardless of other technologies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question