Search code examples
mongodbcontent-management-systemjackrabbit

Advantages of using Jackrabbit Oak over MongoDB


We are building a news website similar to a blogging platform or a CMS. Users can write articles, post comment, like and share. We are newbies and are unable to decide between Jackrabbit Oak and MongoDB?

I went through the following thread When to use JCR (content repository) over other options?. I understood that JCR allows to organize your content in a structure that closely matches your needs. I think this can be accomplished in MongoDB also. The answer compares JCR to RDBMS rather than NoSQL DBs like Mongo.

Also JCR Oak seems a bit complex so I would prefer to keep the stack simple and invest time on MongoDB - Unless Jackrabbit offers features which are extremely important and not present in MongoDB.

Can somebody explain is there any killer feature in JCR Oak over MongoDB?


Solution

  • We are finally going ahead with Cassandra.

    1. Through my research I found out that JCR doesn't seem to have a large active community and the amount of tutorials is also limited. Mongo is far ahead of JCR and is being used in production at several companies. Could not find any killer feature in JCR over MongoDB.

    2. I also read several blog posts that although Mongo is a great DB and easy to start development - after a while if your website is growing fast scalebility might create some challenges and performance might also got hit. See one of the blog post here: http://patrickmcfadin.com/2014/02/11/mongodb-this-is-not-the-database-you-are-looking-for/

    3. Although we are not worried about scalebility right now but I found merit in masterless architecture of Cassandra, CQL being almost similar to SQL and there are performance benchmarks posted on PlanetCassandra that shows Cassandra scales linearly.