Azure Cosmos DB: From Internet to Enterprise

Slides:



Advertisements
Similar presentations
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Advertisements

Migrate SQL Server Apps to SQL Azure Cloud DB
Use relational database as a service
Data Platform and Analytics Foundational Training
Data Platform and Analytics Foundational Training
Successfully migrate existing databases to Azure SQL Database
Secure Hyperconnectivity with TeamViewer and Windows technologies
Azure Machine Learning Deploying and Managing Models in production
The story of an IoT solution
Nested Virtualization: A game changer in Hyper-V and Azure
Creating Enterprise Grade BI Models with Azure Analysis Services
Azure File Sync Setup, configuration and management
Delivering enterprise BI with Azure Analysis Services
Put your enterprise applications in the fast lane
Use any Amazon S3 application with Azure Blob Storage
Globally distributed, secure MongoDB with Azure Cosmos DB
Developing Hybrid Apps on Microsoft Azure Stack
Migrating your IaaS infrastructure from ASM to ARM without downtime
6/26/2018 5:24 AM THR1083 Enabling Advanced Security Capabilities: Drive consistent authorization across multiple applications Bryan Bolling Solution Architect,
Optimizing Microsoft OneDrive for the enterprise
What a Real, Functioning DevOps Team Looks Like
Azure Cosmos DB Venitta J Microsoft Connect /6/2018 4:36 PM
Availability Zones: Design Highly Available Applications on Azure
7/22/2018 9:21 PM BRK3270 Building a Better Data Solution: Microsoft SQL Server and Azure Data Services Joey D’Antoni Principal Consultant Denny Cherry.
Microsoft Ignite /31/ :08 AM
8/6/ :17 AM THR2214 Hybrid Cloud Activated A customer case study optimizing on-premises & Azure performance and cost Mor Cohen-Tal Senior Product.
Infrastructure Provisioning Kenon Owens Sr
Workflow Orchestration with Adobe I/O
Customize Office 365 Search and create result sources
Best Practices for Securing Hybrid Clouds
Azure Security in four steps
Automate all things! Microsoft Azure continuous deployment
9/18/ :06 AM BRK2212 Gain visibility into Network performance and availability with Network monitoring solutions in Azure Vijay Tinnanur Abhishek.
Cloud Database Based on SQL Server 2012 Technologies
Azure Cosmos DB: The globally distributed, multi-model database
9/21/2018 3:41 AM BRK3180 Architect your big data solutions with SQL Data Warehouse & Azure Analysis Services Josh Caplan & Matt Usher Program Managers.
SQL On Azure Parikshit Savjani, Sr. Premier Field Engineer.
Azure PowerShell Aaron Roney Senior Program Manager Cormac McCarthy
Azure SQL Database: A Guided Tour
11/18/2018 2:14 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
11/22/2018 1:43 PM THR3005 How to provide business insight from your data using Azure Analysis Services Peter Myers Bitwise Solutions © Microsoft Corporation.
Continuous Delivery with Visual Studio Team Services
Azure Advisor: Optimization in the best way
Explore the Azure Cosmos DB with .NET Core 2.0
Microsoft products for non-profits
Power-up NoSQL with Azure Cosmos DB
Automating security for better, continuous compliance in the cloud
Yammer for IT Tom Kretzmer Solutions Developer, Westinghouse THR1016
1/2/2019 5:18 PM THR3016 Customer stories: Plan and orchestrate large resource deployments on Azure infrastructure Igal Figlin Principal PM Manager – Azure.
Overview: Dynamics 365 for Project Service Automation
2/24/2019 7:49 PM BRK2198 Four new Azure management experiences to run your business critical applications Dushyant Gill | Jan Kalis.
Understand your Azure cloud assets dependencies with BMC Discovery
Surviving identity management in a hybrid world
Breaking Down the Value of A Yammer Post: 20 Things to Do
Cool Microsoft Edge Tips and Tricks
When Bad Things Happen to Good Applications
Getting the most out of Azure resources with Azure Advisor
“Hey Mom, I’ll Fix Your Computer”
4/21/2019 7:09 AM THR2098 Unlock New Opportunities with Nintex Hawkeye Process Intelligence and Workflow Analytics Sr. Product.
Business Continuity and the Microsoft Cloud
Consolidate, manage, backup, and secure your cloud content
Designing Bots that Fit Your Organization
Ask the Experts: Windows 10 deployment and servicing
Passwordless Service Accounts
Digital Transformation: Putting the Jigsaw Together
Diagnostics and troubleshooting in Azure App Service Support Center
Optimizing your content for search and discovery
Request Units & Billing
Global Distribution.
Microsoft Virtual Academy
Presentation transcript:

Azure Cosmos DB: From Internet to Enterprise 9/8/2018 7:26 AM THR2048 Azure Cosmos DB: From Internet to Enterprise Aleksey Savateyev Azure Cosmos DB © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Azure Cosmos DB Table API MongoDB API A globally distributed, massively scalable, multi-model database service Table API MongoDB API Key-value Column-family Document Graph Guaranteed low latency at the 99th percentile Elastic scale out of storage & throughput Five well-defined consistency models Turnkey global distribution Comprehensive SLAs

Cosmos DB By Industries (Our Customers) Retail Manufacturing Government / Edu Automotive/IoT Financial Services Professional Services

Powering global solutions Field-tested by Microsoft’s planet-scale services and industry-leading enterprises apps Globally-distributed mission-critical apps IoT Personalization Retail and e-commerce Gaming Guarantee uptime to users worldwide with high-availability and low-latency Scale instantly for uncertain IoT workloads without sacrificing performance Generate personalized service through low-latency and tunable consistency settings Support queries over product catalogs, traffic spikes, and rapidly changing inventory Accommodate bursts of traffic and deliver low-latency multiplayer experiences

Turnkey Global Distribution Worldwide presence as a Foundational Azure service Automatic multi-region replication Multi-homing APIs Manual and automatic failovers Designed for High Availability

Elastic and unlimited scalability Microsoft Build 2017 9/8/2018 7:26 AM Designing the database for the cloud Cost efficiencies with fine-grained multi-tenancy 3 Commodity Hardware Fine grained multi-tenancy Adaptive resource governance Performance isolation IaaS hosted managed database offerings cannot match this! Elastic and unlimited scalability Millions of transactions/sec Petabytes of data Hundreds transactions/sec Gigabytes of data 2 Global Distribution 1 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

System topology (physical) … Azure Regions Datacenters Stamps Fault Domains Container Machine Replica Cluster Database Engine Instance Each cluster spans 10-20 FDs Perfect consistency for replica placement 200-400 replicas each belonging to a different tenant on a single machine 1000s of tenants in a cluster 100s of tenants on a machine

Guaranteeing high availability Microsoft Build 2017 9/8/2018 7:26 AM Guaranteeing high availability Tracking availability at a per tenant and per partition basis at a 5 minute granularity Self-healing stack where the upper layers automatically recover from the faults raised from the lower layers Elastic pools of pre-allocated compute with background grow/shrink of clusters Replica regeneration times are carefully monitored 16+ hours of automated stress tests with failure injection every day © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Reads (1KB) Indexed writes P50 P99 <2ms <10ms <6ms <15ms Guaranteed low latency at P99 (99th percentile) Requests are served from local region Single-digit millisecond latency worldwide Write optimized, latch-free database engine designed for SSD Synchronous automatic indexing at sustained ingestion rates Reads (1KB) Indexed writes P50 P99 <2ms <10ms <6ms <15ms

Guaranteeing low latency Microsoft Build 2017 9/8/2018 7:26 AM Guaranteeing low latency Strong Bounded Staleness Session Prefix Eventual Indexed Writes (1 KB) <10ms + 2RTT <10ms <10ms <10ms <10ms Reads (1 KB) <10ms <10ms <10ms <10ms <10ms Replication protocol is designed to serve reads and writes from the local region Writes are synchronously indexed upon ingest with durable quorum commits before ACK Resource governed, log structured and latch free database engine All data is automatically indexed upon ingestion without requiring explicit schema or secondary index management © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Multiple, well-defined consistency choices Global distribution forces us to navigate the CAP theorem Five well-defined consistency levels Programmatically changeable at any time Can be overridden on a per-request basis

Offering consistency for a price 9/8/2018 7:26 AM Offering consistency for a price Consistency distribution among customers Consistency vs. Throughput Research in distributed consistency is not rooted in real world scenarios There is a market for programmable consistency Tradeoffs between consistency and throughput can be monetized © Microsoft Corporation. All rights reserved.

Elastically scalable storage and throughput Provisioned request / sec Time 12000000 10000000 8000000 6000000 4000000 2000000 Nov 2016 Dec 2016 Black Friday Hourly throughput (request/sec) Single machine is never a bottle neck Transparent server-side partition management Elastically scale storage (GB to PB) and throughput (100 to 100M req/sec) across many machines and multiple regions Automatic expiration via policy based TTL Pay by the hour, change throughput at any time for only what you need Support for both request per second and requests per minute to handle spikes cost-effectively

Multi-model, multi-API Database engine operates on Atom-Record-Sequence type system All data models can be efficiently translated to ARS Multi-model: Key-value, Document, and Graph Multi-API: SQL (DocumentDB), MongoDB, Table, and Gremlin More data-models and APIs to be added

Schema-agnostic, automatic indexing At global scale, schema/index management is painful Automatic and synchronous indexing Hash, range, and geospatial Works across every data model Highly write-optimized database engine Schema Physical index

Schema-agnostic database engine { "locations": [ { "country": "Germany", "city": "Berlin" }, { "country": "France", "city": "Paris" } ], "headquarter": "Belgium", "exports":[{"city":"Moscow"}, {"city":"Athens"}] } At global scale ALTER TABLE, CREATE INDEX, DROP INDEX are a non-starter Logical index layouts (inverted, tree, columnar, …) Automatic and synchronous indexing of all ingested content No schemas or secondary indices ever needed Resource governed, write optimized database engine locations headquarter exports 1 country Germany city Berlin France Paris Moscow Athens Belgium

Industry-leading, enterprise-grade SLAs 99.99% availability – even with a single region Made possible with highly-redundant storage architecture Guaranteed durability – writes are majority quorum committed First and only service to offer SLAs on: Low-latency Consistency Throughput

Fully resource-governed stack Capacity management, COGS, SLA, margins, pricing, all depend on stringent resource governance across the entire stack Request Unit (RU) Rate based currency (/sec, /min, /hr) Normalized across various database operations ML pipeline to calculate the query charges across different datasets and query patterns Need to remain consistent across hardware generations Automated perf and RG runs every four hours to detect regressions All engine micro-operations are finely calibrated to live within the fixed budgets of system resources % Memory READ == INSERT == % CPU UPSERT == % IOPS DELETE == Request Unit (RU) QUERY == … Database operations consume RUs A B Scans Index Lookups C Query Complexity D Instruction Cost Query Cost (Query) == ω x A+ ϕ x B+ λ (C+D) ω, ϕ, and λ are calculated from ML models trained on production & test data

Security & Compliance Always encrypted at rest and in motion Fine grained “row level” authorization Network security with IP firewall rules Comprehensive Azure compliance certification: ISO 27001 ISO 27018 EUMC HIPAA PCI SOC1 and SOC2

Lowest Total Cost of Ownership (TCO) $ 10x Deeply exploit cloud properties and economies of scale Significantly cheaper than DynamoDB, Cassandra, Spanner and MongoDB Designed from the ground up as a multi-tenant service with end-to-end resource governance to provide performance isolation. Fully managed as a service - no dev/ops expenses needed Cost $ 3x Cosmos DB DynamoDB On-premises MongoDB / Cassandra

Call to Action! Getting Started Technical Overview -> 9/8/2018 7:26 AM Getting Started Service Page: http://cosmosdb.com Azure Portal: http://portal.azure.com Downloadable emulator: http://aka.ms/CosmosDB-emulator Free Trial: https://azure.microsoft.com/en-us/try/cosmosdb/ Technical Overview -> https://azure.microsoft.com/en-us/blog/a-technical-overview-of-azure-cosmos-db/ Follow @AzureCosmosDB on Twitter and Tweet #CosmosDB © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

We are Hiring #CosmosDB 9/8/2018 7:26 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please evaluate this session Tech Ready 15 9/8/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite https://myignite.microsoft.com/evaluations Phone: download and use the Microsoft Ignite mobile app https://aka.ms/ignite.mobileapp Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9/8/2018 7:26 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.