DEV Community

Jay Gordon for Microsoft Azure

Posted on • Edited on

Get Started With Core SQL and Node.js for Azure Cosmos DB (Video)

In this video, I'll help you get started with Core SQL API for Azure Cosmos DB. I review the platform and how you can use it for your application.

Why Cosmos DB?

Distribution of data can be difficult, having a turnkey solution for global NOSQL data is huge, but then add on the ability to query this data with already familiar tools? That's why Cosmos DB is huge. Rather than spending time concerning yourself with long term viability of your in-house database solution (SQL, Oracle, whatever it may be) it might be time to make the move to a managed service like Cosmos DB.

The following are some attributes of Azure Cosmos DB that make it well-suited for high-performance applications with global ambition. (Check out the full article here...)

  • Azure Cosmos DB natively partitions your data for high availability and scalability. Azure Cosmos DB offers 99.99% guarantees for availability, throughput, low latency, and consistency on all single-region accounts and all multi-region accounts with relaxed consistency, and 99.999% read availability on all multi-region database accounts.
  • Azure Cosmos DB has SSD backed storage with low-latency order-of-millisecond response times.
  • Azure Cosmos DB's support for consistency levels like eventual, consistent prefix, session, and bounded-staleness allows for full flexibility and low cost-to-performance ratio. No database service offers as much flexibility as Azure Cosmos DB in levels consistency.
  • Azure Cosmos DB has a flexible data-friendly pricing model that meters storage and throughput independently.
  • Azure Cosmos DB's reserved throughput model allows you to think in terms of number of reads/writes instead of CPU/memory/IOPs of the underlying hardware.
  • Azure Cosmos DB's design lets you scale to massive request volumes in the order of trillions of requests per day.

These attributes are beneficial in web, mobile, gaming, and IoT applications that need low response times and need to handle massive amounts of reads and writes.

You'll learn how to launch your DB, access it via a Node.js application and see some of the easy features that makes Cosmos so great for developers.

Helpful Links!

Welcome to Azure Cosmos DB

Azure Cosmos DB: Build a Node.js app using JavaScript SDK to manage Azure Cosmos DB SQL API data

Request Units in Azure Cosmos DB

To keep learning more, check out the free $200 in credit and 12 months of free Azure services.

Top comments (0)