Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MongoDB: Genius? Folly? Both?

DZone's Guide to

MongoDB: Genius? Folly? Both?

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

Blogger Bryce Nyeggen understands exactly what MongoDB is — "it's just mmap":

Basically, MongoDB consists of a collection of mmap’d linked lists of BSON documents, with dead simple B-tree indexing, and basic journaling as the storage durability mechanism (issues with what the driver considers a “durable write”, before data necessarily hits the storage layer, is something others have dealt with in depth). Eventually writes get fsync’d to disk by the OS, and reads result in the page with the data being loaded into memory by the OS.

Bryce Nyeggen, "The Genius and Folly of MongoDB"


That's right, Nyeggen makes it pretty clear that MongoDB doesn't really bring much new stuff to the table.  Whereas Cassandra has an innovative consistency protocol, Redis has "crazy data structures," and Hadoop has powerful batch data-processing abilities, MongoDB has mmap.

But that's okay, he says.  Innovative databases can also come with a lot of learning and development overhead.  See what he means in the full article.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}