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

Smart Engine - Ability to pause/resume triggers to control incoming flow of events #226

Open
vijaynalawade opened this issue Oct 12, 2020 · 0 comments
Assignees

Comments

@vijaynalawade
Copy link
Contributor

Current behavior:
Today, engine will simply accept as many events as possible(Direct Runner) or block trigger go-routines when worker queue is full(Pooled Runner). This could lead to a performance issue or even loss of events due to resource constrains like CPU and Memory or blocked workers(Pooled runner). This might also lead to engine crash.
Expected behavior:
We need some policy based flow controllers who can control the incoming flow by temporarily pausing triggers and resuming them after certain low threshold is achieved.

What is the motivation / use case for changing the behavior?
This is useful in low resource environment like IoT.
Additional information you deem important (e.g. I need this tomorrow):

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

2 participants