SlideShare a Scribd company logo
16 – 17 November, SofiaISTACON.ORG
Power-up NoSQL with
Cosmos DB
By @RaduVunvulea
16 – 17 November, SofiaISTACON.ORG
RADU VUNVULEA
Technology Enthusiast
Dreamer
Microsoft Azure MVP
Speaker & Trainer
Writer & Blogger
Idealist Software
Architecture Crafter
16 – 17 November, SofiaISTACON.ORG
Purpose
Understand where and how Azure Cosmos
DB can improve our solutions
16 – 17 November, SofiaISTACON.ORG
What is Azure Cosmos DB?
16 – 17 November, SofiaISTACON.ORG
Azure Cosmos DB
Global distribution
Multi-model
Elastic scale-up
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLA
16 – 17 November, SofiaISTACON.ORG
Azure Cosmos DB
Global distribution
Multi-model
Elastic scale-up
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLA
Key Value
Column
Family
Document
Graph
16 – 17 November, SofiaISTACON.ORG
Azure Cosmos DB
Global distribution
Multi-model
Elastic scale-up
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLA
Cross
regions
Independ
and elastic
scale
16 – 17 November, SofiaISTACON.ORG
Azure Cosmos DB
Global distribution
Multi-model
Elastic scale-up
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLA
Strong
Bounded Staleness
Session
Consistent Prefix
Eventual
16 – 17 November, SofiaISTACON.ORG
Consistency levels
Strong
• Reads are
guaranteed to
return the
most recent
version of an
item.
Bounded
Staleness
• Consistent
Prefix. Reads
lag behind
writes by k
prefixes or t
interval
Session
• Consistent
Prefix.
Monotonic
reads,
monotonic
writes, read-
your-writes,
write-follows-
reads
Consistent
Prefix
• Updates
returned are
some prefix of
all the
updates, with
no gaps
Eventual
• Out of order
reads
16 – 17 November, SofiaISTACON.ORG
Azure Cosmos DB
Global distribution
Multi-model
Elastic scale-up
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLA
Read <10ms
Write <15ms
99%
16 – 17 November, SofiaISTACON.ORG
Azure Cosmos DB
Global distribution
Multi-model
Elastic scale-up
Choice of consistency
Guaranteed single-digit latency
Enterprise-level SLA
Guaranteed
Consistency
&Throughput
HA
99.99%
Latency
<10ms
16 – 17 November, SofiaISTACON.ORG
Demo
16 – 17 November, SofiaISTACON.ORG
Context
Business Scenario
• Transport platform between
devices and business systems
• Device management
• Command handling
• Payload assignment
• Payload delivery
16 – 17 November, SofiaISTACON.ORG
Command Management
16 – 17 November, SofiaISTACON.ORG
Command Management
Azure Table for each device
High throughput on R/W
Millions of commands per
second
Multiple storage accounts
16 – 17 November, SofiaISTACON.ORG
Command Management
Table used to store commands
No more cross storage
partitioning
Reduce deployment complexity
Removed storage resolver
16 – 17 November, SofiaISTACON.ORG
Command Tracking
16 – 17 November, SofiaISTACON.ORG
Command Tracking
Each command has multiple
states
High throughput on write
operations
Low latency
Timeout detection
Reporting capabilities
16 – 17 November, SofiaISTACON.ORG
Command Tracking
Table used to store commands
Reduce the load on Azure SQL
Scale more easily
Timeout detection using Spark
Generate reports using
Hadoop and PowerBI
16 – 17 November, SofiaISTACON.ORG
Payload Metadata
16 – 17 November, SofiaISTACON.ORG
Payload Metadata
Multiple Azure Tables
High number of read
operations
Never delete a metadata
Replicate across Azure Region
Custom logic for replication
Risk of inconsistency
16 – 17 November, SofiaISTACON.ORG
Payload Metadata
Table used to stored payload
metadata information
Replication across regions
Removed custom
syncronization layer
Reduce load on internal
Service Bus instances
16 – 17 November, SofiaISTACON.ORG
Payload assignment
16 – 17 November, SofiaISTACON.ORG
Payload assignment
Real time calculation
Result caching is not allowed
Requiring computation power
Relies on indexes and virtual
tables
16 – 17 November, SofiaISTACON.ORG
Payload assignment
Doesn’t make sense to migrate
SQL engine is optimized for
this kind of operations
Azure SQL can scale pretty
nice using partitioning
16 – 17 November, SofiaISTACON.ORG
Device Topology
16 – 17 November, SofiaISTACON.ORG
Device Topology
Documents inside MongoDB
There are arround 700.000 different
combinations
New devices appear every month
Synchronization cross region
Risk of inconsistency after a few
years
Writes operations in all nodes
16 – 17 November, SofiaISTACON.ORG
Device Topology
Documents inside Cosmos DB
Remove the custom
synchronization layer
No more inconsistency risk
Support for future devices
16 – 17 November, SofiaISTACON.ORG
Payload Delivery Status
16 – 17 November, SofiaISTACON.ORG
Payload Delivery Status
One Azure Table per device
Multiple storage accounts
Low throughput
No synchronization cross region
Reporting capabilities (hot
discussions)
Storage account resolver
capabilities
16 – 17 November, SofiaISTACON.ORG
Payload Delivery Status
Tables inside Cosmos DB
No need for multiple storage
accounts anymore
Reduce deployment complexity
Good reporting capabilities
Replicate all content to a central
location
16 – 17 November, SofiaISTACON.ORG
Final thoughts
Azure Cosmos DB
16 – 17 November, SofiaISTACON.ORG
Thank you!
@RaduVunvulea
vunvulearadu.blogspot.com
https://www.linkedin.com/in/raduvunvulea/
vunvulear@outlook.com

More Related Content

What's hot

Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...
Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...
Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...
Spark Summit
 

What's hot (18)

Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...
Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...
Building Realtime Data Pipelines with Kafka Connect and Spark Streaming: Spar...
 
Customer Case Study Containerised Bioinformatics on AWS How we Achieved 20x l...
Customer Case Study Containerised Bioinformatics on AWS How we Achieved 20x l...Customer Case Study Containerised Bioinformatics on AWS How we Achieved 20x l...
Customer Case Study Containerised Bioinformatics on AWS How we Achieved 20x l...
 
Building near real-time HTAP solutions using Synapse Link for Azure Cosmos DB
Building near real-time HTAP solutions using Synapse Link for Azure Cosmos DBBuilding near real-time HTAP solutions using Synapse Link for Azure Cosmos DB
Building near real-time HTAP solutions using Synapse Link for Azure Cosmos DB
 
Open Air 2016 Mini Talk
Open Air 2016 Mini TalkOpen Air 2016 Mini Talk
Open Air 2016 Mini Talk
 
Streaming Data Analytics with Amazon Redshift and Kinesis Firehose
Streaming Data Analytics with Amazon Redshift and Kinesis FirehoseStreaming Data Analytics with Amazon Redshift and Kinesis Firehose
Streaming Data Analytics with Amazon Redshift and Kinesis Firehose
 
Big Data Architectural Patterns and Best Practices on AWS
Big Data Architectural Patterns and Best Practices on AWSBig Data Architectural Patterns and Best Practices on AWS
Big Data Architectural Patterns and Best Practices on AWS
 
Tech talk firebase
Tech talk   firebaseTech talk   firebase
Tech talk firebase
 
Athens BigData Meetup - Sept 17
Athens BigData Meetup - Sept 17Athens BigData Meetup - Sept 17
Athens BigData Meetup - Sept 17
 
CouchDB + .NET - Relax in Style
CouchDB + .NET - Relax in StyleCouchDB + .NET - Relax in Style
CouchDB + .NET - Relax in Style
 
Data Science at Netflix with Amazon EMR (BDT306) | AWS re:Invent 2013
Data Science at Netflix with Amazon EMR (BDT306) | AWS re:Invent 2013Data Science at Netflix with Amazon EMR (BDT306) | AWS re:Invent 2013
Data Science at Netflix with Amazon EMR (BDT306) | AWS re:Invent 2013
 
"Production-ready Serverless Java Applications in 3 weeks" at AWS Community D...
"Production-ready Serverless Java Applications in 3 weeks" at AWS Community D..."Production-ready Serverless Java Applications in 3 weeks" at AWS Community D...
"Production-ready Serverless Java Applications in 3 weeks" at AWS Community D...
 
ACDKOCHI19 - Technical Presentation - Connecting 10000 cars to the AWS Cloud
ACDKOCHI19 - Technical Presentation - Connecting 10000 cars to the AWS CloudACDKOCHI19 - Technical Presentation - Connecting 10000 cars to the AWS Cloud
ACDKOCHI19 - Technical Presentation - Connecting 10000 cars to the AWS Cloud
 
Stream Analytics with SQL on Apache Flink
 Stream Analytics with SQL on Apache Flink Stream Analytics with SQL on Apache Flink
Stream Analytics with SQL on Apache Flink
 
Intro to Amazon Redshift Spectrum: Quickly Query Exabytes of Data in S3 - Jun...
Intro to Amazon Redshift Spectrum: Quickly Query Exabytes of Data in S3 - Jun...Intro to Amazon Redshift Spectrum: Quickly Query Exabytes of Data in S3 - Jun...
Intro to Amazon Redshift Spectrum: Quickly Query Exabytes of Data in S3 - Jun...
 
Designing Data-Intensive Applications
Designing Data-Intensive ApplicationsDesigning Data-Intensive Applications
Designing Data-Intensive Applications
 
AWS Glue - let's get stuck in!
AWS Glue - let's get stuck in!AWS Glue - let's get stuck in!
AWS Glue - let's get stuck in!
 
If you doing file uploads with rails you're gonna have a bad time
If you doing file uploads with rails you're gonna have a bad timeIf you doing file uploads with rails you're gonna have a bad time
If you doing file uploads with rails you're gonna have a bad time
 
AWS Perú Meetup - Arquitecting for HA by Raul Hugo
AWS Perú Meetup - Arquitecting for HA by Raul HugoAWS Perú Meetup - Arquitecting for HA by Raul Hugo
AWS Perú Meetup - Arquitecting for HA by Raul Hugo
 

Similar to Power-up NoSQL with Cosmos DB

CouchDB and Rails on the Cloud
CouchDB and Rails on the CloudCouchDB and Rails on the Cloud
CouchDB and Rails on the Cloud
rockyjaiswal
 
AWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC CorporationAWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC Corporation
Manpreet Sidhu
 

Similar to Power-up NoSQL with Cosmos DB (20)

Data Saturday 13 - Minnesota - Cosmos DB and Azure Functions.pptx
Data Saturday 13 - Minnesota - Cosmos DB and Azure Functions.pptxData Saturday 13 - Minnesota - Cosmos DB and Azure Functions.pptx
Data Saturday 13 - Minnesota - Cosmos DB and Azure Functions.pptx
 
NoSQL Migration to Azure Cosmos DB Pitch Deck
NoSQL Migration to Azure Cosmos DB Pitch DeckNoSQL Migration to Azure Cosmos DB Pitch Deck
NoSQL Migration to Azure Cosmos DB Pitch Deck
 
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora
 
Azure CosmosDB the new frontier of big data and nosql
Azure CosmosDB the new frontier of big data and nosqlAzure CosmosDB the new frontier of big data and nosql
Azure CosmosDB the new frontier of big data and nosql
 
OSS DB on Azure
OSS DB on AzureOSS DB on Azure
OSS DB on Azure
 
Node.CQ - Creating Real-time Data Mashups with Node.JS and Adobe CQ
Node.CQ - Creating Real-time Data Mashups with Node.JS and Adobe CQNode.CQ - Creating Real-time Data Mashups with Node.JS and Adobe CQ
Node.CQ - Creating Real-time Data Mashups with Node.JS and Adobe CQ
 
Azure Databricks is Easier Than You Think
Azure Databricks is Easier Than You ThinkAzure Databricks is Easier Than You Think
Azure Databricks is Easier Than You Think
 
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
 
Creating Real-Time Data Mashups with Node.JS and Adobe CQ
Creating Real-Time Data Mashups with Node.JS and Adobe CQCreating Real-Time Data Mashups with Node.JS and Adobe CQ
Creating Real-Time Data Mashups with Node.JS and Adobe CQ
 
Data Pipeline for The Big Data/Data Science OKC
Data Pipeline for The Big Data/Data Science OKCData Pipeline for The Big Data/Data Science OKC
Data Pipeline for The Big Data/Data Science OKC
 
Options for running Kubernetes at scale across multiple cloud providers
Options for running Kubernetes at scale across multiple cloud providersOptions for running Kubernetes at scale across multiple cloud providers
Options for running Kubernetes at scale across multiple cloud providers
 
Running in multiple data centers
Running in multiple data centersRunning in multiple data centers
Running in multiple data centers
 
Databases & Analytics AWS re:invent 2019 Recap
Databases & Analytics AWS re:invent 2019 RecapDatabases & Analytics AWS re:invent 2019 Recap
Databases & Analytics AWS re:invent 2019 Recap
 
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Solutions for bi-directional Integration between Oracle RDMBS & Apache KafkaSolutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
 
Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database, Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database,
 
CouchDB and Rails on the Cloud
CouchDB and Rails on the CloudCouchDB and Rails on the Cloud
CouchDB and Rails on the Cloud
 
NoSQL Migration Technical Pitch Deck
NoSQL Migration Technical Pitch DeckNoSQL Migration Technical Pitch Deck
NoSQL Migration Technical Pitch Deck
 
NoSQL - what's that
NoSQL - what's thatNoSQL - what's that
NoSQL - what's that
 
AWS November Webinar Series - Aurora Deep Dive
AWS November Webinar Series - Aurora Deep DiveAWS November Webinar Series - Aurora Deep Dive
AWS November Webinar Series - Aurora Deep Dive
 
AWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC CorporationAWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC Corporation
 

Recently uploaded

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Ransomware Mallox [EN].pdf
Ransomware         Mallox       [EN].pdfRansomware         Mallox       [EN].pdf
Ransomware Mallox [EN].pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 

Power-up NoSQL with Cosmos DB

  • 1. 16 – 17 November, SofiaISTACON.ORG Power-up NoSQL with Cosmos DB By @RaduVunvulea
  • 2.
  • 3. 16 – 17 November, SofiaISTACON.ORG RADU VUNVULEA Technology Enthusiast Dreamer Microsoft Azure MVP Speaker & Trainer Writer & Blogger Idealist Software Architecture Crafter
  • 4. 16 – 17 November, SofiaISTACON.ORG Purpose Understand where and how Azure Cosmos DB can improve our solutions
  • 5. 16 – 17 November, SofiaISTACON.ORG What is Azure Cosmos DB?
  • 6. 16 – 17 November, SofiaISTACON.ORG Azure Cosmos DB Global distribution Multi-model Elastic scale-up Choice of consistency Guaranteed single-digit latency Enterprise-level SLA
  • 7. 16 – 17 November, SofiaISTACON.ORG Azure Cosmos DB Global distribution Multi-model Elastic scale-up Choice of consistency Guaranteed single-digit latency Enterprise-level SLA Key Value Column Family Document Graph
  • 8. 16 – 17 November, SofiaISTACON.ORG Azure Cosmos DB Global distribution Multi-model Elastic scale-up Choice of consistency Guaranteed single-digit latency Enterprise-level SLA Cross regions Independ and elastic scale
  • 9. 16 – 17 November, SofiaISTACON.ORG Azure Cosmos DB Global distribution Multi-model Elastic scale-up Choice of consistency Guaranteed single-digit latency Enterprise-level SLA Strong Bounded Staleness Session Consistent Prefix Eventual
  • 10. 16 – 17 November, SofiaISTACON.ORG Consistency levels Strong • Reads are guaranteed to return the most recent version of an item. Bounded Staleness • Consistent Prefix. Reads lag behind writes by k prefixes or t interval Session • Consistent Prefix. Monotonic reads, monotonic writes, read- your-writes, write-follows- reads Consistent Prefix • Updates returned are some prefix of all the updates, with no gaps Eventual • Out of order reads
  • 11. 16 – 17 November, SofiaISTACON.ORG Azure Cosmos DB Global distribution Multi-model Elastic scale-up Choice of consistency Guaranteed single-digit latency Enterprise-level SLA Read <10ms Write <15ms 99%
  • 12. 16 – 17 November, SofiaISTACON.ORG Azure Cosmos DB Global distribution Multi-model Elastic scale-up Choice of consistency Guaranteed single-digit latency Enterprise-level SLA Guaranteed Consistency &Throughput HA 99.99% Latency <10ms
  • 13. 16 – 17 November, SofiaISTACON.ORG Demo
  • 14. 16 – 17 November, SofiaISTACON.ORG Context
  • 15. Business Scenario • Transport platform between devices and business systems • Device management • Command handling • Payload assignment • Payload delivery
  • 16. 16 – 17 November, SofiaISTACON.ORG Command Management
  • 17. 16 – 17 November, SofiaISTACON.ORG Command Management Azure Table for each device High throughput on R/W Millions of commands per second Multiple storage accounts
  • 18. 16 – 17 November, SofiaISTACON.ORG Command Management Table used to store commands No more cross storage partitioning Reduce deployment complexity Removed storage resolver
  • 19. 16 – 17 November, SofiaISTACON.ORG Command Tracking
  • 20. 16 – 17 November, SofiaISTACON.ORG Command Tracking Each command has multiple states High throughput on write operations Low latency Timeout detection Reporting capabilities
  • 21. 16 – 17 November, SofiaISTACON.ORG Command Tracking Table used to store commands Reduce the load on Azure SQL Scale more easily Timeout detection using Spark Generate reports using Hadoop and PowerBI
  • 22. 16 – 17 November, SofiaISTACON.ORG Payload Metadata
  • 23. 16 – 17 November, SofiaISTACON.ORG Payload Metadata Multiple Azure Tables High number of read operations Never delete a metadata Replicate across Azure Region Custom logic for replication Risk of inconsistency
  • 24. 16 – 17 November, SofiaISTACON.ORG Payload Metadata Table used to stored payload metadata information Replication across regions Removed custom syncronization layer Reduce load on internal Service Bus instances
  • 25. 16 – 17 November, SofiaISTACON.ORG Payload assignment
  • 26. 16 – 17 November, SofiaISTACON.ORG Payload assignment Real time calculation Result caching is not allowed Requiring computation power Relies on indexes and virtual tables
  • 27. 16 – 17 November, SofiaISTACON.ORG Payload assignment Doesn’t make sense to migrate SQL engine is optimized for this kind of operations Azure SQL can scale pretty nice using partitioning
  • 28. 16 – 17 November, SofiaISTACON.ORG Device Topology
  • 29. 16 – 17 November, SofiaISTACON.ORG Device Topology Documents inside MongoDB There are arround 700.000 different combinations New devices appear every month Synchronization cross region Risk of inconsistency after a few years Writes operations in all nodes
  • 30. 16 – 17 November, SofiaISTACON.ORG Device Topology Documents inside Cosmos DB Remove the custom synchronization layer No more inconsistency risk Support for future devices
  • 31. 16 – 17 November, SofiaISTACON.ORG Payload Delivery Status
  • 32. 16 – 17 November, SofiaISTACON.ORG Payload Delivery Status One Azure Table per device Multiple storage accounts Low throughput No synchronization cross region Reporting capabilities (hot discussions) Storage account resolver capabilities
  • 33. 16 – 17 November, SofiaISTACON.ORG Payload Delivery Status Tables inside Cosmos DB No need for multiple storage accounts anymore Reduce deployment complexity Good reporting capabilities Replicate all content to a central location
  • 34. 16 – 17 November, SofiaISTACON.ORG Final thoughts
  • 36. 16 – 17 November, SofiaISTACON.ORG Thank you! @RaduVunvulea vunvulearadu.blogspot.com https://www.linkedin.com/in/raduvunvulea/ vunvulear@outlook.com

Editor's Notes

  1. Image sourcehttps://pixabay.com/en/milky-way-universe-person-stars-1023340/