MongoDB vs. Google App Engine's High Replication Datastore

2,029 views
Skip to first unread message

Alexander Orlov

unread,
Apr 12, 2012, 7:21:15 AM4/12/12
to mongod...@googlegroups.com
For a Dart app I'm considering Google App Engine's High Replication Datastore vs. MongoDB as a datastore backend. From the architectural point of view both datastores are pretty similar (NoSQL / schema-less, eventually-consistent[?]). Also the code to be written for both won't vary that much. 

Are there major drawbacks/advantages that spek against/for GAE/MongoDB? I just need some decision helpers as I don't see any major differences between the both datastores.

I don't consider MongoDB's OSS nature as an advantage but nevertheless it's nice to use a datastore that don't binds you to a particular company (also there are approaches like App Scale to solve this problem....).

Don't bother to be biased. I'll maybe ask a similar question in the GAE group ;)

Sam Millman

unread,
Apr 12, 2012, 8:50:03 AM4/12/12
to mongod...@googlegroups.com
From what understand GAE and MongoDB are similar and I have not used GAE enough to act like I know everything in the universe however GAE does use strings to build queries and even though they seem to implement a PDO type accessor to their querying it does still beg the question of whether that creates security issues.

Also I must admit looking over the examples here:

https://developers.google.com/appengine/docs/python/datastore/queries

It seems as though the GAE requires quite a bit of work in each file to get it to work properly, much more coding than I do for Mongo.

I have also noticed that sorting and filtering requires that properties exist which technically means its not totally schemaless since you can't perform any query on any set of documents.

My final conclusion is that it depends on the app, you gotta question what type of queries you are gonna do (are you gonna make good use of MongoDB's subdocument structure for example?). I personally would also benchmark the two on your hardware to see which runs faster and scales better for your particular scenario.

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/_11cxDhgDlcJ.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.

Sam Millman

unread,
Apr 12, 2012, 9:04:47 AM4/12/12
to mongod...@googlegroups.com
You'll find very very few people here biased from both 10gen and the general user group, it's one of things I like here. If we don't think Mongodb is a good choice we'll let you know don't worry :).
Reply all
Reply to author
Forward
0 new messages