-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Problem / Description
Provide off-the-shelf end-to-end reliability feature that developer can use to ensure all participants in group chats or channels have the same set of messages.
Solution
Easy to use Scalable Data Sync (SDS, e2e reliability) wrapper, that includes:
- store queries upon connection to store nodes
- store queries to retrieve missing messages
Notes
Dogfooding example: https://chat.fryorcraken.xyz https://github.com/fryorcraken/retro-chat
Limitations, in order of priority for later implementation:
- Does not handle irretrievably lost messages: Will be needed to ensure that a participant that comes mid-conversation can participant in acknowledgements
- Does a flat message retry mechanism, and does not emit any event when giving up. Back-off and event emission would be better.
- Does not implement sds-repair for message retrieval without store.
- Does not include local storage of messages.
- Try to return message id from
sendand see if it works to setup listeners straight after.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done