Update design_overview.md

This commit is contained in:
Pierre Balzack 2024-03-22 13:51:04 -07:00 committed by GitHub
parent acc57fe67a
commit 21ed521559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,10 @@ Databag hopes to break the technological barrier by supporting consumer electron
Within the Databag system, clients connect to nodes with both a websocket and a REST API. The websocket is used to communicate events while the REST API transfers the content. The nodes also communicate events between each other over a notification connection. However, importantly no content is synchronized between nodes.
<div align="center">
<a href="#"><img src="/doc/overview_fig1.png" width="50%" style="border-radius:50%"></a>
</div>
When a subject posts data that is shared with another contact to the subjects node:
1. Subjects node receives the data from the subjects client over the REST API.
2. Subjects node notifies the contacts node over the Notification Endpoint.