Home > Docs > Diagrams > Architecture Overview
๐๏ธ Architecture Overview Diagram¶
Last Updated: 2026-04-15 | Version: 2.0 Status: โ Final | Maintainer: Documentation Team
๐ Table of Contents¶
- ๐๏ธ High-Level Architecture
- ๐ฐ Data Flow - Slot Telemetry
- โก Real-Time Architecture
- ๐ Compliance Data Flow
- ๐ Security & Governance
- ๐ Deployment Architecture
- ๐ค Machine Learning Pipeline
- ๐ ๏ธ How to Use These Diagrams
๐๏ธ High-Level Architecture¶
This diagram shows the complete data flow from source systems through the medallion architecture to analytics.
flowchart TB
subgraph Sources["๐ฐ Data Sources"]
SAS["๐ฐ Slot Machines<br/>SAS Protocol"]
TG["๐ Table Games<br/>RFID/Terminals"]
LMS["๐ค Loyalty System"]
CAGE["๐ฐ Cage Operations"]
SEC["๐ Security/Surveillance"]
COMP["๐ Compliance Systems"]
end
subgraph Ingestion["๐ฅ Ingestion Layer"]
ES["โก Eventstreams<br/>Real-Time"]
DF["๐ Dataflows Gen2<br/>Batch"]
PIPE["๐ง Data Pipelines"]
end
subgraph Fabric["โ๏ธ Microsoft Fabric"]
subgraph Bronze["๐ฅ Bronze Layer"]
B_SLOT[bronze_slot_telemetry]
B_TABLE[bronze_table_games]
B_PLAYER[bronze_player_profile]
B_FIN[bronze_financial_txn]
B_SEC[bronze_security_events]
B_COMP[bronze_compliance]
end
subgraph Silver["๐ฅ Silver Layer"]
S_SLOT[silver_slot_cleansed]
S_TABLE[silver_table_enriched]
S_PLAYER[silver_player_master]
S_FIN[silver_financial_reconciled]
S_SEC[silver_security_enriched]
S_COMP[silver_compliance_validated]
end
subgraph Gold["๐ฅ Gold Layer"]
G_SLOT[gold_slot_performance]
G_TABLE[gold_table_analytics]
G_PLAYER[gold_player_360]
G_FIN[gold_financial_summary]
G_SEC[gold_security_dashboard]
G_COMP[gold_compliance_reporting]
end
subgraph Analytics["๐ Analytics"]
DL["๐ Direct Lake<br/>Semantic Model"]
PBI["๐ Power BI<br/>Reports"]
RTD["โฑ๏ธ Real-Time<br/>Dashboards"]
end
end
subgraph Governance["๐ก๏ธ Governance"]
PV["Microsoft Purview"]
end
Sources --> Ingestion
Ingestion --> Bronze
Bronze --> Silver
Silver --> Gold
Gold --> Analytics
Fabric --> Governance
style Bronze fill:#CD7F32,color:#000
style Silver fill:#C0C0C0,color:#000
style Gold fill:#FFD700,color:#000 โน๏ธ Note: The medallion architecture (Bronze > Silver > Gold) provides progressive data refinement with clear separation of concerns.
๐ฐ Data Flow - Slot Telemetry¶
This diagram illustrates the complete journey of slot machine data through all layers.
flowchart LR
subgraph Source["๐ฐ Slot Machine"]
SM["SAS Protocol<br/>Events"]
end
subgraph Bronze["๐ฅ Bronze Layer"]
B1["๐ฅ Raw Events"]
B2["๐ท๏ธ Add Metadata"]
B3[("bronze_slot_telemetry")]
end
subgraph Silver["๐ฅ Silver Layer"]
S1["โ
Schema Validation"]
S2["๐ Data Quality"]
S3["๐ Deduplication"]
S4[("silver_slot_cleansed")]
end
subgraph Gold["๐ฅ Gold Layer"]
G1["๐ Daily Aggregation"]
G2["๐ KPI Calculation"]
G3[("gold_slot_performance")]
end
subgraph BI["๐ Analytics"]
PBI["Power BI Dashboard"]
end
SM --> B1 --> B2 --> B3
B3 --> S1 --> S2 --> S3 --> S4
S4 --> G1 --> G2 --> G3
G3 --> PBI
style Bronze fill:#CD7F32,color:#000
style Silver fill:#C0C0C0,color:#000
style Gold fill:#FFD700,color:#000 Transformation Summary¶
| Layer | Transformations | Output |
|---|---|---|
| ๐ฅ Bronze | Add metadata (_ingested_at, _source_file) | Raw events preserved |
| ๐ฅ Silver | Validate schema, deduplicate, quality checks | Cleansed records |
| ๐ฅ Gold | Aggregate to machine/day, calculate KPIs | Performance metrics |
โก Real-Time Architecture¶
This diagram shows the real-time data ingestion and processing flow for live floor monitoring.
flowchart TB
subgraph Sources["๐ก Real-Time Sources"]
SLOT["๐ฐ Slot Machines"]
CAGE["๐ฐ Cage Terminals"]
SEC["๐ Security Cameras"]
end
subgraph Streaming["โก Streaming Ingestion"]
EH["Event Hub"]
ES["Eventstream"]
end
subgraph RealTime["๐ Real-Time Intelligence"]
EH_DB[("Eventhouse<br/>KQL Database")]
KQL["KQL Queries"]
ALERT["๐ Alerts"]
end
subgraph Dashboard["๐บ Dashboards"]
RT_DASH["Real-Time<br/>Dashboard"]
FLOOR["๐ฅ๏ธ Floor Monitor"]
end
Sources --> Streaming
Streaming --> RealTime
RealTime --> Dashboard
ALERT -->|"๐ฐ Jackpot > $10K"| FLOOR
ALERT -->|"โ ๏ธ Machine Down"| FLOOR
ALERT -->|"๐จ Security Alert"| FLOOR Alert Configuration¶
| Alert Type | Condition | Action |
|---|---|---|
| ๐ฐ Jackpot Alert | Amount >= $10,000 | Notify floor manager |
| โ ๏ธ Machine Down | No events > 5 min | Create maintenance ticket |
| ๐จ Security Alert | Anomaly detected | Alert security team |
๐ Compliance Data Flow¶
This diagram shows how financial transactions are monitored for regulatory compliance.
flowchart LR
subgraph Transactions["๐ฐ Financial Transactions"]
TXN["Cage Transaction"]
end
subgraph Detection["๐ Detection Logic"]
CTR{"Amount >= $10K?"}
STRUCT{"Structuring<br/>Pattern?"}
JACK{"Jackpot >= $1,200?"}
end
subgraph Filings["๐ Compliance Filings"]
CTR_FILE["๐ CTR Filing"]
SAR_FILE["๐จ SAR Filing"]
W2G_FILE["๐ W-2G Filing"]
end
subgraph Reporting["๐๏ธ Reporting"]
FINCEN["FinCEN"]
IRS["IRS"]
end
TXN --> CTR
TXN --> STRUCT
TXN --> JACK
CTR -->|"Yes"| CTR_FILE
STRUCT -->|"Yes"| SAR_FILE
JACK -->|"Yes"| W2G_FILE
CTR_FILE --> FINCEN
SAR_FILE --> FINCEN
W2G_FILE --> IRS Regulatory Thresholds¶
| Report | Threshold | Deadline | Regulatory Body |
|---|---|---|---|
| ๐ CTR | $10,000+ cash | 15 days | FinCEN |
| ๐จ SAR | Suspicious pattern | 30 days | FinCEN |
| ๐ W-2G | $1,200+ (slots), $600+ (keno) | At payout | IRS |
โ ๏ธ Warning: Failure to file required reports can result in significant penalties. Ensure automated detection is validated regularly.
๐ Security & Governance¶
This diagram illustrates the security and governance framework.
flowchart TB
subgraph Access["๐ Access Control"]
AAD["Entra ID"]
RBAC["Role-Based Access"]
RLS["Row-Level Security"]
end
subgraph Data["๐ Data Protection"]
ENC["๐ Encryption"]
MASK["๐ญ Data Masking"]
AUDIT["๐ Audit Logging"]
end
subgraph Governance["๐ก๏ธ Data Governance"]
PV["Microsoft Purview"]
CAT["๐ Data Catalog"]
LIN["๐ Data Lineage"]
CLASS["๐ท๏ธ Classifications"]
end
subgraph Compliance["๐ Compliance"]
NIGC["๐ฐ NIGC MICS"]
BSA["๐ฐ BSA/AML"]
PCI["๐ณ PCI-DSS"]
end
AAD --> RBAC --> RLS
Data --> Governance
Governance --> Compliance Security Controls Matrix¶
| Layer | Controls | Tools |
|---|---|---|
| ๐ Identity | SSO, MFA, Conditional Access | Microsoft Entra ID |
| ๐ Data | Encryption, Masking, Tokenization | Key Vault, Purview |
| ๐ Audit | Activity logs, Access logs | Log Analytics |
| ๐ Compliance | Policy enforcement, Reporting | Purview, Custom |
๐ Deployment Architecture¶
This diagram shows the CI/CD pipeline and infrastructure deployment flow.
flowchart TB
subgraph GitHub["๐ GitHub Repository"]
CODE["๐ Source Code"]
BICEP["๐ง Bicep IaC"]
ACTIONS["โ๏ธ GitHub Actions"]
end
subgraph Azure["โ๏ธ Azure"]
subgraph Resources["๐ฆ Azure Resources"]
FAB["๐ฃ Fabric Capacity<br/>F64"]
PV["๐ก๏ธ Purview"]
ADLS["๐พ ADLS Gen2"]
KV["๐ Key Vault"]
LOG["๐ Log Analytics"]
end
subgraph Network["๐ Networking"]
VNET["Virtual Network"]
PE["Private Endpoints"]
end
end
CODE --> ACTIONS
BICEP --> ACTIONS
ACTIONS -->|"๐ Deploy"| Resources
Resources --> Network Deployment Environments¶
| Environment | SKU | Auto-pause | Private Endpoints |
|---|---|---|---|
| ๐ง Development | F2/F4 | Yes | Optional |
| ๐งช Staging | F16/F32 | Yes | Recommended |
| ๐ญ Production | F64+ | No | Required |
๐ค Machine Learning Pipeline¶
This diagram shows the ML workflow for player analytics and predictions.
flowchart LR
subgraph Data["๐ Data Preparation"]
GOLD["๐ฅ Gold Layer"]
FEAT["๐ง Feature Engineering"]
end
subgraph Training["๐ฏ Model Training"]
SPLIT["๐ Train/Test Split"]
TRAIN["๐ค Model Training"]
EVAL["๐ Evaluation"]
end
subgraph MLOps["โ๏ธ MLOps"]
MLFLOW["๐ฆ MLflow Registry"]
VERSION["๐ท๏ธ Model Versioning"]
end
subgraph Inference["๐ฎ Inference"]
BATCH["๐ฅ Batch Scoring"]
SCORES["๐ Predictions"]
end
GOLD --> FEAT --> SPLIT
SPLIT --> TRAIN --> EVAL
EVAL --> MLFLOW --> VERSION
VERSION --> BATCH --> SCORES ML Use Cases¶
| Use Case | Model Type | Input Features | Output |
|---|---|---|---|
| ๐ฏ Player Churn | Classification | Activity, spend, tenure | Churn probability |
| ๐ฐ LTV Prediction | Regression | Historical spend, frequency | Lifetime value |
| ๐ Offer Response | Classification | Player profile, history | Response likelihood |
| ๐จ Fraud Detection | Anomaly | Transaction patterns | Risk score |
๐ ๏ธ How to Use These Diagrams¶
In Documentation¶
Copy Mermaid code blocks into any markdown renderer that supports Mermaid:
- GitHub (native support)
- GitLab (native support)
- VS Code (with Mermaid extension)
- Notion (with code blocks)
In Power BI¶
- Export diagrams as PNG/SVG from Mermaid Live Editor
- Embed images in Power BI reports
- Use for documentation pages
In Presentations¶
- Open Mermaid Live Editor
- Paste diagram code
- Export as PNG or SVG
- Import into PowerPoint/Google Slides
In Purview¶
Reference these diagrams for lineage documentation in Microsoft Purview data catalog.
๐ง Diagram Tools¶
| Tool | Description | Link |
|---|---|---|
| Mermaid Live Editor | Online editor and export | mermaid.live |
| VS Code Extension | Preview in editor | Marketplace |
| GitHub | Native rendering | Blog Post |
๐ Related Documents¶
| Document | Description |
|---|---|
| Architecture | Full architecture documentation |
| Deployment Guide | Infrastructure deployment |
| Security Guide | Security controls |
| Cost Breakdown | Cost analysis diagrams |
| Data Dictionary | Table schemas and field definitions |