Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use MongoDb module or morphia module or Casbah in play framework for MongoDb?

I am working on a play framework project with scala in which I want to have Scala domain classes (or even Java domain classes) using MongoDb as data store.

I want maximum performance while serving hundreds of thousands if not millions of requests per day.

Since both scala language and Play framework is adding new features by the month, what is the best answer in terms of latest production version of the modules mentioned in the question and play framework 1.2.2, scala 0.9.1+ and scala language 2.8+?

like image 965
ace Avatar asked Nov 13 '22 21:11

ace


1 Answers

for anyone stumbling upon this question and using playframwork 2.1.x or above I highly recommend taking a look at reactivemongo site and github project.
It's a mongodb scala driver that allows asynchronous db operations.
Great performance and mature enough for use in production.

At the time of writing this the current version is 0.9 and is being used by us in production without any problems.

like image 145
samz Avatar answered Dec 28 '22 16:12

samz