Replace s2s join sequence diagram for legibility (#3603)

Without the vertical lines it's a bit difficult to parse. A different tool was used to generate the graph this time.
pull/3609/head
Travis Ralston 3 years ago committed by GitHub
parent 48d8f7202d
commit afc5298f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -678,22 +678,49 @@ candidate may be used at each time. Thus, any join handshake can
potentially involve anywhere from two to four homeservers, though most potentially involve anywhere from two to four homeservers, though most
in practice will use just two. in practice will use just two.
``` <!--
Client Joining Directory Resident https://textart.io/sequence
Server Server Server
object Client JoiningServer DirectoryServer ResidentServer
Client->JoiningServer: join request
JoiningServer->DirectoryServer: directory request
DirectoryServer->JoiningServer: directory response
JoiningServer->ResidentServer: make_join request
ResidentServer->JoiningServer: make_join response
JoiningServer->ResidentServer: send_join request
ResidentServer->JoiningServer: send_join response
JoiningServer->Client: join response
-->
join request --> ```
| +---------+ +---------------+ +-----------------+ +-----------------+
directory request -------> | Client | | JoiningServer | | DirectoryServer | | ResidentServer |
<---------- directory response +---------+ +---------------+ +-----------------+ +-----------------+
| | | | |
make_join request -----------------------> | join request | | |
<------------------------------- make_join response |---------------------->| | |
| | | | |
send_join request -----------------------> | | directory request | |
<------------------------------- send_join response | |---------------------------->| |
| | | | |
<---------- join response | | directory response | |
| |<----------------------------| |
| | | |
| | make_join request | |
| |------------------------------------------------>|
| | | |
| | |make_join response |
| |<------------------------------------------------|
| | | |
| | send_join request | |
| |------------------------------------------------>|
| | | |
| | |send_join response |
| |<------------------------------------------------|
| | | |
| join response | | |
|<----------------------| | |
| | | |
``` ```
The first part of the handshake usually involves using the directory The first part of the handshake usually involves using the directory

Loading…
Cancel
Save