From the course: MongoDB Essential Training

Features of MongoDB

- [Instructor] When MongoDB first came out in 2009, it was exceedingly popular with many web developers because of its ease of use. It allowed web developers to work with data in the same format they were using in their applications, documents. But not only that, developers could work with their data seamlessly while writing code because of MongoDB's native drivers that make data appear like native objects in the programming language you use. There were, and still are, two other main selling points. The first one is that MongoDB was built with distributed systems in mind from the start, allowing users to scale their databases vertically and horizontally. And lastly, MongoDB's code is openly available to anyone who wants to see it. All of this was revolutionary in 2009. However, you should also know that MongoDB was still a young technology at that point. It lacked some features many people expected from databases and it even had some bugs. The reason I say this is because many people on the internet still judge MongoDB based on version 1.0, which is now over 10 years old. MongoDB has come far since then and implemented features such as schema validation, ACID compliance, and joins, and it has gone far beyond that, implementing capabilities that make it stand out from the crowd. You want some examples? How MongoDB scales horizontally using sharding allows for data locality, while also giving you the option to reshard on demand. That is industry leading. Want another one? Client-site field-level encryption. If you have sensitive data, like a credit card number, you naturally want to encrypt it. In most cases when we speak about data being encrypted in a database, that actually only means data is encrypted while it's at rest, not in memory and not in the logs. This feature, however, allows you to encrypt sensitive data before it even leaves the client, meaning it's never unencrypted when it's in the database. These are advanced features and we won't go into them in this course, but they are there for you when you need them.

Contents