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 create the data store 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
- Modeling data
- Learning Cosmos DB in depth