start diagram for federation hyperswarm

This commit is contained in:
Claus-Peter Hübner 2022-03-25 01:46:55 +01:00
parent 0a70b09bf7
commit c2d3f5232d
2 changed files with 26 additions and 0 deletions

View File

@ -28,3 +28,7 @@ The Variant A with an internal server contains the benefit to be as independent
The Varaint B with an external server contains the benefit to reduce the implementation efforts and the responsibility for an own ActivitPub-Server. But it will cause an additional dependency to a third party service provider and the growing hosting costs.
## HyperSwarm
The decision to switch from ActivityPub to HyperSwarm base on the arguments, that the *hyperswarm/dht* library will satify the most federation requirements out of the box. It is now to design the business requirements of the [gradido community communication](../BusinessRequirements/CommunityVerwaltung.md#UC-createCommunity) in a technical conception.
At first the following diagramm shows the pure logical handshake between an existing community-A and a new created community-B and the data exchange for buildup an authenticated relationship.

View File

@ -0,0 +1,22 @@
<mxfile host="65bd71144e">
<diagram id="jqy9GLoHfEna4h-l2pXZ" name="Seite-1">
<mxGraphModel dx="1074" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="2336" pageHeight="1654" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="&lt;div&gt;&lt;span&gt;existing Community-A&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- uuidA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- publickeyA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- privatekeyA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- urlA&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=14;align=left;fillColor=#d5e8d4;strokeColor=#82b366;gradientColor=#97d077;" vertex="1" parent="1">
<mxGeometry x="80" y="40" width="280" height="160" as="geometry"/>
</mxCell>
<mxCell id="3" value="dht-node" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="200" y="100" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="4" value="&lt;div&gt;&lt;span&gt;new Community-B&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- uuidB&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- publickeyB&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- privatekeyB&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;- urlB&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=14;align=left;fillColor=#dae8fc;strokeColor=#6c8ebf;gradientColor=#7ea6e0;" vertex="1" parent="1">
<mxGeometry x="640" y="40" width="280" height="160" as="geometry"/>
</mxCell>
<mxCell id="5" value="dht-node" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#0050ef;fontColor=#ffffff;strokeColor=#001DBC;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="760" y="100" width="150" height="80" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>