DEV Community

Cover image for Serverless database computing with Azure Cosmos DB and Azure Functions
Gwyneth Peña-Siguenza
Gwyneth Peña-Siguenza

Posted on

3 2

Serverless database computing with Azure Cosmos DB and Azure Functions

What is Cosmos DB?

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!

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 👀

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay