...

/

Polyglot Persistence

Polyglot Persistence

This lesson explains the reasons why NoSQL is chosen by engineers-- it touches on the concept of Polyglot Persistence.

Why Choose NoSQL?

There are two main reasons why engineers choose NoSQL databases for their problems:

  • Minimizing the Impedance Mismatch

    Since a lot of effort is spent on mapping in-memory to in-database, saving that effort improves developer productivity.

    Sometimes, a NoSQL database has a data model that better suits the needs of our application, and thus simplifies the interaction of the application code with the database. This way, we have less code to develop and maintain.

    For example, in MEAN stack (M is for Mongo DB) the whole stack uses JSON ...