Cosmos DB and MongoDB: NoSQL Databases for Flexible Schemas and Scale

A practical guide to two of the most widely used NoSQL databases — Azure Cosmos DB and MongoDB — covering the document data model, schema flexibility, partitioning/sharding, consistency models, indexing, and how to choose between them (and against a relational database).

Table of Contents

Introduction

Why NoSQL, and Why Document Databases Specifically