de:code 2019
Deep-dive in Azure Cosmos DB:
Advanced topics on partitioning, data distribution and indexing
DP06
Overview of partitioning
container
15,000 RUs
physical
partition 1
5,000 RUs
physical
partition 2
5,000 RUs
Client application
(write)
Another client
application
(read)
To read data efficiently, the app
must provide the partition key of
the documents it is requesting
physical
partition 3
5,000 RUs
de:code 2019 DP52
Azure Cosmos DB AMA
(Ask Me Anything, with engineering team)
Luis Bosquez
Program Manager
Azure Cosmos DB
@_lbosq
Mark Brown
Principal Program Manager
Azure Cosmos DB
@markjbrown
マークブラウンルイスボスケス
What's new in Azure Cosmos DB?
Announcements from Build 2019
V3 SDK
Easier
management
Portal, ARM, Roles
Faster
performance!
For aggregates and
lookups
オンライン移行のながれ
C1 C2 C3
1 A あ
2 B い
3 C う
準備 スキーマ移行 データ移行 切り替え
C1 C2 C3C1 C2 C3
1 A あ
2 B い
3 C う
aws
C1 C2 C3
1 A あ
2 B い
3 C う
C1 C2 C3
1 A あ
2 B い
3 C え
C1 C2 C3
1 A あ
2 B い
3 C え
A
S
伝送 保存 加工
Train(トレイン)
モデル化、出力
新 世 代 デ ー タ ウ ェ ア ハ ウ ス
Azure Blob Storage
Logs, files and media
(非構造化)
Azure SQL Data
Warehouse
Azure Data Factory
Azure Analysis
Services
Azure Databricks
(Python, Scala, Spark SQL)
Polybase
Business/custom apps
(構造化)
Power BI
Azure also supports other Big Data services like Azure HDInsight and Azure Data Lake to allow customers to tailor the above architecture to meet their unique needs.
INGEST STORE PREP & TRAIN MODEL & SERVE
高 度 デ ー タ 分 析
( A D V A N C E D A N A L Y T I C S )
Azure Blob Storage
Logs, files and media
(unstructured)
Azure SQL Data
Warehouse
Azure Data Factory
Azure Analysis
Services
Polybase
Business/custom apps
(Structured)
Power BI
AzureはAzure HDInsightやAzure Data Lakeなど更に大規模なビッグデータ環境に合わせてコンポーネント単位で切り替えが可能。
Azure Databricks
(Python, Scala, Spark SQL)
Azure Databricks
(Spark ML, Spark R, SparklyR)
Intelligent Apps
Cosmos DB
INGEST STORE PREP & TRAIN MODEL & SERVE
リアルタイム分析
Logs, files and media
(unstructured)
Sensors and IoT
(unstructured)
HDInsight
(Kafka)
Power BIAzure Databricks
(Python, Scala, Spark SQL)
Intelligent Apps
Cosmos DBEvent Hub
IoT Hub
Azure Databricks
(Spark ML, Spark R, SparklyR)
Azure Blob Storage
Batch Data
(Apps, logs) Azure Data Factory
INGEST STORE PREP & TRAIN MODEL & SERVE
A Z U R E ラ ム ダ パ タ ー ン
Azure Blob Storage
Batch Data
(Apps, logs)
Streaming Data
(web, sensors &
IoT)
Azure Data Factory
HDInsight
(Kafka)
Power BIAzure Databricks
(Python, Scala, Spark SQL)
Azure SQL Data
Warehouse
Azure Analysis
Services
IoT Hub
Event Hub
Intelligent Apps
Cosmos DBAzure Databricks
(Spark ML, Spark R, SparklyR)
ゲームデータの力を信じよう!分析サイクルを作ろう
Rules Engine
1. 一箇所にゲームデータ、
イベントなどの結果
のデータを集める
2. リアルタイムである程度の
処理をしよう
3. Exchange data with other
tools & services
5. リアルタイムな意思決定
Match
started
Forum
post
Crash
logged
+10 XP
Login
(via FB)
Win
match
Buy
item
Chat
msg
Support
ticket
Existing Backend
Partner Services
PlayFab Backend
The Game
PlayFab Insight
(Azure Data Explorer)
Spent
$10
4. オフライン
の分析