Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "data-host" to peer roles in chat-db #1328

Open
drunkplato opened this issue Apr 5, 2023 · 1 comment
Open

Add "data-host" to peer roles in chat-db #1328

drunkplato opened this issue Apr 5, 2023 · 1 comment
Assignees
Labels
2:medium-priority chat Realm chat or chat db related

Comments

@drunkplato
Copy link
Contributor

Details

There will be some cases where a ship will be down who is the regular host of a chat. Instead of having it just stop working, we should be able to elect members of our chat as data-hosts who will also mirror the "source of truth" that the host provides. We may need to use solid state subs for this or we can find a mechanism to implement it efficiently ourselves.

@drunkplato drunkplato added 2:medium-priority chat Realm chat or chat db related labels Apr 5, 2023
@Tenari
Copy link
Contributor

Tenari commented Apr 7, 2023

well, each member of a chat keeps their own record of the chat. so the only thing that having the %host be down would actually affect is like invitations, host-only actions like changing the max-expires-at-duration and backlog dumps when new members join.
it's still worth having a mechanism for handling these things, but it's not like chat stops working just because one ship goes down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2:medium-priority chat Realm chat or chat db related
Projects
None yet
Development

No branches or pull requests

2 participants