What is Cosmos DB?
- It's a globally distributed multi-model database service. It provides APIs for SQL, MongoDB, Cassandra, Tables, or Gremlin so you can access your data. There's a free tier now, which was made available in March 2020.
- Azure Cosmos DB free tier is now available | Azure updates | Microsoft Azure
Why use Cosmos DB?
-
Key benefits
- Global distribution: You can add or remove any of the Azure regions to your Cosmos account at any time.
- Provides 99.999% high availability for reads and writes.
- The database engine is fully schema-agnostic.
- A bunch more
Why use Functions with Cosmos?
- You can create event-driven serverless apps with low-latency access to data.
- Keep in mind that currently, Azure Functions trigger, input bindings, and output bindings for Cosmos DB are supported for use with the SQL API only. For all other Azure Cosmos DB APIs, you should access the database from your function by using the static client for your API.
- Serverless database computing with Azure Cosmos DB and Azure Functions
Bindings
In this video I provide an overview of the trigger, input and output bindings for Cosmos DB and Azure Functions.
I plan on creating more content around Azure; it's great to share what I've been learning.
If you have any feedback at all, please let me know in the comments below or reach out to me on socials.
Thanks for reading and possibly watching!
Top comments (0)