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 reliable server->client broadcast, with ack? #419

Open
ptaoussanis opened this issue Feb 23, 2023 · 0 comments
Open

Add reliable server->client broadcast, with ack? #419

ptaoussanis opened this issue Feb 23, 2023 · 0 comments

Comments

@ptaoussanis
Copy link
Member

ptaoussanis commented Feb 23, 2023

Might be nice to add (optional?) reliability mechanism to server->uid broadcasts:

  • Mod clients to (auto) acknowledge receipt of broadcasts.
  • Mod server to retry broadcast to clients that haven't ack'ed receipt within some timeout.
  • Broadcast fn could maybe take opts (for timeout, retries, etc.) and cb fn to ultimately be informed of the number of clients that successfully ack'ed receipt?

This would cooperate (be in addition to) #420.

#423 may be a dependency.

Wouldn't be too difficult to add this, might consider for Sente v1.19.
Please 👍 if something like this would be desirable for your use case.

@ptaoussanis ptaoussanis changed the title Consider: reliable server->client broadcast, with ack Add reliable server->client broadcast, with ack? Feb 28, 2023
@ptaoussanis ptaoussanis added this to the v1.19 milestone Feb 28, 2023
@ptaoussanis ptaoussanis removed this from the v1.20 milestone Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant