Should I use meteor for ecommerce site?


#1

Meteor comes with mongodb which doesn’t offer ACID out of the box. So is it a bad idea to use meteor for ecommerce site?


#2

Check this out: https://reactioncommerce.com/

It is open source, well maintained and already hosting ~10thousand shops.


#3

what about ACID compliance? Is that needed when it comes to ecommerce?


#4

ACID is a reference to database transactions and a “transaction” is something you’d (optionally) need only in a very small and specific part of an ecommerce application, and you can achieve it with strategies such as two-phase-commit.


#5

i think, we can create a transaction document that will hold the details of fields that will be updated, then will have a flag that will give the current state of the multiple document that will be updated, so if sudden hindrance of update occurs. we can roll back the initial data of the document to be updated :smile:

i hope i am right in my theory :smile:


#6

That’s what I referred to as a two phase commit.

This also is a good read on mongodb atomicity and transactions.


#7

Thanks for the links. They made things more clear :grinning:


#8

You want also to implement retry queues. Take a look at these slides: