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!

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

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

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.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

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?