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 a "monitor for silence"-style timeout to (geographic) gatherer #86

Open
gerritholl opened this issue Apr 28, 2021 · 0 comments · May be fixed by #89
Open

Add a "monitor for silence"-style timeout to (geographic) gatherer #86

gerritholl opened this issue Apr 28, 2021 · 0 comments · May be fixed by #89

Comments

@gerritholl
Copy link
Contributor

The (geographic) gatherer currently has a timeout option that is measured relative to the latest expected granule. This is useful, but not for all situations. Consider:

Current situation

Consider a granule duration of 180 seconds, a timeliness of 5 minutes, for a certain area:

  • [10:03] Granule covering 10:00 - 10:03 arrives. Gatherer expects 10:00-10:03, 10:03-10:06, 10:06-10:09, 10:09-10:12, 10:12-10:15, 10:15-10:18.
  • [10:06] Granule covering 10:03 - 10:06 arrives.
  • Nothing happens.
  • [10:23] Timeout detected, gatherer sends message covering 10:00-10:06, with data that are 17-23 minutes old.

Desirable situation

With a „monitor for silence“ set to 7 minutes:

  • [10:03] Granule covering 10:00 - 10:03 arrives. Gatherer expects 10:00-10:03, 10:03-10:06, 10:06-10:09, 10:09-10:12, 10:12-10:15, 10:15-10:18.
  • [10:06] Granule covering 10:03 - 10:06 arrives.
  • Nothing happens.
  • [10:13] Silence detected, gatherer sends message covering 10:00-10:06, with data that are 7-13 minutes old.

The monitor for silence would bring the data to the users 10 minutes faster.

There is a tradeoff between fast and comprehensive, but that is up to the user to decide.

@mraspaud mraspaud changed the title Add a „monitor for silence“-style timeout to (geographic) gatherer Add a "monitor for silence"-style timeout to (geographic) gatherer Apr 30, 2021
@gerritholl gerritholl added this to To do in PCW Spring 2021 May 17, 2021
@gerritholl gerritholl linked a pull request May 21, 2021 that will close this issue
3 tasks
@gerritholl gerritholl removed this from To do in PCW Spring 2021 May 21, 2021
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

Successfully merging a pull request may close this issue.

1 participant