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

WASM functions #84

Open
soamvasani opened this issue Jul 11, 2019 · 2 comments
Open

WASM functions #84

soamvasani opened this issue Jul 11, 2019 · 2 comments
Labels
feature-request Request for new features in

Comments

@soamvasani
Copy link
Member

Fission should add wasm as an environment runtime. This will allow multiple unrelated functions to be loaded into the same container. This will reduce cold-start times by a couple orders of magnitude. It will also allow each function invocation to be isolated from all other function invocations (a property you don't get today because we have to run multiple invocations of the same function within the same container).

Fastly open sourced lucet, an open source project compiler + runtime. This should give us pretty much everything we need, the remaining work is to write a thing that glues the compiler and runtime into our environment interface.

The compilation would go: {rust,c,AssemblyScript} -> wasm -> loadable binary. The loadable binary would get loaded and run by the lucent runtime.

@life1347
Copy link
Member

life1347 commented Jul 12, 2019

Would you mind saying more about This will allow multiple unrelated functions to be loaded into the same container. ?

I'm a bit confused for the meaning of functions here, is that means 1) multiple fission functions
or 2) functions write in languages that support WASM and bundle them into one fission function?

If it's 1, how can achieve that? with multiple specializations?
If it's 2, how will builder work to build multiple lang functions into WASM?

@sanketsudake sanketsudake transferred this issue from fission/fission May 27, 2021
@sanketsudake sanketsudake added the feature-request Request for new features in label Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features in
Projects
None yet
Development

No branches or pull requests

3 participants