Skip to content

Instantly share code, notes, and snippets.

@ugurelveren
Created June 24, 2024 04:58
Show Gist options
  • Save ugurelveren/b3956b856970da9492c8bf1542914dee to your computer and use it in GitHub Desktop.
Save ugurelveren/b3956b856970da9492c8bf1542914dee to your computer and use it in GitHub Desktop.
saga orchestration
graph TD
    ClientRequest[Client Request] --> Orchestrator[Orchestrator]
    Orchestrator --> ServiceA[Service A]
    ServiceA --> Orchestrator
    Orchestrator --> ServiceB[Service B]
    ServiceB --> Orchestrator
    Orchestrator --> ServiceC[Service C]
    ServiceC --> Orchestrator

    classDef client fill:#bbdefb,stroke:#333,stroke-width:2px;
    classDef orchestrator fill:#ffe0b2,stroke:#333,stroke-width:2px;
    classDef service fill:#c8e6c9,stroke:#333,stroke-width:2px;

    class ClientRequest client;
    class Orchestrator orchestrator;
    class ServiceA,ServiceB,ServiceC service;

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment