Upload
vuongtuyen
View
226
Download
0
Embed Size (px)
Citation preview
Rock your MongoDB and Graph databases in cloud with CosmosDBReenu SalujaSr. Technology EvangelistMicrosoftTwitter : @ reenusaluja
Mission-critical applications for a global userbase need …
Global distribution
Elasticity of compute and
storage
Durable, Consistent and Highly available
Fast, Responsivemillisecond latency
Building globally distributed applications
Put your data where your users are
Developing planet-scale apps comes with planet-scale challenges
Scaling both throughput and storage based on global demand
Delivering highly-responsive experiences
Ensuring an always-on system
Write accurate, globally distributed apps
Managing and versioning evolving schemas
Balancing the needs for strong and eventual consistency
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Automatically replicate all your data around the world – across more regions than Amazon and Google combined
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Multi-model + multi API
Use key-value, graph, and document with a schema-agnostic service that doesn’t require any schema or secondary indexes
KEY-VALUE COLUMN-FAMILY
DOCUMENT GRAPH
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Multi-model + multi API
Elastic scale-out
Independently and elastically scale storage and throughput across regions
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Multi-model + multi API
Elastic scale-out
Choice of consistency
Choose from five defined consistency levels for low latency and high availability
Strong Bounded-stateless Session Consistent prefix Eventual
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Multi-model + multi API
Elastic scale-out
Choice of consistency
Serve <10 ms read and <15 ms write requests at the 99th percentile from the nearest region while delivering data globally
Guaranteed single-digit latency
Guaranteed global millisecond latency at the 99th percentile
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Multi-model + multi API
Elastic scale-out
Choice of consistency
Guaranteed single-digit latency
Only service with financially-backed SLAs for millisecond latency at the 99th percentile, 99.99% HA and guaranteed throughput and consistency
99.99%
HA
Throughput
Guaranteed
Consistency
Guaranteed
Enterprise-level SLAs
<10ms
Latency
99th
percentile
Introducing Azure Cosmos DBA globally distributed, massively scalable, multi-model database service
Global distribution
Multi-model + multi API
Elastic scale-out
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLAs
A globally distributed, massively scalable, multi-model database service
Column-family Document
Graph
Turnkey global distribution
Elastic scale out of storage & throughput
Guaranteed low latency at the 99th percentile
Comprehensive SLAs
Five well-defined consistency models
Table API
Key-value
Azure Cosmos DB
MongoDB API
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Leverage existing MongoDB drivers, libraries, and tools with the globally distributed, multi-model Azure Cosmos DB database.
MongoDB Queries
CRUD operations
Mongo shell
Sharding
Replica-sets
Mongodump
Mongorestore
Mongoimport
Robomongo
Studio 3T
……
Import/Export data using mongo tools.
Existing MongoDB application continue to use the same SDK’s
View/Manage your data using tools like mongo shell/Robo 3T etc.
Horizontally scale your data using shards
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Turnkey geo-replication
No need to add/remove replica-sets. Replicate your data to any Azure region using Azure Portal / CLI
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Turnkey geo-replication
No need to add/remove replica-sets. Replicate your data to any Azure region using Azure Portal / CLI
# Replicate in multiple regions az cosmosdb update \ --name $name \ --resource-group $resourceGroupName \ --locations "South Central US"=0 “West Europe"=1 “South India"=2 “Southeast Asia"=3 “East Asia"=4
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Automatically index your schema-less data without compromising performance on writes and reads.
Physical index
Schema
Turnkey geo-replication
Automatic indexing
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Turnkey geo-replication
Automatically index your schema-less data without compromising performance on writes and reads.
{ "locations": [ { "country": "Germany", "city": "Berlin" }, { "country": "France", "city": "Paris" } ], "headquarter": "Belgium", "exports":[{ "city": "Moscow" },{ "city": "Athens"}]}
locations headquarter exports
0 1
country
Germany
city
Berlin
country
France
city
Paris
city
Moscow
city
Athens
Belgium 0 1
Automatic indexing
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Multi-tenant databases are always more cost effective.
Cost
$
$
10x
3x
Azure Cosmos DB DynamoDB On-premises Open-source
NoSQL
Industry leading TCO (Total Cost of Ownership)
Turnkey geo-replication
Automatic indexing
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Industry leading TCO (Total Cost of Ownership)
Support for enterprise grade security features to protect your database
IP firewall
Master + read-only keys
Encryption at rest
Built-in RBAC support
Encryption in transit (SSL)Security
Turnkey geo-replication
Automatic indexing
Azure Cosmos DB: MongoDB APIA globally distributed, massively scalable, multi-model database service
MongoDB Compatibility
Azure Cosmos DB adheres to multiple international and industry-specific compliance standards. Rigorous third-party audits verify the service’s adherence to the strict mandated security controls.
Compliance
ISO/IEC 27018
HIPAA and the HITECH Act
European Union Model Clauses
Payment Card Industry (PCI) Data Security Standard (DSS)
SOC 1 & 2
Industry leading TCO (Total Cost of Ownership)
Turnkey geo-replication
Automatic indexing
Security
Demo
MongoDB API
Cosmos DB Graph API
Independently scalable graph engine
Optimized for relationship traversals
Schema freedom of attributes on nodes & edges
Support massive graphs Same distributed systems
stack with millisecond latency, global distribution, 99.99% SLAs, enterprise-ready features
Cosmos DB Graph API
Work with any TinkerPop client driver (Java, Python, Node.js, …)
First-party .NET client SDK with in-process Gremlin server (direct connectivity for low latency)
Work with Gremlin console Work with Apache Spark on
HDInsight for graph analytics
Demo
GraphDB API
at https://azure.microsoft.com/en-us/try/cosmosdb/
Q/A
© 2017 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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 marketconditions, 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.
© Copyright Microsoft Corporation. All rights reserved.