Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 901 Bytes

File metadata and controls

45 lines (33 loc) · 901 Bytes

Simple Workflow Architecture

This diagram visualizes a simple workflow with HTTP and messaging components.

Simple Workflow Engine

graph TD
    subgraph HTTPWorkflow["HTTP Workflow"]
        HS["HTTP Server (:8080)"] --> HR["HTTP Router"]
    end

    AM["Auth Middleware"]

    HR --> AM

    subgraph Services["Services"]
        US["User Service"]
    end

    AM -->|GET /api/users| US
    HR -->|GET /health| US

    subgraph MessagingWorkflow["Messaging Workflow"]
        MB["Message Broker"]
        NS["Notification Service"]
        MB --> NS
    end

    US --> MB
Loading

Request Flow

This shows how a request flows through the system.

graph LR
    CR["Client Request"] --> HS["HTTP Server"]
    HS --> HR["HTTP Router"]
    HR --> AM["Auth Middleware"]
    AM --> US["User Service"]
    US --> MB["Message Broker"]
    MB --> NS["Notification Service"]
Loading