Chapter 8: Creating a Datastore with Cosmos DB
Creating a data store is an essential part of both mobile and web application projects. Scalability, cost-effectiveness, and performance are three key factors that determine which database is appropriate for your application. Cosmos DB, with its wide range of scalability options and subscription models, can provide an ideal solution for mobile applications. Cosmos DB offers a multi-model and multi-API paradigm that allows applications to use multiple data models while storing application data with the most suited API and model for the application, such as SQL, Cassandra, Gremlin, or MongoDB.
In this chapter, we will talk about the basic concepts of Cosmos DB, analyze and experiment with data access models, and finally, we will start creating the data model and datastore for our application and implement the data access modules.
In this chapter, we will cover the following topics:
- The basics of Cosmos DB
- Data access models...