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

Improve responder component #61

Open
7 tasks
oubiwann opened this issue Feb 10, 2019 · 0 comments
Open
7 tasks

Improve responder component #61

oubiwann opened this issue Feb 10, 2019 · 0 comments
Labels
Milestone

Comments

@oubiwann
Copy link
Member

This component responds to the events published by the watcher component. It will dispatch specific functions upon published event type/s, but with controls/limits appropriate for computationally expensive or time-consuming handlers. This is delay/batching mechanism is intended to prevent handler execution floods, keep rapid-fire changes from bogging down the system.

The first half of this work was done in 0.6.0 (see #49)

The following tasks remain:

  • Add timeout-tracking capability
    • Defining a countdown protocol
    • Define countdown behaviour functions
    • Extend the component to use the protocol and behaviour
    • Implement state tracking with async go loop
  • Add channel logic to fire after the countdown (timeout) has completed
  • If an additional request is received before during the countdown and be fore the firing of the handler, re-do the countdown -- only fire the handler if no new events have made a request during the countdown (timeout) window
@oubiwann oubiwann added this to the 0.7.0 milestone Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant