Alex Rivera | Logout

Mongoid or MongoMapper?

Asked 2009-12-24T13:43:08.853
82

I have tried MongoMapper and it is feature complete (offering almost all AR functionality) but i was not very happy with the performance when using large datasets. Has anyone compared with Mongoid? Any performance gains ?

Edit
Report

2 Answers

4

Did some testing with MongoMapper last week, it was stable but I found the query interface a little limited (also some of the AR logic was quirky), switched to Mongoid today and it feels much better to use - and more intuitive if you are used to AR.

No speed conclusions yet - but the switch over was painless - it works with Rails 3 too.

answered 2010-07-20T18:12:55.117
2

I used both of them and they are about to equals in functionality, but look at it's code stats Mongoid vs MongoMapper

It looks like MongoMapper has much better code quality (if it does the same with less).

You can calculate this stats by Yourself, here's the analyzer https://github.com/alexeypetrushin/code_stats

answered 2011-08-03T20:13:04.553

Your Answer