Opting for the NoSQL way with MongoDB
Sometimes, the data to be used in the application we are building may not be structured at all; it may be semi-structured, or there may be some data whose schema changes frequently over time. In such cases, we would refrain from using an RDBMS, as it adds to the pain and is difficult to scale and maintain. For such cases, it would be desirable to use a NoSQL database.
Also, as a result of fast and quick development in the currently prevalent development environment, it is not always possible to design the perfect schema the first time. NoSQL provides the flexibility to modify the schema without much hassle.
In production environments, the database usually grows to a huge size over a period of time. This drastically affects the performance of the overall system. Vertical and horizontal scaling techniques are available, but they can be very costly at times. In such cases, a NoSQL database can be considered, as it is designed from scratch for...