Over a million developers have joined DZone.

You Definitely Should Use MongoDB (Sometimes)

DZone's Guide to

You Definitely Should Use MongoDB (Sometimes)

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

There's been a lot of talk about MongoDB this week. We covered Sarah Mei's notorious blog post and heard a response from RavenDB creator Ayende Rahien, but this post from Shahal Tharique's blog takes the post apart in a question-and-answer format: The rhetorical questions Mei asks in the post, Tharique answers. He comes to the conclusion that the Diaspora team in Mei's post deeply misunderstood some aspects of MongoDB, and that the blame may be misplaced.

In other words, you should use MongoDB - not all the time for everything, but when it is appropriate - because MongoDB wasn't the problem with the Diaspora project. The Diaspora team was the problem.

Tharique also suggests what most are probably thinking, which is that there was a click-hungry intention in the title of Mei's post. After all, her conclusion is ultimately not that you should never use MongoDB, but that it may be over-hyped and may not always be appropriate, which is a much gentler assertion than the title implies. If the title reflected the content, responses to the Diaspora story may have been more sympathetic.

Then again, sometimes you just have to get some clicks, right?

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}