SlideShare a Scribd company logo
Developer Analytics
Overview & Demo
Agenda
• Functional overview
• Demo
• Architecture overview
Developer
Portal
Per app
report
App Tile App summary Adoption
Downloads
In-app
purchases
Usage
Ratings Quality Finance
Per Developer
report
Financial
summary
Store report
Explore Store
trends
Developer Analytics – Sitemap
This is an aggregation of downloads,
ratings, quality, finance, purchases and
in-app purchases report to give an
overview of all the metrics useful to the
developer.
This is an summary of downloads,
purchases, in-app purchases, usage
metrics
It also shows Discovery metrics – App
discovery/conversion funnel and app’s
web listing page’s web referrers
distribution
Developer Analytics – Partner dependency
Fundamental Telemetry
5R – RnR
DSP Telemetry
Downloads
In-app purchases
Usage
Quality
Ratings and Reviews
Finance
Financial Summary
Adoption page
Explore Store trends
Page views + Conversion funnel
Primes
PFDb – PartnerFeedDb (Aggregation)
BI Cube (Copy to FEs)
Telemetry Cube (Copy + Stability feed generation)
RnR BCP Feed (Aggregation)
ComTransactionDb (Aggregation)
Demo
Developer Analytics
Architecture Overview
Developer Analytics
Architecture overview
• Component Grouping
• Copy, Validate & Publish SSAS Cube
• Extract and Load with basic processing
• Extract, Transform and Load
• Data Mining for Store Trends
• Workitem Framework Block Diagram
Architecture overview – Cube PAS
• Copy, Validate & Publish SSAS Cube
• Input – Cube backup
• Processing
• Restore cube backup on BE
• Validate Schema
• Publish
• Restore new cube to Passive instance
• PAS - Passive Active Sync
• Copy cube to passive instance of all FEs
• Flip Passive to Active instance.
Cube
(Backup)
DCS
Pipeline
DLS
Pipeline
Temp
Storage
Cube
SSAS
PAS
Pipeline
Telemetry
Cube
SSAS
Cube
SS
AS
FE Cube
SSAS
Telemetry
Cube
SSAS
Cube
SS
AS
FE Cube
SSAS
Passive
Active
FE
Portal
Architecture overview – Basic ETL
• Extract and Load with basic processing
• Input – Raw data
• Processing
• Validate Schema of raw data
• Filter unwanted data
• Remove duplicate entries
• Load
• Re-process SSAS Cube and Publish to FE using PAS
• Copy processed data to FE DB
FE
Portal
Staging DB DWHProcessing
Cube
SSAS
PAS
Pipeline
Store
Cube
SSAS
Store
Cube
SSAS
FE
Cube
SSAS
Feed Data Feed
Pipeline
App Store
Analytics
DB
App Store
Analytics
DB
FE DB
DPS
Pipeline
Architecture overview – ETL
• Extract, Transform and Load
• Input – Raw data
• Processing
• Data Fetch
• Validate Schema of raw data
• Filter unwanted data
• Remove duplicate entries
• Data normalization
• Data Processing – Data Aggregation
• Load
• Copy processed data to FE DB
FE
Portal
Staging
DB
DWH
Feed
Data Feed
Pipeline
App Store
Analytics
DB
App Store
Analytics
DB
FE DB
Data Move
Processing
Source
DB
Data
Fetcher
Architecture overview - Mining
• Data Mining
• Input – Acquisition data
• Processing
• Data Fetch
• Validate Schema of raw data
• Filter unwanted data
• Remove duplicate entries
• Data normalization
• Data Processing
• Data Preparation – Data Filtering, Data Sampling, Data Discretization
• Data Mining
• Output
• Mining Rules i.e. Observed data trends
FE
Portal
DWH
App Store
Analytics
DB
App Store
Analytics
DB
Rules DB
Data
Preparator
Source
DB
Data
Fetcher
Sampled
Data Store
Data
Mining
Architecture overview
• Workitem Framework
DB Based Workitem
Queue
Workitem
Generator1
WI Type 1 State 1
WI Type 1 State 2
WI Type 4 State 10
Workitem
Generator2
WI Processor
Type 1 State 1
WI Processor
Type 4 State 10
WI Processor
Type 1 State 2
WI Processor
Type 4 State 10
Architecture overview
Partner
Feed DB
RnR
Feed
ComTxn
Feed
DevAnalytics
Staging DB
MiningDWH
DB
MiningDWH
DBMiningDWH
DB
Sampled
Data Store
Sampled
Data Store
Data
Fetcher
WIFx
Data Feed
Pipeline
Data
Fetcher
WIFx
Mining Data
Preparator
WIFx
Mining Data
Miner – WIFx,
SSAS
Data Aggregator
WIFx
Move Data to FE
WIFx
Data Feed
Pipeline
Payout
Cube
SSAS
Telemetry
Cube
DCS
Pipeline
DLS
PipelineTemp
Storage
Telemetry
Cube
SSAS
PAS
Pipeline
Telemetry
Cube
SSAS
A. Te
le
m
Telemetry
Cube
SSAS
Manual
Cert DB
Data Feed
Pipeline
Certification
Reporting DB
Mining
Rules DB
Mining
Rules DB
Mining
Rules DB
DevAnalyticsFE
DB
DevAnalyticsFE
DBDevAnalyticsFE
DB
Analytics
Staging DB
Analytics
DWH
Load
DWH
SSIS
Store
Cube
SSAS
PAS
Pipeline
Store
Cube
SSAS
Store
Cube
SSAS
Store
Cube
SSAS
App
Catalog
Feed
Data Feed
Pipeline
Control DB
Data Fetch Workitem Generator
Data Mining Workitem Generator
Aggregation Workitem Generator
Settelment
Feed
CP
Feed
ForEx
Feed
App Store
Analytics DB
App Store
Analytics DB
App Store
Analytics DB
DPS
Pipeline
Tracking DB
Currency
Conversion
Tracking DB
Dev
Portal
Dev
Portal
Dev
Portal
Dev
Portal
Mining
Rules DB
Mining
Rules DB
Onboarding
DB
Stability Score
Pipeline
Stability
Score Feed
Data Feed
Pipeline
BI Cube
DCS
Pipeline DLS
Pipeline
BI Cube
SSAS
PAS
Pipeline
Telemet
ry Cube
SSAS
Tele
m
e
BI Cube
SSAS
Architecture overview – Cube PAS
Telemetry
Cube
DCS
Pipeline
DLS
Pipeline
Temp
Storage
Telemetry
Cube
SSAS
PAS
Pipeline
Telemetry
Cube
SSAS
Telem
etr
y
Cu
be
SS
AS
Telemetry
Cube
SSAS
Stability Score
Pipeline
Stability
Score Feed
BI Cube
DCS
Pipeline DLS
Pipeline
BI Cube
SSAS
PAS
Pipeline
Telemetr
y Cube
SSAS
Tele
m
e
t
r
y
C
u
b
e
S
S
A
S
BI Cube
SSAS
Architecture overview – Cube PAS
Fundamental Telemetry
5R – RnR
DSP Telemetry
Downloads
In-app purchases
Usage
Quality
Ratings and Reviews
Finance
Finance Summary
Adoption page
Explore Store trends
Page views + Conversion funnel
Primes + CP + CTP
PFDb -- PartnerFeedDb
BI Cube
Telemetry Cube
RnR BCP Feed
ComTransactionDb
Architecture overview
ComTxn
Feed
Data Feed
Pipeline
Payout
Cube
SSAS
Analytics
Staging DB
Analytics DWH
Load
DWH
SSIS
Store
Cube
SSAS
PAS
Pipeline
Store
Cube
SSAS
Store
Cube
SSAS
Store
Cube
SSASSettelment
Feed
CP
Feed
ForEx
Feed
App Store
Analytics DB
App Store
Analytics DB
App Store
Analytics DB
DPS
Pipeline
Currency
Conversion
Data Feed
Pipeline
Architecture overview
Fundamental Telemetry
5R – RnR
DSP Telemetry
Downloads
In-app purchases
Usage
Quality
Ratings and Reviews
Finance
Finance Summary
Adoption page
Explore Store trends
Page views + Conversion funnel
Primes
PFDb – PartnerFeedDb (Aggregation)
BI Cube (Copy to FEs)
Telemetry Cube (Copy + Stability feed generation)
RnR BCP Feed (Aggregation)
ComTransactionDb (Aggregation)
Architecture overview – Aggregate DB and Mining
Partner
Feed DB
RnR Feed
DevAnalytics
Staging DB
MiningDWH
DB
MiningDWH
DBMiningDWH
DB
Sampled
Data Store
Sampled
Data Store
Data
Fetcher
WIFx
Data Feed
Pipeline
Data
Fetcher
WIFx
Mining Data
Preparator
WIFx
Mining Data
Miner – WIFx,
SSAS
Data Aggregator
WIFx
Move Data to FE
WIFx
Manual
Cert DB
Data Feed
Pipeline
Mining
Rules DB
Mining
Rules DB
Mining
Rules DB
DevAnalyticsFE
DB
DevAnalyticsFE
DB
DevAnalyticsFE
DB
App
Catalog
Feed
Data Feed
Pipeline
Control DB
Data Fetch Workitem Generator
Data Mining Workitem Generator
Aggregation Workitem Generator
Tracking DBTracking DB
Architecture overview – Aggregate DB and Mining
Fundamental Telemetry
5R – RnR
DSP Telemetry
Downloads
In-app purchases
Usage
Quality
Ratings and Reviews
Finance
Finance Summary
Adoption page
Explore Store trends
Page views + Conversion funnel
Primes
PFDb – PartnerFeedDb (Aggregation)
BI Cube (Copy to FEs)
Telemetry Cube (Copy + Stability feed generation)
RnR BCP Feed (Aggregation)
ComTransactionDb (Aggregation)
Architecture overview – Front End Block Diagram
ReportDefinitions.xml
CubeQueries.xml
DbQueries.xml
Report
Manager
Cube DAL
DB DAL
DataAccessService
DAL Interface
DeveloperAnalytics
Controller (MVC)
Highcharts
Agg DB
BI Cube
DevAnalyticsFE
DB
TransactionDB DAL
Mining Rules API
Agg DB
App Store
Analytics DB
Telemetry
Cube
Store
Cube
Architecture overview
Heading
Heading
Component + Physical Architecture for Dev Analytics for Windows BlueComponent + Physical Architecture for Dev Analytics for Windows Blue
Sources
Store(Ratings/
Review as bcp)
5/8 MB, 1/12 hrs
50 MB/Day 7MB/Day10 GB, 1/Day
Partner
Feed(Acquisitions,
Page Referrals,
Conversions)
2GB/Day
Manual Cert
DB
Telemetry(Quality,
Usage as a cube)
DSP Telemetry aka
BET (Acquisitions,
Conversion,
Referrers as a
cube)
Upgrade Model: FE is meant to be active even when BE is down. WebStore Layer is updated first. BE Layer
components next. FE components last. V (N) FE components must work with V(N+1) pipelines.
Availability : 3 way replication for FE stores . Replication Load prevents addition of a new DC. BE is Active/Passive.
Procedure to do failover is not tested or captured as a runbook.
Scalability : FE scale model is based on data replication. BE scale model is adhoc.
Portal
WebStore/SQL
Local Caching(for
metadata)
Internal Partners Only
Certification
Reporting DB
FE Layer(Active/Active))FE Layer(Active/Active))
DS2DS1
Backend Layer(Active/Passive)Backend Layer(Active/Passive)
Mining DWH
DB(partition 0)
Data Fetcher
WIFx(Partner
Feed DB)
Dev Analytics
Staging DB
Control DB
Mining DWH
DB (partition 1)
Mining Data
Preparator
WIFx
Data Feed
Pipeline(RNR,
Manual Cert,
App Catalogue)
Data
Aggregator
WIFx
PS1
Data Fetcher
WIFx(Partner
Feed DB)
Data Fetcher
WIFx(Dev
Analytics
Staging DB)
Mining Data
Preparator
WIFx
Sampled
Data
Store(partiti
on 0)
Sampled
Data Store
Data Miner
WIFx
PS2
Sampled
Data
Store(partiti
on 1)
Data Miner
WIFx
Tx Catalog (Finance,
as bcp)
300MB/Day
7MB/Day
SSAS Cube
Analytics BE CubeAnalytics Pipeline BE
Backend LayerBackend Layer
Analytics
Staging DB
Analytics DWH
DB
Store Cube
Telemetry
Cube
Store BI
Cube
BET
DCS
DLS
PAS
DCS
DLS
PAS
DCS
DLS
PAS
Mining WI
Monitoring WIFx
Mining Data
Preparator
WIFx
DC1
Payout Cube
Frontend Cube ServerFrontend Cube Server
Telemetry
Cube
Store Cube
Store BI
Cube
Frontend Cube ServerFrontend Cube Server
Telemetry
Cube
Store Cube
Store BI
Cube
Frontend Cube ServerFrontend Cube Server
Telemetry
Cube
Store Cube
Store BI
Cube
Frontend DB Server
App Store Analytics DB
Dev Analytics FE DB
Mining Rules DB
Onboarding DB
Frontend DB Server
App Store Analytics DB
Dev Analytics FE DB
Mining Rules DB
Onboarding DB
Stability Score Feed
Architecture overview – Front End Cube Per DC
Architecture overview – Front End DB Per DC
Architecture overview – Back End Cube
Architecture overview – BE DWH & Processing (Pri DC)
Architecture overview – BE DWH & Processing (Sec DC)
Appendix
Developer Analytics
Developer Analytics – Quality/Usage details
• Usage metric & Reliability rates
• Sampled data.
• CEIP applies. Minimum 15 minute usage threshold to be sampled.
• Max 1000 machines per sample. Random sampling.
• Latency: 5 days
• Metric computed for 3 day periods
• Quality page – Top limitations
• Triage dumps with only call stacks.
• Un-sampled data. (CEIP applies)
• Latency: 6 days
Developer Analytics – Finance page details

More Related Content

PPTX
A Scalable Data Transformation Framework using Hadoop Ecosystem
PDF
Sap hana experiences at southern california edison — bw hana and standalone hana
PDF
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
PPTX
Bw on hana some obvious wins
PPT
SAP Integrated Business Planning
PPTX
SAP NetWeaver BW Powered by SAP HANA
PPTX
What SQL DBAs need to know about SharePoint-Indianapolis 2013
PPTX
SAP HANA Integrated Online Course Training in Hyderabad | Imagine Life
A Scalable Data Transformation Framework using Hadoop Ecosystem
Sap hana experiences at southern california edison — bw hana and standalone hana
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Bw on hana some obvious wins
SAP Integrated Business Planning
SAP NetWeaver BW Powered by SAP HANA
What SQL DBAs need to know about SharePoint-Indianapolis 2013
SAP HANA Integrated Online Course Training in Hyderabad | Imagine Life

What's hot (19)

PPTX
SAP BW Powered by SAP HANA
PDF
Step by-step-guide-of-modeling-hana-views-into-bw-in-sap-bw-7-4-on-hana
PPTX
Avoiding 10 common SharePoint Administration mistakes
PDF
Bw h 7.4 sp9 sp8-2014 roadmap
PPTX
Understanding and Configuring an Effective SharePoint 2013 Search
PPTX
Sap bw on hana ramireddy ppt
PDF
Hana for copa
PDF
Hbase mhug 2015
PPT
Bw web application design
DOCX
SAP S/4 HANA ONLINE TRAINING
PDF
New course content hana sps10 1
PPTX
Highly available and scalable architectures
PPTX
BW on HANA optimisation answers
PPTX
SPS Kansas City: What SharePoint Admin need to know about SQL
PDF
Best Practices to Administer, Operate, and Monitor an SAP HANA System
DOCX
SAP HANA Online Training/ SAP HANA Interview Questions
PDF
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
PDF
Planning SharePoint 2013 Search for IT PROs
PDF
0101 foundation - detailed view of hana architecture
SAP BW Powered by SAP HANA
Step by-step-guide-of-modeling-hana-views-into-bw-in-sap-bw-7-4-on-hana
Avoiding 10 common SharePoint Administration mistakes
Bw h 7.4 sp9 sp8-2014 roadmap
Understanding and Configuring an Effective SharePoint 2013 Search
Sap bw on hana ramireddy ppt
Hana for copa
Hbase mhug 2015
Bw web application design
SAP S/4 HANA ONLINE TRAINING
New course content hana sps10 1
Highly available and scalable architectures
BW on HANA optimisation answers
SPS Kansas City: What SharePoint Admin need to know about SQL
Best Practices to Administer, Operate, and Monitor an SAP HANA System
SAP HANA Online Training/ SAP HANA Interview Questions
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
Planning SharePoint 2013 Search for IT PROs
0101 foundation - detailed view of hana architecture
Ad

Viewers also liked (16)

PDF
Harrier_Success-Stories
PPT
T R A B A J O E L E N A[1]
DOCX
Search Approach - ES, GraphDB
PPT
090728 小姪女
PPTX
Harrier Success Stories
DOCX
Tammy LaRue Resume
PPT
Is social media free advertising?
PDF
Unidad didáctica tpack. carlos calderón
PPTX
Cutelaria (Pratica Simulada)
PDF
Natria - природный уход за кожей и волосами
PPTX
Cerâmica e porcelana
PPTX
How Radio Can Drive Digital Revenue & Generate Qualified Leads with Online Pr...
PPTX
Sistem informasi dan Teknologi Informasi dalam Kegiatan Organisasi
PPTX
Emotional intelligence
DOCX
PANKAJ CV MUD ENGINEER
PPT
Yelp - creating a better review
Harrier_Success-Stories
T R A B A J O E L E N A[1]
Search Approach - ES, GraphDB
090728 小姪女
Harrier Success Stories
Tammy LaRue Resume
Is social media free advertising?
Unidad didáctica tpack. carlos calderón
Cutelaria (Pratica Simulada)
Natria - природный уход за кожей и волосами
Cerâmica e porcelana
How Radio Can Drive Digital Revenue & Generate Qualified Leads with Online Pr...
Sistem informasi dan Teknologi Informasi dalam Kegiatan Organisasi
Emotional intelligence
PANKAJ CV MUD ENGINEER
Yelp - creating a better review
Ad

Similar to Dev Analytics Overview (20)

PDF
Data Platform Architecture Principles and Evaluation Criteria
PDF
Apache CarbonData+Spark to realize data convergence and Unified high performa...
PDF
FORCES - EBS Upgrade Compared to SaaS Cloud.pdf
PDF
DataVard BW Fitness Test and HeatMap
PDF
Build vs buy : data pipeline - approach
PPTX
Real-world software design practices when developing ASP.NET web systems by B...
PPTX
Skilwise Big data
PPTX
Skillwise Big Data part 2
PPTX
Big Data Simplified - Is all about Ab'strakSHeN
PDF
The Essential Guide for Automating CMDB population and maintenance
PPTX
Data Con LA 2018 - Standing on shoulders of giants by Sooraj Akkammadam
PPTX
Sap Business Objects solutioning Framework architecture
PPTX
Databus - LinkedIn's Change Data Capture Pipeline
PPTX
Te kslate sap bods
PDF
Fast Cycle, Multi-Terabyte Data Analysis with Amazon Redshift and ClearStory ...
PPT
A Scalable Data Transformation Framework using the Hadoop Ecosystem
PPTX
Tableau and hadoop
PPT
Oracle bi ee architecture
PPTX
Sap bw bi
PDF
Innovation Track AWS Cloud Experience Argentina - Data Lakes & Analytics en AWS
Data Platform Architecture Principles and Evaluation Criteria
Apache CarbonData+Spark to realize data convergence and Unified high performa...
FORCES - EBS Upgrade Compared to SaaS Cloud.pdf
DataVard BW Fitness Test and HeatMap
Build vs buy : data pipeline - approach
Real-world software design practices when developing ASP.NET web systems by B...
Skilwise Big data
Skillwise Big Data part 2
Big Data Simplified - Is all about Ab'strakSHeN
The Essential Guide for Automating CMDB population and maintenance
Data Con LA 2018 - Standing on shoulders of giants by Sooraj Akkammadam
Sap Business Objects solutioning Framework architecture
Databus - LinkedIn's Change Data Capture Pipeline
Te kslate sap bods
Fast Cycle, Multi-Terabyte Data Analysis with Amazon Redshift and ClearStory ...
A Scalable Data Transformation Framework using the Hadoop Ecosystem
Tableau and hadoop
Oracle bi ee architecture
Sap bw bi
Innovation Track AWS Cloud Experience Argentina - Data Lakes & Analytics en AWS

More from Sunita Shrivastava (6)

DOCX
Bing Phone Book Service Arch Spec
DOCX
Cognito Unified API Specification
PPTX
Dev Analytics Aggregate DB Design Analysis
PPTX
Logical Architecture for Protection
PPTX
Index Provisioning for ALM Search - My Presentation
PPTX
ALM Search Presentation for the VSS Arch Council
Bing Phone Book Service Arch Spec
Cognito Unified API Specification
Dev Analytics Aggregate DB Design Analysis
Logical Architecture for Protection
Index Provisioning for ALM Search - My Presentation
ALM Search Presentation for the VSS Arch Council

Dev Analytics Overview

  • 2. Agenda • Functional overview • Demo • Architecture overview
  • 3. Developer Portal Per app report App Tile App summary Adoption Downloads In-app purchases Usage Ratings Quality Finance Per Developer report Financial summary Store report Explore Store trends Developer Analytics – Sitemap This is an aggregation of downloads, ratings, quality, finance, purchases and in-app purchases report to give an overview of all the metrics useful to the developer. This is an summary of downloads, purchases, in-app purchases, usage metrics It also shows Discovery metrics – App discovery/conversion funnel and app’s web listing page’s web referrers distribution
  • 4. Developer Analytics – Partner dependency Fundamental Telemetry 5R – RnR DSP Telemetry Downloads In-app purchases Usage Quality Ratings and Reviews Finance Financial Summary Adoption page Explore Store trends Page views + Conversion funnel Primes PFDb – PartnerFeedDb (Aggregation) BI Cube (Copy to FEs) Telemetry Cube (Copy + Stability feed generation) RnR BCP Feed (Aggregation) ComTransactionDb (Aggregation)
  • 7. Architecture overview • Component Grouping • Copy, Validate & Publish SSAS Cube • Extract and Load with basic processing • Extract, Transform and Load • Data Mining for Store Trends • Workitem Framework Block Diagram
  • 8. Architecture overview – Cube PAS • Copy, Validate & Publish SSAS Cube • Input – Cube backup • Processing • Restore cube backup on BE • Validate Schema • Publish • Restore new cube to Passive instance • PAS - Passive Active Sync • Copy cube to passive instance of all FEs • Flip Passive to Active instance. Cube (Backup) DCS Pipeline DLS Pipeline Temp Storage Cube SSAS PAS Pipeline Telemetry Cube SSAS Cube SS AS FE Cube SSAS Telemetry Cube SSAS Cube SS AS FE Cube SSAS Passive Active FE Portal
  • 9. Architecture overview – Basic ETL • Extract and Load with basic processing • Input – Raw data • Processing • Validate Schema of raw data • Filter unwanted data • Remove duplicate entries • Load • Re-process SSAS Cube and Publish to FE using PAS • Copy processed data to FE DB FE Portal Staging DB DWHProcessing Cube SSAS PAS Pipeline Store Cube SSAS Store Cube SSAS FE Cube SSAS Feed Data Feed Pipeline App Store Analytics DB App Store Analytics DB FE DB DPS Pipeline
  • 10. Architecture overview – ETL • Extract, Transform and Load • Input – Raw data • Processing • Data Fetch • Validate Schema of raw data • Filter unwanted data • Remove duplicate entries • Data normalization • Data Processing – Data Aggregation • Load • Copy processed data to FE DB FE Portal Staging DB DWH Feed Data Feed Pipeline App Store Analytics DB App Store Analytics DB FE DB Data Move Processing Source DB Data Fetcher
  • 11. Architecture overview - Mining • Data Mining • Input – Acquisition data • Processing • Data Fetch • Validate Schema of raw data • Filter unwanted data • Remove duplicate entries • Data normalization • Data Processing • Data Preparation – Data Filtering, Data Sampling, Data Discretization • Data Mining • Output • Mining Rules i.e. Observed data trends FE Portal DWH App Store Analytics DB App Store Analytics DB Rules DB Data Preparator Source DB Data Fetcher Sampled Data Store Data Mining
  • 12. Architecture overview • Workitem Framework DB Based Workitem Queue Workitem Generator1 WI Type 1 State 1 WI Type 1 State 2 WI Type 4 State 10 Workitem Generator2 WI Processor Type 1 State 1 WI Processor Type 4 State 10 WI Processor Type 1 State 2 WI Processor Type 4 State 10
  • 13. Architecture overview Partner Feed DB RnR Feed ComTxn Feed DevAnalytics Staging DB MiningDWH DB MiningDWH DBMiningDWH DB Sampled Data Store Sampled Data Store Data Fetcher WIFx Data Feed Pipeline Data Fetcher WIFx Mining Data Preparator WIFx Mining Data Miner – WIFx, SSAS Data Aggregator WIFx Move Data to FE WIFx Data Feed Pipeline Payout Cube SSAS Telemetry Cube DCS Pipeline DLS PipelineTemp Storage Telemetry Cube SSAS PAS Pipeline Telemetry Cube SSAS A. Te le m Telemetry Cube SSAS Manual Cert DB Data Feed Pipeline Certification Reporting DB Mining Rules DB Mining Rules DB Mining Rules DB DevAnalyticsFE DB DevAnalyticsFE DBDevAnalyticsFE DB Analytics Staging DB Analytics DWH Load DWH SSIS Store Cube SSAS PAS Pipeline Store Cube SSAS Store Cube SSAS Store Cube SSAS App Catalog Feed Data Feed Pipeline Control DB Data Fetch Workitem Generator Data Mining Workitem Generator Aggregation Workitem Generator Settelment Feed CP Feed ForEx Feed App Store Analytics DB App Store Analytics DB App Store Analytics DB DPS Pipeline Tracking DB Currency Conversion Tracking DB Dev Portal Dev Portal Dev Portal Dev Portal Mining Rules DB Mining Rules DB Onboarding DB Stability Score Pipeline Stability Score Feed Data Feed Pipeline BI Cube DCS Pipeline DLS Pipeline BI Cube SSAS PAS Pipeline Telemet ry Cube SSAS Tele m e BI Cube SSAS
  • 14. Architecture overview – Cube PAS Telemetry Cube DCS Pipeline DLS Pipeline Temp Storage Telemetry Cube SSAS PAS Pipeline Telemetry Cube SSAS Telem etr y Cu be SS AS Telemetry Cube SSAS Stability Score Pipeline Stability Score Feed BI Cube DCS Pipeline DLS Pipeline BI Cube SSAS PAS Pipeline Telemetr y Cube SSAS Tele m e t r y C u b e S S A S BI Cube SSAS
  • 15. Architecture overview – Cube PAS Fundamental Telemetry 5R – RnR DSP Telemetry Downloads In-app purchases Usage Quality Ratings and Reviews Finance Finance Summary Adoption page Explore Store trends Page views + Conversion funnel Primes + CP + CTP PFDb -- PartnerFeedDb BI Cube Telemetry Cube RnR BCP Feed ComTransactionDb
  • 16. Architecture overview ComTxn Feed Data Feed Pipeline Payout Cube SSAS Analytics Staging DB Analytics DWH Load DWH SSIS Store Cube SSAS PAS Pipeline Store Cube SSAS Store Cube SSAS Store Cube SSASSettelment Feed CP Feed ForEx Feed App Store Analytics DB App Store Analytics DB App Store Analytics DB DPS Pipeline Currency Conversion Data Feed Pipeline
  • 17. Architecture overview Fundamental Telemetry 5R – RnR DSP Telemetry Downloads In-app purchases Usage Quality Ratings and Reviews Finance Finance Summary Adoption page Explore Store trends Page views + Conversion funnel Primes PFDb – PartnerFeedDb (Aggregation) BI Cube (Copy to FEs) Telemetry Cube (Copy + Stability feed generation) RnR BCP Feed (Aggregation) ComTransactionDb (Aggregation)
  • 18. Architecture overview – Aggregate DB and Mining Partner Feed DB RnR Feed DevAnalytics Staging DB MiningDWH DB MiningDWH DBMiningDWH DB Sampled Data Store Sampled Data Store Data Fetcher WIFx Data Feed Pipeline Data Fetcher WIFx Mining Data Preparator WIFx Mining Data Miner – WIFx, SSAS Data Aggregator WIFx Move Data to FE WIFx Manual Cert DB Data Feed Pipeline Mining Rules DB Mining Rules DB Mining Rules DB DevAnalyticsFE DB DevAnalyticsFE DB DevAnalyticsFE DB App Catalog Feed Data Feed Pipeline Control DB Data Fetch Workitem Generator Data Mining Workitem Generator Aggregation Workitem Generator Tracking DBTracking DB
  • 19. Architecture overview – Aggregate DB and Mining Fundamental Telemetry 5R – RnR DSP Telemetry Downloads In-app purchases Usage Quality Ratings and Reviews Finance Finance Summary Adoption page Explore Store trends Page views + Conversion funnel Primes PFDb – PartnerFeedDb (Aggregation) BI Cube (Copy to FEs) Telemetry Cube (Copy + Stability feed generation) RnR BCP Feed (Aggregation) ComTransactionDb (Aggregation)
  • 20. Architecture overview – Front End Block Diagram ReportDefinitions.xml CubeQueries.xml DbQueries.xml Report Manager Cube DAL DB DAL DataAccessService DAL Interface DeveloperAnalytics Controller (MVC) Highcharts Agg DB BI Cube DevAnalyticsFE DB TransactionDB DAL Mining Rules API Agg DB App Store Analytics DB Telemetry Cube Store Cube
  • 21. Architecture overview Heading Heading Component + Physical Architecture for Dev Analytics for Windows BlueComponent + Physical Architecture for Dev Analytics for Windows Blue Sources Store(Ratings/ Review as bcp) 5/8 MB, 1/12 hrs 50 MB/Day 7MB/Day10 GB, 1/Day Partner Feed(Acquisitions, Page Referrals, Conversions) 2GB/Day Manual Cert DB Telemetry(Quality, Usage as a cube) DSP Telemetry aka BET (Acquisitions, Conversion, Referrers as a cube) Upgrade Model: FE is meant to be active even when BE is down. WebStore Layer is updated first. BE Layer components next. FE components last. V (N) FE components must work with V(N+1) pipelines. Availability : 3 way replication for FE stores . Replication Load prevents addition of a new DC. BE is Active/Passive. Procedure to do failover is not tested or captured as a runbook. Scalability : FE scale model is based on data replication. BE scale model is adhoc. Portal WebStore/SQL Local Caching(for metadata) Internal Partners Only Certification Reporting DB FE Layer(Active/Active))FE Layer(Active/Active)) DS2DS1 Backend Layer(Active/Passive)Backend Layer(Active/Passive) Mining DWH DB(partition 0) Data Fetcher WIFx(Partner Feed DB) Dev Analytics Staging DB Control DB Mining DWH DB (partition 1) Mining Data Preparator WIFx Data Feed Pipeline(RNR, Manual Cert, App Catalogue) Data Aggregator WIFx PS1 Data Fetcher WIFx(Partner Feed DB) Data Fetcher WIFx(Dev Analytics Staging DB) Mining Data Preparator WIFx Sampled Data Store(partiti on 0) Sampled Data Store Data Miner WIFx PS2 Sampled Data Store(partiti on 1) Data Miner WIFx Tx Catalog (Finance, as bcp) 300MB/Day 7MB/Day SSAS Cube Analytics BE CubeAnalytics Pipeline BE Backend LayerBackend Layer Analytics Staging DB Analytics DWH DB Store Cube Telemetry Cube Store BI Cube BET DCS DLS PAS DCS DLS PAS DCS DLS PAS Mining WI Monitoring WIFx Mining Data Preparator WIFx DC1 Payout Cube Frontend Cube ServerFrontend Cube Server Telemetry Cube Store Cube Store BI Cube Frontend Cube ServerFrontend Cube Server Telemetry Cube Store Cube Store BI Cube Frontend Cube ServerFrontend Cube Server Telemetry Cube Store Cube Store BI Cube Frontend DB Server App Store Analytics DB Dev Analytics FE DB Mining Rules DB Onboarding DB Frontend DB Server App Store Analytics DB Dev Analytics FE DB Mining Rules DB Onboarding DB Stability Score Feed
  • 22. Architecture overview – Front End Cube Per DC
  • 23. Architecture overview – Front End DB Per DC
  • 24. Architecture overview – Back End Cube
  • 25. Architecture overview – BE DWH & Processing (Pri DC)
  • 26. Architecture overview – BE DWH & Processing (Sec DC)
  • 28. Developer Analytics – Quality/Usage details • Usage metric & Reliability rates • Sampled data. • CEIP applies. Minimum 15 minute usage threshold to be sampled. • Max 1000 machines per sample. Random sampling. • Latency: 5 days • Metric computed for 3 day periods • Quality page – Top limitations • Triage dumps with only call stacks. • Un-sampled data. (CEIP applies) • Latency: 6 days
  • 29. Developer Analytics – Finance page details

Editor's Notes

  • #21: All Dev. Analytics pages are instances of Reports and each report is rendered as per its report definition. A report definition includes all information to define the layout and look and feel of the report (ex. filters applicable, types of charts, chart layout, color scheme etc.). All report definitions are maintained in ReportDefinition.xml. ReportDefinition.xml contains other definitions too (ex. localizable dimensions, mining price tiers etc.) all of which get used during report generation or rendering. The Report Manager module loads and provides access to the report definitions. Within each report, there could be multiple filters and charts present. Each chart and data driven filters (non-static filters) are rendered by firing a query against a data source (Cube / DB). Each such query is associated with a unique id (per data source) and is referred to in the ReportDefinition.xml to define the data source and query id for the chart / filter. For Aggregated DB, the queries are stored procedures and the query id to stored procedure mapping is maintained in DBQueries.xml. For cubes, both query definitions and the query id to query definitions mapping are maintained in CubeQueries.xml. Since Dev. Analytics pages render information from multiple sources (Cube / DB), a uniform access mechanism is provided through the DataAccessService layer. DataAccessService (DAS) layer creates an appropriate DAL class instance which in turn queries the data source and returns the data. The respective DAL interfaces create the query (for cube only) and query the underlying data source to return data. Analytics FE follows an MVC pattern. Typical request response flow is as follows: Client makes a web request (which contains Product Guid and other information) for a full page load Controller verifies product to developer association It get requested report’s definition and asks DAS to return the data for rendering filters DAS accesses DAL instance which queries the data source and returns data The returned data is used to populate the view models and a view is returned to the client The view upon loading makes AJAX calls to get and render chart data Again, controller gets requested report’s definition and asks DAS to return the data for rendering for rendering charts The returned data is used to populate the view models and a view is returned which is rendered on the client. When user applies some filters, client makes an AJAX call to get filtered data Controller receives filter request, gets requested report’s definition and asks DAS to return the data for rendering for rendering charts