User:ProbablePrime/Sandbox: Difference between revisions

From Resonite Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{#mermaid:sequenceDiagram
{{#mermaid:sequenceDiagram
participant Alice
participant Client
participant Bob
participant API
  Alice->John: Hello John, how are you?
participant Relay
  loop Healthcheck
participant Session Host
      John->John: Fight against hypochondria
 
  end
    autonumber
  Note right of John: Rational thoughts <br/>prevail...
 
     John-->Alice: Great!
    Client->>API: What relays are available? (api.resonite.com/networknodes)
     John->Bob: How about you?
 
     Bob-->John: Jolly good!
    destroy API
    API-->>Client: Here's a list of relays
   
    Client-->Client: Select the best relay based on ping and other stats
 
   
    Client->>Relay: Connect to best relay
    activate Relay
    activate Client
    activate Session Host
     Relay->>Session Host: Connect to session h~ost
 
     Note over Client,Session Host: LNL messages relayed asycronously
    autonumber off
    Session Host->>Relay: LNL traffic
     Client->>Relay: LNL traffic
   
    deactivate Client
    deactivate Relay
    deactivate Session Host
}}
}}

Latest revision as of 04:27, 16 February 2024