Microsoft takes its databases worldwide with Cosmos DB

The update to DocumentDB provides global scale for app data

IDG

IDG

Developers will have an easier time scaling their applications to meet global needs with a database product Microsoft updated on Wednesday. Called Cosmos DB, the service lets developers store data that can be replicated across any of the company’s 34 Azure public cloud regions.

Cosmos is an expansion of DocumentDB, a managed NoSQL database service that Microsoft launched in 2015. Its key innovation is a feature that lets developers pick between five consistency models that range from "strong" to "eventual" consistency.

The tool allows developers to store and access data with a variety of APIs, including DocumentDB, MongoDB, SQL, Gremlin, and Azure Tables. Microsoft guarantees 99.99 percent data availability but also says that response times from the database will be below 10 milliseconds for 99.99 percent of users within an Azure region that has a Cosmos DB replica. Cosmos also includes guarantees for 99.99 percent consistency and throughput.

Globally distributed databases like Cosmos are an important part of the promise of the cloud. Because of the speed of light, app users far away from the nearest data center will see longer delays on their requests. Cosmos DB will let developers take advantage of Microsoft’s data center scale to better serve global users.

This is also an important move for the company to compete with other cloud providers, like Amazon Web Services and Google Cloud Platform. Each company has their own take on a widely available managed database service. Cosmos DB stands out in that crowd because of its variety of service guarantees, global scale, and novel approach to consistency.

Strong consistency guarantees that users will get the most up-to-date data at some performance cost, which is useful for things like financial services applications. However, those customers who choose strong consistency sacrifice their ability to replicate the database across multiple regions.

On the opposite extreme, eventual consistency means that the database responds quicker, at the risk of not giving end users the most up-to-date data. It allows global replication and provides the lowest cost per read operation of any consistency model in Cosmos DB.

Overall, less than 10 percent of all DocumentDB users picked those two options. They’re more likely to choose one of the intermediate options, like session consistency, which maintains predictable consistency for a user session, so that users will be able to read data that they write to the database. That’s useful for apps that rely on client sessions to provide information to users.

Bounded staleness consistency guarantees that database reads may lag behind writes by a developer-defined window of either time or number of versions. Consistent prefix consistency guarantees that end users never see out-of-order reads, but data may not be up to date.

Cosmos wasn’t the only piece of database news at the company’s Build conference on Wednesday. Microsoft also announced versions of its managed database service for MySQL and PostgreSQL. Those offer developers the ability to use their preferred databases without handling patching, scaling, and other traditional aspects of database management.

A new Database Migration Service is also available in early preview to help companies move data from platforms like Microsoft SQL Server and Oracle Database.

Join the newsletter!

Or
Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags Microsoft

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Blair Hanley Frank

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?