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

New wasm transform #1802

Closed
binarylogic opened this issue Feb 15, 2020 · 7 comments · Fixed by #2006
Closed

New wasm transform #1802

binarylogic opened this issue Feb 15, 2020 · 7 comments · Fixed by #2006
Assignees
Labels
domain: transforms Anything related to Vector's transform components needs: approval Needs review & approval before work can begin. needs: requirements Needs a a list of requirements before work can be begin type: feature A value-adding code addition that introduce new functionality.

Comments

@binarylogic
Copy link
Contributor

binarylogic commented Feb 15, 2020

A transform that would support the web assembly runtime allowing users to program transforms in a variety of languages.

This issue definitely needs more discussion before beginning work, but I wanted to get something in place.

@binarylogic binarylogic added type: new feature needs: approval Needs review & approval before work can begin. needs: requirements Needs a a list of requirements before work can be begin domain: transforms Anything related to Vector's transform components labels Feb 15, 2020
@Hoverbear
Copy link
Contributor

I feel like this is more than a transform.

If we're going to go through the effort of including and defining bindings to a WASM runtime, we should consider making it a full blown 'plugin system'.

@lukesteensen
Copy link
Member

Agreed, I think there's a whole spectrum of abilities we could unlock with wasm. That being said, transforms are likely the simplest to get started with.

@Hoverbear Hoverbear self-assigned this Feb 27, 2020
@Hoverbear
Copy link
Contributor

Since I'm exploring the WASM related topic I'll assign this to me.

@yarncraft
Copy link

Working at an IoT company, I really endorse the idea of being able to write transformers in a wide spectrum of languages! Leveraging WASM this way would certainly increase Vector's adoption rate 👍

@Hoverbear
Copy link
Contributor

@yarncraft Did you have any use cases we might want to consider in our designs? :)

@yarncraft
Copy link

@yarncraft Did you have any use cases we might want to consider in our designs? :)

Being able to write functional stream processing pipelines in languages such as Rust, Go or Javascript/Typescript (https://github.com/cujojs/most) would be great to start with since it gives more flexibility when working with JSON messages. We also need solutions that implement (or give the ability to implement) rolling windows etc.

@yarncraft
Copy link

A second use case of WASM would be to have the ability to train ML models on streaming batches and use them for prediction purposes. (https://juggernaut.rs/demo/)

@Hoverbear Hoverbear linked a pull request Mar 23, 2020 that will close this issue
6 tasks
@binarylogic binarylogic added type: feature A value-adding code addition that introduce new functionality. and removed type: new feature labels Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: transforms Anything related to Vector's transform components needs: approval Needs review & approval before work can begin. needs: requirements Needs a a list of requirements before work can be begin type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants