Skip to content

Home > Docs > Diagrams > Architecture Overview

๐Ÿ—๏ธ Architecture Overview Diagram

Last Updated: 2026-04-15 | Version: 2.0 Status: โœ… Final | Maintainer: Documentation Team

Category Status Platform


๐Ÿ“‘ Table of Contents


๐Ÿ›๏ธ 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

  1. Export diagrams as PNG/SVG from Mermaid Live Editor
  2. Embed images in Power BI reports
  3. Use for documentation pages

In Presentations

  1. Open Mermaid Live Editor
  2. Paste diagram code
  3. Export as PNG or SVG
  4. 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

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

โฌ†๏ธ Back to Top | ๐Ÿ“š Parent | ๐Ÿ  Home