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

Reduce amount of wasted work on the server side #6

Open
jotelha opened this issue Mar 10, 2022 · 0 comments
Open

Reduce amount of wasted work on the server side #6

jotelha opened this issue Mar 10, 2022 · 0 comments

Comments

@jotelha
Copy link
Member

jotelha commented Mar 10, 2022

9ca9021 results in an immense amount of wasted work on the server side in case of many objects in a dataset.

Possible solutions:

  • Again only look out for certain objects. Without any guarantee of the order objects are written and reported via notifications, this bears the risk of missing out datasets.
  • Instead of trying to register the dataset for every object, queue all notifications for a dataset and only try to register a certain grace period after the last notification for a specific dataset has arrived. This could be realized by a simple per-(UUID, base URI) timer that starts running at the first notification for a specific (UUID, base URI), is reset for every notification for the same (UUID, base URI), and triggers a registration attempt after no other notification for this (UUID, base URI) tuple has been received for a couple of seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant