What is the performance impact of using Morphia as opposed to directly using MongoDB Java driver?

724 views
Skip to first unread message

zee

unread,
Jun 30, 2011, 4:54:45 PM6/30/11
to Morphia

I like the way Morphia maps Java classes to MondoDB documents but I am
not sure about the performance impact.
In application which involves very frequent updates to collections in
MongoDB such as in a gaming application, what is the performance
impact of using Morphia vs directly using java driver?

Does it make a difference if the models classes and application code
is in Scala?

Brian Nesbitt

unread,
Jul 3, 2011, 3:48:32 PM7/3/11
to Morphia
Its been awhile, but you can read the following 2 things:

http://www.scalabiliti.com/blog/mongodb_and_morphia_performance
http://groups.google.com/group/morphia/browse_thread/thread/906085d88dd92915

Might be even better now.

The net net is the impact of morphia should be negligible compared to
the overhead of queries in mongo itself, the network or other parts of
the application.

Brian Nesbitt

unread,
Jul 3, 2011, 3:58:10 PM7/3/11
to Morphia
Also their follow up post confirming the same...
http://www.scalabiliti.com/blog/morphia_performance_revisited

On Jun 30, 4:54 pm, zee <zenma...@gmail.com> wrote:
Reply all
Reply to author
Forward
Message has been deleted
0 new messages