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

(sync) Reliable event subscriptions or hooks for documents #1494

Open
Tracked by #1490
Frando opened this issue Sep 19, 2023 · 0 comments
Open
Tracked by #1490

(sync) Reliable event subscriptions or hooks for documents #1494

Frando opened this issue Sep 19, 2023 · 0 comments
Labels
_c-iroh-legacy Formerly big iroh node with all protocols _c-iroh-sync

Comments

@Frando
Copy link
Member

Frando commented Sep 19, 2023

Users will want to reliably react to document updates - eg to run compute or populate secondary indexes. We provide a event subscription API; however if this subscription is set up over the RPC or IPC this takes a few ticks, and thus may miss doc updates especially when the node is started.

We should look into either adding a hook feature or allowing to setup a catch-all subscription that can be created directly with node startup.

#1495 improves subscriptions a bit but they are still an async call away, so not reliable to catch all events.

@github-project-automation github-project-automation bot moved this to 📋 Backlog - unassigned issues in iroh Sep 19, 2023
@Frando Frando mentioned this issue Sep 18, 2023
29 tasks
@Frando Frando changed the title Reliable event subscriptions or hooks for documents (sync) Reliable event subscriptions or hooks for documents Sep 19, 2023
@ramfox ramfox added _c-iroh-legacy Formerly big iroh node with all protocols _c-iroh-sync labels Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_c-iroh-legacy Formerly big iroh node with all protocols _c-iroh-sync
Projects
Status: No status
Development

No branches or pull requests

2 participants