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

Feature request: Rolling Window Batching #410

Open
yarncraft opened this issue Mar 18, 2020 · 3 comments
Open

Feature request: Rolling Window Batching #410

yarncraft opened this issue Mar 18, 2020 · 3 comments

Comments

@yarncraft
Copy link

It would be great to have the option to aggregate incoming messages on a rolling window of fixed size. (https://github.com/asecurityteam/rolling)

@Jeffail
Copy link
Collaborator

Jeffail commented Mar 18, 2020

Hey @yarncraft, sounds interesting. It could make sense to implement this as some sort of general purpose buffer type, which would emit discrete windows as a batch.

@yarncraft
Copy link
Author

Hey @yarncraft, sounds interesting. It could make sense to implement this as some sort of general purpose buffer type, which would emit discrete windows as a batch.

Exactly, we're planning to use Benthos in streams mode at our IoT company. It has proven to be very useful and flexible to work with so far. The rolling window mode could be of use for certain analytics use cases such as anomaly detection etc.

@Jeffail
Copy link
Collaborator

Jeffail commented Sep 9, 2021

Hey @yarncraft, I forgot to update this issue but there's now a window buffer to try out: https://www.benthos.dev/docs/components/buffers/system_window, it works off the system clock but if it goes well I'll eventually add more options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants