0% found this document useful (0 votes)
94 views31 pages

Azure Cosmos DB: Technical Deep Dive

Azure Cosmos DB is a globally distributed, massively scalable, multi-model database service that guarantees low latency and elastic scaling. It provides turnkey global distribution, supports multiple data models including document, key-value, graph and column-family, offers five consistency models, and has comprehensive SLAs. Azure Cosmos DB is used by many large enterprises for applications that require low latency, high availability, and massive scale globally.

Uploaded by

surendar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views31 pages

Azure Cosmos DB: Technical Deep Dive

Azure Cosmos DB is a globally distributed, massively scalable, multi-model database service that guarantees low latency and elastic scaling. It provides turnkey global distribution, supports multiple data models including document, key-value, graph and column-family, offers five consistency models, and has comprehensive SLAs. Azure Cosmos DB is used by many large enterprises for applications that require low latency, high availability, and massive scale globally.

Uploaded by

surendar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 31

Azure Cosmos DB

Technical Deep Dive

<Speaker>
<date>
Azure Cosmos DB

A FULLY-MANAGED GLOBALLY DISTRIBUTED DATABASE SERVICE BUILT TO GUARANTEE


EXTREMELY LOW LATENCY AND MASSIVE SCALE FOR MODERN APPS
Azure Cosmos DB
A globally distributed, massively scalable, multi-model database service

Guaranteed low latency at the 99 th percentile


Elastic scale out
of storage & throughput Five well-defined consistency models

Turnkey global distribution Comprehensive SLAs


Azure Cosmos DB
A globally distributed, massively scalable, multi-model database service

Column-family
Document

Key-value Graph

Guaranteed low latency at the 99 th percentile


Elastic scale out
of storage & throughput Five well-defined consistency models

Turnkey global distribution Comprehensive SLAs


Azure Cosmos DB
A globally distributed, massively scalable, multi-model database service

Cosmos DB’s API for


MongoDB
Table API

Column-family
Document

Key-value Graph

Guaranteed low latency at the 99 th percentile


Elastic scale out
of storage & throughput Five well-defined consistency models

Turnkey global distribution Comprehensive SLAs


Overview & Value
Proposition
Elastically Scale Storage and Throughput
Independently and elastically scale storage and
throughput across regions – even during
unpredictable traffic bursts – with a database that
adapts to your app’s needs.

• Elastically scale throughput from 10 to 100s of


millions of requests/sec across multiple
regions
• Scale throughput automatically using autopilot
mode
• Only pay for the throughput and storage you
need
Guaranteed Low Latency
Provide users around the world with fast
access to data

• Serve single digit millisecond reads and


writes
• Guarantee that reads and writes of
documents 1 KB or smaller will be < 10 ms
at the 99% percentile
Turnkey Global Distribution
Put your data where your users are in minutes

Automatically replicate all your data around the


world, and across more regions than Amazon and
Google combined.

• Available in all Azure regions


• Manual and automatic failover
• Automatic & synchronous multi-region
replication
• Configure multiple write regions to
further reduce latency and increase
availability
Five Well-Defined Consistency Models
Choose the best consistency model for your app

Offers five consistency models

Provides control over performance-consistency tradeoffs,


backed by comprehensive SLAs.

An intuitive programming model offering low latency and


high availability for your planet-scale app.

Strong Bounded-stateless Session Consistent prefix Eventual


Multiple Data Models and API’s
Use the model that fits your requirements, and the apis,
tools, and frameworks you prefer

Cosmos DB offers a multitude of APIs to access and query


data including, SQL, various popular OSS APIs, and native
support for NoSQL workloads.

Use key-value, columnar, graph, and document data

Data is automatically indexed, with no schema or secondary


indexes required

Blazing fast queries with no lag

Table
MongoDB API

SQL

Column-family Document
Key-value Graph
Handle any Data with no Schema or Indexing Required

Azure Cosmos DB’s schema-less service automatically indexes all


your data, regardless of the data model, to delivery blazing fast
queries.

• Automatic index management


• Synchronous auto-indexing GEEK
• Freedom from schema + index management
• Works across every data model
Microwave Liquid
Item Color CPU Memory Storage
• Ingest and serve data back out in milliseconds safe capacity
Geek mug Graphite Yes 16ox ??? ??? ???

Coffee Tan No 12oz ??? ??? ???


Bean mug

Surface Gray ??? ??? 3.4 GHz 16GB 1 TB SSD


book Intel
Skylake
Core i7-
6600U
Comprehensive SLA’s
Run your app on world-class infrastructure.
Azure Cosmos DB is the only service with financially-backed SLAs for
millisecond latency at the 99th percentile, 99.999% HA and guaranteed
throughput and consistency

Latency HA Throughput Consistency

<10 ms 99.999% Guaranteed Guaranteed


99th percentile
Trust your Data to Industry-Leading Security & Compliance

Azure is the world’s most trusted cloud, with more


certifications than any other cloud provider.

• Enterprise grade security


• Encryption at Rest and Transit
• Encryption is enabled automatically by default
• Comprehensive Azure compliance certification
Use Cases
Serving Industry-Leading Enterprise
Customers

 
Top 10 Reasons Why Customers Use
Azure Cosmos DB

The 1st and only Deliver massive Provides guaranteed Natively supports Boasts 5 well-defined
database with global storage/throughput single digit different types of data consistency models to
distribution turnkey scalability database millisecond latency at at massive scale pick the right
capability 99th percentile consistency/latency/
worldwide throughput tradeoff

Enables mission Gives high flexibility to Tackles big data Provides multi-tenancy Naturally analytics-
critical intelligent optimize for speed and workloads with high and enterprise-grade ready and perfect for
applications cost availability and security event-driven
reliability architectures
Retail
Handle Peak Sales Periods
with Ease
Azure CDN Azure Storage
(files)

Offer customers fast and reliable service quality


during seasonal and other high-traffic sales periods.

• Instant, elastic scaling handles traffic and sales


bursts Azure API Apps Azure Cosmos Apache Spark
(backend) DB (database) (analytics)
• Provisioned throughput ensures predictable
performance for mission critical microservices
(e.g. shopping cart)
• Low-latency data access from anywhere in the
world for fast, robust user experiences Azure Functions Azure Notification Hub
(Push notifications)
• High availability across multiple data centers
Order & Inventory Management Systems

• Event-sourcing architecture, with Cosmos DB


Change Feed
• Moved from IaaS to PasS for inventory system
• Chosen to handle high write-ingest for events &
low latency guarantees
• Scaled for Black Friday: 1 trillion RU’s over 24
hours

Walmart Labs (aka jet.com) ensures reliable app experience for


customers on Black Friday, Cyber Monday, and other high traffic periods
Deliver Relevant Real-time Online Recommendations Service
HOT path

Recommendation Systems
Azure Service Fabric Azure Cosmos
(Personalization DB
Decision Engine) (distributed model
Help customers discover items they’ll love with real- store)
Azure Data Factory
time personalization and product recommendations. (scheduled job to
Shoppers .com refresh persisted
(Product Details models)
• Machine learning models generate real-time Page)
recommendations across product catalogues
• High volumes of product data can be analyzed in Azure Event Hub Azure Data Lake Storage
Apache Spark
milliseconds (offline raw data)

• Low-latency ensures high app performance Offline Recommendations Engine


worldwide COLD path

• Tunable data consistency models for rapid insight

ASOS deliver personalized shopping experiences and real-time order updates to 15 Million
customers. Helping them grow and win with millennial shoppers.
IoT + Manufacturing
L e v e r a g e I o T Te l e m e t r y
to Build Differentiated
Experiences

Diverse and unpredictable IoT sensor


Azure IoT Hub Apache Storm on Azure Cosmos DB
workloads require a responsive data Azure HDInsight (Telemetry & device state)
platform

• Real-time vehicle diagnostics


• Instant elastic scaling Azure Storage
Azure Web Jobs
(Change feed
processor)
(archival)
• No loss in ingestion or query performance

Logic apps

Azure Cosmos DB was chosen due to its


ability to ingest data at massive scale with
high availability (99.99%) guarantee.
I o T, B i g D a t a O p t i m i z e
Operations at an Exxon
Mobil Subsidiary

Find a better way to monitor remote wells and


collect data on performance

• Must be cost efficient


• Unified device management and streaming
• Automate IOT and analytics

“We had a team of five people working on


this, and they built it from scratch. The
ease of use of the Azure services and the
support we got from Microsoft made that
possible. .”
Gaming
Deliver High-Quality
Experiences at any
Scale Globally
Azure CDN Azure Storage
Need for a DB that to seamlessly respond to (files)

massive scale and performance demands

• Multi-player game play with low latency


• Instant capacity scaling from launch onward Azure API Apps Azure Cosmos Apache Spark
(backend) DB (database) (analytics)
• Uninterrupted global user experience

Azure Functions Azure Notification Hub


(Push notifications)

The Walking Dead: No Man’s Land chose Azure


Cosmos DB because of its extremely low latency and
massive scale worldwide.
Financial Services
A F i n a n c i a l Tr e n d
SaaS Engine for
Investors
Internet
Browser
Need for a DB that can handle any schema and Cosmos DB Azure
App Service
adapt quickly to rapid changes Functions

• Financial SAAS engine with no dev ops


Azure SQL
Mobile External
Application database
• Super fast to handle financial data Insights
Services

• Scalable on demand, globally distributed


Storage (Azure)

Business models are under attack, especially in


the financial industry. Azure Cosmos DB is a
technology that can adapt, evolve, and allow a
business to innovate faster in order to turn
opportunities into strategic advantages.
Real-time
Payments Pipeline

Steady state - 10M transactions/day, peak hours - 3-4K


transactions/sec

• Financial SAAS engine with no dev ops


• Super fast to handle financial data
• Scalable on demand, globally distributed

Centralize payment pipelines, build real time


processing, analytics. Goal to introduce a
common pipeline accepting transactions from all
different sources and distributing them to the
right pipeline and also other sources like
analytics.​
Fidelity Built Mortgage Fidelity built a new application – EXOS – it is the only mobile
I n s u r a n c e A p p To digital mortgage application designed specifically to extend and
enhance every critical consumer touchpoint throughout the entire

Enhance Customer mortgage lending life cycle.

• EXOS offers a real-time personalized experience for customers


across the entire mortgage process including
• Appointment scheduling and communications –
enhancing customer experience and process .
Fidelity chose Cosmos DB due to the • Ensuring consistent , personalized and accurate
information for customer throughout the process.
Ease global distribution, ability to • EXOS Closing offers unmatched consumer satisfaction
scale and fully managed service  
and transparency in to the closing process.

reducing the database management


overhead.
Solve Industry Specific Needs
Highlight areas where data-driven app innovation can transform customer business

Solution Financial Manufacturing


Areas Services Retail & Resources Government Health Education

Customer experience Retail management Connected field Citizen services Educational lifecycle
Transactional management system service tracking
Care coordination
management

Real-time Commerce Secure global Customer care


Seamless services Supply chain visibility Global collaboration
experiences experience platform experience

Big data Enterprise grade


Risk compute Demand forecasting Server logs Genomic data Student analytics
processing control

Learn customer Automated Intelligent resources


AI Risk mitigation
habits
Predictive processes Smart buildings
appointments for students

Pricing & Promotion Quote-to-cash system Patient Coordination


Customer Service Citizen Service Requ Learning Managemen
Examples of
Banking Screen Retail Personalization Sales automation ests Risk prediction t System
SaaS apps Compliance Assessmen Inventory Optimization Predictive Maintenanc Grants Management Medical Claim Analytic Personalized learning
ts e s

Unique need Security User experience Scale Security Compliance Innovation

You might also like