User:ProbablePrime/Sandbox: Difference between revisions

From Resonite Wiki
No edit summary
No edit summary
 
Line 2: Line 2:


{{#mermaid:sequenceDiagram
{{#mermaid:sequenceDiagram
participant Alice
participant Client
participant Bob
participant API
participant Prime
participant Relay
  Alice->John: Hello John, how are you?
participant Session Host
  loop Healthcheck
 
      John->John: Fight against hypochondria
    autonumber
  end
 
  Note right of John: Rational thoughts <br/>prevail...
    Client->>API: What relays are available? (api.resonite.com/networknodes)
     John-->Alice: Great!
 
     John->Bob: How about you?
    destroy API
     Bob-->John: Jolly good!
    API-->>Client: Here's a list of relays
     John-->Prime: Cheese!
   
    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