CHAPTER 9

image

Migrating MongoDB

MongoDB is an open source NoSQL database written in C++ with support for dynamic schemas. MongoDB stores documents in JSON-like format called BSON. BSON supports embedding of objects and arrays within other arrays and objects. BSON is lightweight, traversable, and efficient. While MongoDB offers some of the same advantages offered by Couchbase, it also has some limitations. Couchbase has the following advantages over MongoDB.

  • Scalability. Couchbase is scalable and it is easy to add new servers to a cluster. Couchbase cluster manager is built on top of Erlang/OTP, a proven environment for building fault-tolerant distributed ...

Get Pro Couchbase Development: A NoSQL Platform for the Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.