What the overhead of Java ORM for MongoDB

后端 未结 3 1997
忘掉有多难
忘掉有多难 2021-02-04 12:38

What is the overhead of using Java ORM for MongoDB, or its better that we go the at basic driver level to read or write?

We will be adding Mongo DB for one of our requir

3条回答
  •  迷失自我
    2021-02-04 13:08

    Using ORM decreases the performance but it speed up the development. There is a trade off here.

    For ORM tools, Morphia is most stable one. Here you can find the comparison between the Morphia and Basic Mongo Driver by their performance.

提交回复
热议问题