colinmollenhour / magento-mongo

MongoDb abstraction layer and atomic job queue for Magento
Other
124 stars 50 forks source link

How it works with magento? #7

Closed matrixbegins closed 11 years ago

matrixbegins commented 11 years ago

HI Colin, I am really excited about this module. I have gone through the code and have read your views and answers that you answered on google group. From all these things here is my understanding, please correct me/share your views.

  1. its not really a complete replacement of Mage_Catalog_Product or Collections.
  2. It basically indexes the data from Mysql to MongoDB based on your schema.xml
  3. On Imports or bulk data update we might have to re-index MongoDB.

I needed your guidance if I have to really implement such model/collection which is complete replacement of Mage_Catalog_Product. Every read/write happens from MongoDB (imports included). And mysql will have only an entry in catalog_product_entity table about all the SKUs. So what should be the approach? How greatly this extension can help us out? is it even a feasible solution?

colinmollenhour commented 11 years ago

It is in no way a replacement for any Mage_* code. it is only for new models.

jmshelby commented 11 years ago

I've used this for several "production" environments -- This really is a great module for new data persistence needs.

A good example for what this would be useful for is logging -- files are sometimes very hard to parse/look through and it's good to be able to have your logs in a separate database that you can search through, that won't put load on your main DB