# suraez/laughing-octo-sniffle architecture

> Architecture diagram of the GitHub repository suraez/laughing-octo-sniffle, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-02-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/suraez/laughing-octo-sniffle
- Repository: https://github.com/suraez/laughing-octo-sniffle

## Overview

- Invocation requests → Function Applications
- Function output → Response
- Monitoring data → Analysis storage

- Deployment scripts → Function Applications
- Runtime config → Function deployment
- Monitoring scripts → Memory/performance data

##### External Integration Points (Gray Hexagons)
- Azure Functions Runtime
- Storage Services
- Monitoring Services

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Styles and classes
    classDef java fill:#b3d9ff,stroke:#333
    classDef nodejs fill:#99ff99,stroke:#333
    classDef python fill:#ffb366,stroke:#333
    classDef monitoring fill:#c2f0c2,stroke:#333
    classDef management fill:#ffcc99,stroke:#333
    classDef external fill:#e6e6e6,stroke:#333
    classDef storage fill:#d9b3ff,stroke:#333

    %% External Services
    ExternalServices{"External Services"}:::external
    AzureFunctions{"Azure Functions Runtime"}:::external
    StorageServices{"Storage Services"}:::external

    %% Main Layers
    subgraph Functions["Function Applications Layer"]
        %% Java Functions
        subgraph JavaFuncs["Java Data Functions"]
            DataGroup["Data Group"]:::java
            DataLoad["Data Load"]:::java
            DataQuery["Data Query"]:::java
            DataScan["Data Scan"]:::java
            DataTransform["Data Transform"]:::java
        end

        %% Node.js Functions
        subgraph NodeFuncs["Node.js Functions"]
            AutoComplete["Auto Complete"]:::nodejs
            DynamicHTML["Dynamic HTML"]:::nodejs
            ImageSizing["Image Sizing"]:::nodejs
            OCRImage["OCR Image"]:::nodejs
            Thumbnailer["Thumbnailer"]:::nodejs
            Uploader["Uploader"]:::nodejs
        end

        %% Python Functions
        subgraph PythonFuncs["Python Functions"]
            DNAViz["DNA Visualization"]:::python
            FileComp["File Compression"]:::python
            GraphBFS["Graph BFS"]:::python
            GraphMST["Graph MST"]:::python
            PageRank["PageRank"]:::python
            VideoProc["Video Processing"]:::python
            Markdown["Markdown"]:::python
            Sentiment["Sentiment Analysis"]:::python
        end
    end

    %% Monitoring Layer
    subgraph Monitoring["Monitoring & Analysis Layer"]
        InvocData["Invocation Dataset"]:::monitoring
        MemMonitor["Memory Monitoring"]:::monitoring
        ActStorage["Activation Storage"]:::monitoring
    end

    %% Management Layer
    subgraph Management["Deployment & Management Layer"]
        Deploy["Function Deployment"]:::management
        Invoke["Function Invocation"]:::management
        RuntimeConfig["Runtime Configuration"]:::management
    end

    %% High Memory Benchmarks
    subgraph HighMem["High Memory Benchmarks"]
        DeepLearning["Deep Learning Inference"]:::external
        ImgProc["Image Processing"]:::external
        ImgRes["Image Resolution"]:::external
        ImgUpscale["Image Upscaling"]:::external
        MemAlloc["Memory Allocator"]:::external
        VidProc["Video Processing"]:::external
    end

    %% Relationships
    ExternalServices --> Functions
    Functions --> AzureFunctions
    Functions --> StorageServices
    Monitoring --> Functions
    Management --> Functions
    HighMem --> Monitoring

    %% Click events
    click DataGroup "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/java_data_group/"
    click DataLoad "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/java_data_load/"
    click DataQuery "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/java_data_query/"
    click DataScan "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/java_data_scan/"
    click DataTransform "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/java_data_transform/"
    
    click AutoComplete "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/nodejs_auto_complete/"
    click DynamicHTML "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/nodejs_dynamic_html/"
    click ImageSizing "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/nodejs_image_sizing/"
    click OCRImage "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/nodejs_ocr_image/"
    click Thumbnailer "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/nodejs_thumbnailer/"
    click Uploader "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/nodejs_uploader/"
    
    click DNAViz "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_dna_visualization/"
    click FileComp "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_file_compression/"
    click GraphBFS "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_graph_bfs/"
    click GraphMST "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_graph_mst/"
    click PageRank "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_graph_pagerank/"
    click VideoProc "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_video_processing/"
    click Markdown "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_markdown/"
    click Sentiment "https://github.com/Suraez/laughing-octo-sniffle/tree/main/applications/python_sentiment_analysis/"
    
    click InvocData "https://github.com/Suraez/laughing-octo-sniffle/tree/main/invocation_dataset/"
    click MemMonitor "https://github.com/Suraez/laughing-octo-sniffle/blob/main/scripts/monitor_memory.sh"
    click ActStorage "https://github.com/Suraez/laughing-octo-sniffle/blob/main/activations.csv"
    
    click Deploy "https://github.com/Suraez/laughing-octo-sniffle/blob/main/applications/deploy_functions.sh"
    click Invoke "https://github.com/Suraez/laughing-octo-sniffle/blob/main/scripts/invoke_functions.sh"
    
    click DeepLearning "https://github.com/Suraez/laughing-octo-sniffle/tree/main/high-mem-func-benchmarks/deep-learning-inference/"
    click ImgProc "https://github.com/Suraez/laughing-octo-sniffle/tree/main/high-mem-func-benchmarks/image-processing/"
    click ImgRes "https://github.com/Suraez/laughing-octo-sniffle/tree/main/high-mem-func-benchmarks/image-resolution/"
    click ImgUpscale "https://github.com/Suraez/laughing-octo-sniffle/tree/main/high-mem-func-benchmarks/image-upscaling/"
    click MemAlloc "https://github.com/Suraez/laughing-octo-sniffle/tree/main/high-mem-func-benchmarks/memory-allocator/"
    click VidProc "https://github.com/Suraez/laughing-octo-sniffle/tree/main/high-mem-func-benchmarks/video-processing/"
```
